We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40906a4 commit 4df46ecCopy full SHA for 4df46ec
Graphics/ShaderTools/src/DXCompiler.cpp
@@ -1381,7 +1381,12 @@ void DXCompilerImpl::PatchResourceDeclaration(const TResourceBindingMap& Resourc
1381
// undef, !"", i32 -1,
1382
// ^
1383
const size_t BindingRecordStart = pos + 1;
1384
- VERIFY_EXPR(DXIL[BindingRecordStart] == ',');
+ if (DXIL[BindingRecordStart] != ',')
1385
+ {
1386
+ // This is not a resource declaration record, continue searching.
1387
+ pos = BindingRecordStart;
1388
+ continue;
1389
+ }
1390
1391
// Parse resource class.
1392
pos = DXIL.rfind(ResourceRecStart, EndOfResTypeRecord);
0 commit comments