mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
rsx/vp: Properly initialize output registers.
- All registers tested on hw show contents to be 0, 0, 0, 1. Make default output registers match this pattern.
This commit is contained in:
parent
b88fb43acc
commit
7f09def94e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ std::string VertexProgramDecompiler::GetDST(bool is_sca)
|
|||
|
||||
const auto reg_type = getFloatTypeName(4);
|
||||
const auto reg_name = std::string("dst_reg") + std::to_string(d3.dst);
|
||||
const auto default_value = (d3.dst == 0 ? reg_type + "(0.0f, 0.0f, 0.0f, 1.0f)" : reg_type + "(0.0, 0.0, 0.0, 0.0)");
|
||||
const auto default_value = reg_type + "(0.0f, 0.0f, 0.0f, 1.0f)";
|
||||
ret += m_parr.AddParam(PF_PARAM_OUT, reg_type, reg_name, default_value) + mask;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue