Skip to content

Commit eeffded

Browse files
author
joaosaffran
committed
addressing PR comments
1 parent cb0780b commit eeffded

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/DirectX/DXILRootSignature.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ static bool verifyRegisterValue(uint32_t RegisterValue) {
234234
return RegisterValue != ~0U;
235235
}
236236

237+
// This Range is reserverved, therefore invalid, according to the spec
238+
// https://github.com/llvm/wg-hlsl/blob/main/proposals/0002-root-signature-in-clang.md#all-the-values-should-be-legal
237239
static bool verifyRegisterSpace(uint32_t RegisterSpace) {
238240
return !(RegisterSpace >= 0xFFFFFFF0 && RegisterSpace <= 0xFFFFFFFF);
239241
}

0 commit comments

Comments
 (0)