[clang] [HLSL] Add a warning for implicit bindings (PR #135909)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 13:27:02 PDT 2025
================
@@ -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);
----------------
bogner wrote:
Yes, you're correct. I've updated the latest, though this is commented out now because we can't actually write this test until #135287 goes in
https://github.com/llvm/llvm-project/pull/135909
More information about the cfe-commits
mailing list