mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-12 10:25:12 -06:00
rsx: Fix vertex program compiler crash
This commit is contained in:
parent
cb5ec006c4
commit
4982bcd2a9
@ -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