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

Xiang Li via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 11:32:56 PDT 2024


================
@@ -9,7 +9,7 @@ cbuffer A : register(b0, space2) {
 }
 
 // CHECK: @[[TB:.+]] = external constant { float, double }
-tbuffer A : register(t2, space1) {
+tbuffer A : register(b2, space1) {
----------------
python3kgae wrote:

This is tbuffer, it should use 't' instead of 'b'.

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


More information about the cfe-commits mailing list