Skip to content

Commit ef6557f

Browse files
bognerinbelic
andauthored
Update clang/lib/Sema/SemaHLSL.cpp
Co-authored-by: Finn Plummer <[email protected]>
1 parent 6b4301e commit ef6557f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ bool SemaHLSL::handleRootSignatureElements(
13081308
} else if (const auto *Table =
13091309
std::get_if<llvm::hlsl::rootsig::DescriptorTable>(&Elem)) {
13101310
assert(UnboundClauses.size() == Table->NumClauses &&
1311-
"Wrong number of clauses in table?");
1311+
"Number of preceding table elements does not match the table's number of clauses");
13121312
for (const auto &[Clause, ClauseElem] : UnboundClauses) {
13131313
uint32_t LowerBound(Clause->Reg.Number);
13141314
// Relevant error will have already been reported above and needs to be

0 commit comments

Comments
 (0)