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:
parent
a9515d3530
commit
337360cdc6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user