[llvm-branch-commits] [clang] [llvm] [HLSL] Allow resource annotations to specify only register space (PR #135287)
Helena Kotas via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 23 14:02:04 PDT 2025
================
@@ -4723,20 +4723,25 @@ def HLSLResourceBinding: InheritableAttr {
private:
RegisterType RegType;
- unsigned SlotNumber;
+ int SlotNumber; // -1 if the register slot was not specified
----------------
hekota wrote:
Good catch! DXC actually ignores the register `u4294967295` and uses `u0` instead, but that is a bug. :) We should support the whole `uint32_t` range.
https://github.com/llvm/llvm-project/pull/135287
More information about the llvm-branch-commits
mailing list