[D3D12] DXBC: Fix setp_inv output when the predicate is set

This commit is contained in:
Triang3l 2018-10-31 16:18:19 +03:00
parent de141e0ee3
commit fd12302108
1 changed files with 1 additions and 1 deletions

View File

@ -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_);