From b970b970f0df1ad2e78f43783ba2f1cb4ce14ede Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Thu, 12 Nov 2015 15:53:16 -0800 Subject: [PATCH] Removing another scalar component swap from #273. --- src/xenia/gpu/gl4/gl4_shader_translator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/gl4/gl4_shader_translator.cc b/src/xenia/gpu/gl4/gl4_shader_translator.cc index 8c2e86435..e460ff3cb 100644 --- a/src/xenia/gpu/gl4/gl4_shader_translator.cc +++ b/src/xenia/gpu/gl4/gl4_shader_translator.cc @@ -1051,7 +1051,7 @@ bool GL4ShaderTranslator::TranslateALU_SUBs(const ucode::instr_alu_t& alu) { AppendScalarOpSrcReg(alu, 3); Append(".x - "); AppendScalarOpSrcReg(alu, 3); - Append(".z"); + Append(".y"); EndAppendScalarOp(alu); return true; }