[llvm] [SPIRV] Add reads from image buffer for shaders. (PR #115178)
Steven Perron via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 06:47:59 PST 2024
================
@@ -1005,6 +1011,13 @@ void addOpAccessChainReqs(const MachineInstr &Instr,
}
}
+static bool imageTypeHasUnknownFormat(SPIRVType *TypeInst) {
+ if (TypeInst->getOpcode() != SPIRV::OpTypeImage)
----------------
s-perron wrote:
I don't want too many asserts. I renamed to `isImageWithUnknownFormat`.
https://github.com/llvm/llvm-project/pull/115178
More information about the llvm-commits
mailing list