rsx: Copypasta fix

- r1 is always float4 never half4. Its a full-width register unlike the
other outputs which are optionally half-width.
This commit is contained in:
kd-11 2019-10-23 00:41:30 +03:00 committed by kd-11
parent f1d474f932
commit e04b6cd7c0
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ std::string FragmentProgramDecompiler::BuildCode()
if (m_ctrl & CELL_GCM_SHADER_CONTROL_DEPTH_EXPORT)
{
// Hw tests show that the depth export register is default-initialized to 0 and not wpos.z!!
m_parr.AddParam(PF_PARAM_NONE, float4_type, "r1", init_value);
m_parr.AddParam(PF_PARAM_NONE, getFloatTypeName(4), "r1", init_value);
shader_is_valid = (!!temp_registers[1].h1_writes);
}