From: Matt Turner Date: Fri, 8 Feb 2013 00:37:06 +0000 (-0800) Subject: mesa: Allow glGet* queries of MAX_VARYING_COMPONENTS in ES 3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ee602314fc22054f69ee476f2e1037653d269bc;p=mesa.git mesa: Allow glGet* queries of MAX_VARYING_COMPONENTS in ES 3 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 --- diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index b6bed809cf7..1b7d6ad8e7a 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