D3D12: Fixed shader patching.
This commit is contained in:
parent
03e84603e8
commit
cfba15778e
@ -2536,6 +2536,10 @@ data.NumQualityLevels = 0;
|
||||
{
|
||||
operand.regIndex[1] += cast.offset;
|
||||
}
|
||||
else if (DxbcOperandAddrMode::RegImm32 == operand.addrMode[1])
|
||||
{
|
||||
operand.regIndex[1] += cast.offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user