mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Fix interpreter
This commit is contained in:
parent
ef65c47592
commit
e66d6a9399
2 changed files with 8 additions and 2 deletions
|
@ -127,12 +127,15 @@ namespace gl
|
|||
ParamArray arr;
|
||||
GLVertexDecompilerThread comp(null_prog, shader_str, arr);
|
||||
|
||||
ParamType uniforms = { PF_PARAM_UNIFORM, "vec4" };
|
||||
uniforms.items.emplace_back("vc[468]", -1);
|
||||
|
||||
std::stringstream builder;
|
||||
comp.insertHeader(builder);
|
||||
|
||||
builder << "#define Z_NEGATIVE_ONE_TO_ONE\n\n";
|
||||
|
||||
comp.insertConstants(builder, {});
|
||||
comp.insertConstants(builder, { uniforms });
|
||||
comp.insertInputs(builder, {});
|
||||
|
||||
// Insert vp stream input
|
||||
|
|
|
@ -24,9 +24,12 @@ namespace vk
|
|||
VKVertexProgram vk_prog;
|
||||
VKVertexDecompilerThread comp(null_prog, shader_str, arr, vk_prog);
|
||||
|
||||
ParamType uniforms = { PF_PARAM_UNIFORM, "vec4" };
|
||||
uniforms.items.emplace_back("vc[468]", -1);
|
||||
|
||||
std::stringstream builder;
|
||||
comp.insertHeader(builder);
|
||||
comp.insertConstants(builder, {});
|
||||
comp.insertConstants(builder, { uniforms });
|
||||
comp.insertInputs(builder, {});
|
||||
|
||||
// Insert vp stream input
|
||||
|
|
Loading…
Add table
Reference in a new issue