================ @@ -34,6 +34,10 @@ RWBuffer<float> UAV1 : register(u2), UAV2 : register(u4); // CHECK: HLSLResourceBindingAttr {{.*}} "" "space5" RWBuffer<float> UAV3 : register(space5); +// CHECK: VarDecl {{.*}} UAV_Array 'RWBuffer<float>[10]' ---------------- bob80905 wrote:
Should we add a test case where HLSLVkBindingAttr already exists (I presume an explicit binding case), we check for HLSLVkBindingAttr, and check NOT that the new attr is added? https://github.com/llvm/llvm-project/pull/152452 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits