mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
rsx: Fix vertex program compiler crash
This commit is contained in:
parent
cb5ec006c4
commit
4982bcd2a9
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ std::string VertexProgramDecompiler::BuildCode()
|
|||
{
|
||||
const auto i = offset++;
|
||||
if (i == index) continue; // Replace with self
|
||||
reloc_table.emplace_back(fmt::format("vc[%d]", index), fmt::format("vc[%d]", i));
|
||||
reloc_table.emplace_back(fmt::format("_fetch_constant(%d)", index), fmt::format("_fetch_constant(%d)", i));
|
||||
}
|
||||
|
||||
// One-time patch
|
||||
|
|
Loading…
Add table
Reference in a new issue