Reverting component changes from #273.
This commit is contained in:
parent
b6b685aa72
commit
e858f87e3e
|
@ -803,7 +803,7 @@ bool GL4ShaderTranslator::TranslateALU_ADDs(const ucode::instr_alu_t& alu) {
|
||||||
AppendScalarOpSrcReg(alu, 3);
|
AppendScalarOpSrcReg(alu, 3);
|
||||||
Append(".x + ");
|
Append(".x + ");
|
||||||
AppendScalarOpSrcReg(alu, 3);
|
AppendScalarOpSrcReg(alu, 3);
|
||||||
Append(".z");
|
Append(".y");
|
||||||
EndAppendScalarOp(alu);
|
EndAppendScalarOp(alu);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -822,7 +822,7 @@ bool GL4ShaderTranslator::TranslateALU_MULs(const ucode::instr_alu_t& alu) {
|
||||||
AppendScalarOpSrcReg(alu, 3);
|
AppendScalarOpSrcReg(alu, 3);
|
||||||
Append(".x * ");
|
Append(".x * ");
|
||||||
AppendScalarOpSrcReg(alu, 3);
|
AppendScalarOpSrcReg(alu, 3);
|
||||||
Append(".z");
|
Append(".y");
|
||||||
EndAppendScalarOp(alu);
|
EndAppendScalarOp(alu);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue