mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
rsx: Fix vertex program compiler crash
This commit is contained in:
parent
9307abe7f5
commit
d4573e233a
|
|
@ -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…
Reference in a new issue