[clang] [llvm] Implement resource binding type prefix mismatch errors (PR #87578)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 18:41:18 PDT 2024


================
@@ -25,6 +25,7 @@ enum class ResourceClass : uint8_t {
   SRV = 0,
   UAV,
   CBuffer,
+  TBuffer,
----------------
bogner wrote:

I hadn't noticed this. Xiang's right, this isn't correct. See `CGHLSLRuntime::finishCodeGen` - a tbuffer is annotated with a resource class of `SRV` as you would expect.

https://github.com/llvm/llvm-project/pull/87578


More information about the llvm-commits mailing list