mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
rsx: Fix vertex program compiler crash
This commit is contained in:
parent
9307abe7f5
commit
d4573e233a
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ std::string VertexProgramDecompiler::BuildCode()
|
||||||
{
|
{
|
||||||
const auto i = offset++;
|
const auto i = offset++;
|
||||||
if (i == index) continue; // Replace with self
|
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
|
// One-time patch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue