rsx: Fix instancing constants lookup layout when running interpreter

This commit is contained in:
kd-11 2025-03-16 03:48:16 +03:00
parent bfb33aaeaa
commit 0240a033ea
2 changed files with 6 additions and 0 deletions

View file

@ -131,6 +131,9 @@ namespace gl
: 0;
GLVertexDecompilerThread comp(null_prog, shader_str, arr);
// Initialize compiler properties
comp.properties.has_indexed_constants = true;
ParamType uniforms = { PF_PARAM_UNIFORM, "vec4" };
uniforms.items.emplace_back("vc[468]", -1);

View file

@ -30,6 +30,9 @@ namespace vk
: 0;
VKVertexDecompilerThread comp(null_prog, shader_str, arr, vk_prog);
// Initialize compiler properties
comp.properties.has_indexed_constants = true;
ParamType uniforms = { PF_PARAM_UNIFORM, "vec4" };
uniforms.items.emplace_back("vc[468]", -1);