Skip to content

Commit bce1ef9

Browse files
committed
improve comment message
1 parent b42630a commit bce1ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ Error validateDescriptorTableRegisterOverflow(mcdxbc::DescriptorTable Table,
558558
uint64_t Offset = 0;
559559

560560
for (const mcdxbc::DescriptorRange &Range : Table.Ranges) {
561-
// Errors for this check should be emitted before this point.
561+
// Validation of NumDescriptors should have happened by this point.
562562
if (Range.NumDescriptors <= 0)
563563
continue;
564564
const dxil::ResourceClass &RangeType =

0 commit comments

Comments
 (0)