Reverting component changes from #273.

This commit is contained in:
Ben Vanik 2015-11-12 14:14:37 -08:00
parent b6b685aa72
commit e858f87e3e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }