mirror of https://github.com/xemu-project/xemu.git
nv2a/glsl: Fix push constant range
This commit is contained in:
parent
8cc83dfc43
commit
41a4b3f2a3
|
@ -437,7 +437,7 @@ MString *pgraph_glsl_gen_vsh(const VshState *state, GenVshGlslOptions opts)
|
|||
mstring_append_fmt(output,
|
||||
"layout(push_constant) uniform PushConstants {\n"
|
||||
" vec4 inlineValue[%d];\n"
|
||||
"};\n\n", NV2A_VERTEXSHADER_ATTRIBUTES);
|
||||
"};\n\n", num_uniform_attrs);
|
||||
} else {
|
||||
mstring_append_fmt(uniforms, " vec4 inlineValue[%d];\n",
|
||||
NV2A_VERTEXSHADER_ATTRIBUTES);
|
||||
|
|
Loading…
Reference in New Issue