mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
glsl: Add gl_MaxVaryingComponents in GLSL 1.30.
This is the new name for gl_MaxVaryingFloats now that non-float varyings exist. Fixes piglit glsl-1.30/execution/maximums/gl_MaxVaryingFloats Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
3cc0a7be23
commit
2ecfa88548
1 changed files with 2 additions and 0 deletions
|
|
@ -615,6 +615,8 @@ generate_130_uniforms(exec_list *instructions,
|
|||
|
||||
add_builtin_constant(instructions, symtab, "gl_MaxClipDistances",
|
||||
state->Const.MaxClipPlanes);
|
||||
add_builtin_constant(instructions, symtab, "gl_MaxVaryingComponents",
|
||||
state->Const.MaxVaryingFloats);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue