[Mesa-dev] [PATCH] mesa: Allow glGet* queries of MAX_VARYING_COMPONENTS in ES 3
Ian Romanick
idr at freedesktop.org
Thu Feb 7 17:20:37 PST 2013
On 02/07/2013 04:37 PM, Matt Turner wrote:
> Should have been done in d9948e49 but I missed it because
> MAX_VARYING_FLOATS doesn't appear in the ES 3 spec, but is the same
> value as MAX_VARYING_COMPONENTS.
>
> NOTE: Candidate for the 9.1 branch
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> src/mesa/main/get_hash_params.py | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
> index b6bed80..1b7d6ad 100644
> --- a/src/mesa/main/get_hash_params.py
> +++ b/src/mesa/main/get_hash_params.py
> @@ -225,9 +225,6 @@ descriptor=[
>
> # GL_OES_point_sprite
> [ "POINT_SPRITE_NV", "CONTEXT_BOOL(Point.PointSprite), extra_NV_point_sprite_ARB_point_sprite" ],
> -
> -# GL_ARB_vertex_shader
> - [ "MAX_VARYING_FLOATS_ARB", "LOC_CUSTOM, TYPE_INT, 0, extra_ARB_vertex_shader" ],
> ]},
>
>
> @@ -362,6 +359,7 @@ descriptor=[
>
> # GL_ARB_vertex_shader
> [ "MAX_VERTEX_UNIFORM_COMPONENTS_ARB", "CONTEXT_INT(Const.VertexProgram.MaxUniformComponents), extra_ARB_vertex_shader" ],
> + [ "MAX_VARYING_FLOATS_ARB", "LOC_CUSTOM, TYPE_INT, 0, extra_ARB_vertex_shader" ],
>
> # GL_EXT_framebuffer_blit
> # NOTE: GL_DRAW_FRAMEBUFFER_BINDING_EXT == GL_FRAMEBUFFER_BINDING_EXT
>
More information about the mesa-dev
mailing list