From fd1230210857ff6776ea97908e0f8bcd1e527a61 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Wed, 31 Oct 2018 16:18:19 +0300 Subject: [PATCH] [D3D12] DXBC: Fix setp_inv output when the predicate is set --- src/xenia/gpu/dxbc_shader_translator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/dxbc_shader_translator.cc b/src/xenia/gpu/dxbc_shader_translator.cc index 7e308efe4..be6f0731a 100644 --- a/src/xenia/gpu/dxbc_shader_translator.cc +++ b/src/xenia/gpu/dxbc_shader_translator.cc @@ -11508,7 +11508,7 @@ void DxbcShaderTranslator::ProcessScalarAluInstruction( shader_code_.push_back(system_temp_ps_pc_p0_a0_); shader_code_.push_back( EncodeScalarOperand(D3D10_SB_OPERAND_TYPE_IMMEDIATE32, 0)); - shader_code_.push_back(0x3F800000); + shader_code_.push_back(0); shader_code_.push_back( EncodeVectorSelectOperand(D3D10_SB_OPERAND_TYPE_TEMP, 0, 1)); shader_code_.push_back(system_temp_ps_pc_p0_a0_);