mesa: enable geom shaders in OpenGL 3.2 Compat profile
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 2 May 2018 09:55:59 +0000 (19:55 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 3 May 2018 02:08:21 +0000 (12:08 +1000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mapi/glapi/gen/apiexec.py

index b5e0ad4a179f91d8451a7ac77cbf3ba05c9aea09..20d6239ba145fde3bda722017aef2fee61a9f48a 100644 (file)
@@ -46,7 +46,6 @@ class exec_info():
         if compatibility is not None:
             assert isinstance(compatibility, int)
             assert compatibility >= 10
-            assert compatibility <= 30
 
         if core is not None:
             assert isinstance(core, int)
@@ -70,7 +69,7 @@ functions = {
     "TexBuffer": exec_info(compatibility=20, core=31, es2=31),
 
     # OpenGL 3.2 / GL_OES_geometry_shader.
-    "FramebufferTexture": exec_info(core=32, es2=31),
+    "FramebufferTexture": exec_info(compatibility=32, core=32, es2=31),
 
     # OpenGL 4.0 / GL_ARB_shader_subroutines. Mesa only exposes this
     # extension with core profile.