Mesa (master): mesa: enable geom shaders in OpenGL 3.2 Compat profile

Timothy Arceri tarceri at kemper.freedesktop.org
Thu May 3 02:09:24 UTC 2018


Module: Mesa
Branch: master
Commit: 58c05ede965614834577bbfa5854b59a168ae25e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58c05ede965614834577bbfa5854b59a168ae25e

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed May  2 19:55:59 2018 +1000

mesa: enable geom shaders in OpenGL 3.2 Compat profile

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/mapi/glapi/gen/apiexec.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py
index b5e0ad4a17..20d6239ba1 100644
--- a/src/mapi/glapi/gen/apiexec.py
+++ b/src/mapi/glapi/gen/apiexec.py
@@ -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.




More information about the mesa-commit mailing list