Fix indexed semantic name when semantic index is not zero

This commit is contained in:
anthark authored and Baldur Karlsson committed 2024-01-23 10:30:44 +00:00
1 parent 5bb66f67de
commit a55e82a0a2
1 file changed
+1 -1
@@ -1918,7 +1918,7 @@ DXBCContainer::DXBCContainer(const bytebuf &ByteCode, const rdcstr &debugInfoPat
for(uint32_t j = 0; j < sign->numElems; j++)
{
SigParameter &b = (*sig)[j];
if(i != j && a.semanticName == b.semanticName)
if(i != j && a.semanticName == b.semanticName || a.semanticIndex != 0)
{
a.needSemanticIndex = true;
break;