Fixes uniform_buffer_object_implementation_dependent_limits in
es3conform.
---
 src/mesa/main/get_hash_params.py |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index 692c17a..9edeb9b 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -232,11 +232,7 @@ descriptor=[
 # GL_OES_point_sprite
   [ "POINT_SPRITE_NV", "CONTEXT_BOOL(Point.PointSprite), 
extra_NV_point_sprite_ARB_point_sprite" ],
 
-# GL_ARB_fragment_shader
-  [ "MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", 
"CONTEXT_INT(Const.FragmentProgram.MaxUniformComponents), 
extra_ARB_fragment_shader" ],
-
 # 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_texture_lod_bias
@@ -321,6 +317,9 @@ descriptor=[
 
 # Enums in  OpenGL and ES 3.0
 { "apis": ["GL", "GL_CORE", "GLES3"], "params": [
+# GL_ARB_fragment_shader
+  [ "MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB", 
"CONTEXT_INT(Const.FragmentProgram.MaxUniformComponents), 
extra_ARB_fragment_shader" ],
+
 # GL_ARB_framebuffer_object
   [ "MAX_SAMPLES", "CONTEXT_INT(Const.MaxSamples), 
extra_ARB_framebuffer_object_EXT_framebuffer_multisample" ],
 
@@ -343,6 +342,9 @@ descriptor=[
   [ "UNIFORM_BUFFER_OFFSET_ALIGNMENT", 
"CONTEXT_INT(Const.UniformBufferOffsetAlignment), 
extra_ARB_uniform_buffer_object" ],
   [ "UNIFORM_BUFFER_BINDING", "LOC_CUSTOM, TYPE_INT, 0, 
extra_ARB_uniform_buffer_object" ],
 
+# GL_ARB_vertex_shader
+  [ "MAX_VERTEX_UNIFORM_COMPONENTS_ARB", 
"CONTEXT_INT(Const.VertexProgram.MaxUniformComponents), 
extra_ARB_vertex_shader" ],
+
 # GL_EXT_pixel_buffer_object
   [ "PIXEL_PACK_BUFFER_BINDING_EXT", "LOC_CUSTOM, TYPE_INT, 0, 
extra_EXT_pixel_buffer_object" ],
   [ "PIXEL_UNPACK_BUFFER_BINDING_EXT", "LOC_CUSTOM, TYPE_INT, 0, 
extra_EXT_pixel_buffer_object" ],
-- 
1.7.8.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to