Commit d90f04a6 authored by Marek Olšák's avatar Marek Olšák

glsl: fix the value of gl_MaxFragmentUniformVectors

NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent 77d8fbcf
......@@ -535,7 +535,7 @@ generate_common_ES_uniforms(exec_list *instructions,
add_builtin_constant(instructions, symtab, "gl_MaxTextureImageUnits",
add_builtin_constant(instructions, symtab, "gl_MaxFragmentUniformVectors",
state->Const.MaxFragmentUniformComponents / 4);
add_uniform(instructions, symtab, "gl_DepthRange",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment