Fix indexed semantic name when semantic index is not zero

This commit is contained in:
anthark
2024-01-23 12:17:46 +03:00
committed by Baldur Karlsson
parent 5bb66f67de
commit a55e82a0a2
@@ -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;