1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[dxso] Handle multiplication by zero in TexM*Tex instructions

This commit is contained in:
Philip Rebohle 2021-09-14 15:36:58 +02:00 committed by Joshie
parent a9515d3530
commit 337360cdc6

View File

@ -2716,7 +2716,7 @@ void DxsoCompiler::emitControlFlowGenericLoop(
reg.id.num -= (count - 1) - i;
auto m = emitRegisterLoadTexcoord(reg, vec3Mask);
indices[i] = m_module.opDot(getScalarTypeId(DxsoScalarType::Float32), m.id, n.id);
indices[i] = emitDot(m, n).id;
}
if (opcode == DxsoOpcode::TexM3x3Spec || opcode == DxsoOpcode::TexM3x3VSpec) {