mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-24 11:28:36 -06: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 New Issue
Block a user