D3D12: Fixed shader patching.

This commit is contained in:
Branimir Karadžić 2018-01-10 16:38:21 -08:00
parent 03e84603e8
commit cfba15778e
2 changed files with 5 additions and 1 deletions

View File

@ -2536,6 +2536,10 @@ data.NumQualityLevels = 0;
{
operand.regIndex[1] += cast.offset;
}
else if (DxbcOperandAddrMode::RegImm32 == operand.addrMode[1])
{
operand.regIndex[1] += cast.offset;
}
}
}
}

View File

@ -1550,7 +1550,7 @@ namespace bgfx
, "%d + %s%d"
, operand.regIndex[jj]
, s_dxbcOperandType[operand.subOperand[jj].type]
, operand.regIndex[jj]
, operand.subOperand[jj].regIndex
);
break;