mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
rsx: Fix instancing constants lookup layout when running interpreter
This commit is contained in:
parent
5ae05e26c4
commit
aea1efd5f2
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue