mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a/glsl: Fix push constant range
This commit is contained in:
committed by
mborgerson
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);
|
||||
|
||||
Reference in New Issue
Block a user