DXIL Disassembly always show the Buffer index for Store operations

i.e.

bufOut[0] = {_18};
*(&bufOut[0] + 8 bytes) = {_35};
This commit is contained in:
Jake Turner
2024-06-07 13:25:58 +01:00
parent 9741bacc7b
commit e99e18e0d6
@@ -3399,8 +3399,7 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
uint32_t index;
if(getival(inst.args[2], index))
{
if((offset == 0) || (index > 0))
arrayStr += "[" + ToStr(index) + "]";
arrayStr += "[" + ToStr(index) + "]";
}
else
{