================
@@ -14,6 +14,12 @@ RWBuffer<int> c;
 // No warning - explicit binding.
 RWBuffer<float> d : register(u0);
 
+// No warning - explicit binding.
+RWBuffer<float> dd : register(space1);
----------------
bob80905 wrote:

Shouldn't there be a warning here?
Though the space param is being explicitly bound, the register number within 
that space is implicitly bound, no?

https://github.com/llvm/llvm-project/pull/135909
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to