mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
glsl ES: Fix magnitude of gl_MaxVertexUniformVectors.
Previously, we set it equal to MaxVertexUniformComponents. It should be MaxVertexUniformComponents / 4. NOTE: This is a candidate for the stable branches. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
06b38dbab2
commit
8f51d68f8c
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ generate_common_ES_uniforms(exec_list *instructions,
|
|||
add_builtin_constant(instructions, symtab, "gl_MaxVertexAttribs",
|
||||
state->Const.MaxVertexAttribs);
|
||||
add_builtin_constant(instructions, symtab, "gl_MaxVertexUniformVectors",
|
||||
state->Const.MaxVertexUniformComponents);
|
||||
state->Const.MaxVertexUniformComponents / 4);
|
||||
add_builtin_constant(instructions, symtab, "gl_MaxVertexTextureImageUnits",
|
||||
state->Const.MaxVertexTextureImageUnits);
|
||||
add_builtin_constant(instructions, symtab, "gl_MaxCombinedTextureImageUnits",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue