[Mesa-dev] [PATCH v2 3/3] mesa: enable geom shaders in OpenGL 3.2 Compat profile

Timothy Arceri tarceri at itsqueeze.com
Thu May 3 02:05:25 UTC 2018


On 03/05/18 11:55, Ilia Mirkin wrote:
> On Wed, May 2, 2018 at 9:27 PM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
>> As far as I understand it apiexec.py came about because of the need to not
>> expose functionality in compat. Always setting compat to core would bi-pass
>> that getting us back to where we started.
> 
> Other way around - not exposing things in core that only belong in
> compat. (Like glTexEnvf, etc.) And similarly for ES.
> 

Ok fair enough, but it looks like it's used for both reasons these days. 
Changing it would enable features in compat that don't necessarily have 
all the compat pieces implemented. I'd rather we work through the list 
of features one at a time. Geometry shaders is a little special in that 
we enable it only starting with the GL version where it becomes a 
required extension.

e.g

commit 4e5efa9e7ddb6d5273996cf9b09677d918759d17
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue May 19 11:48:11 2015 -0700

     glapi: Make GL_ARB_direct_state_access functions exclusive to core 
profile


More information about the mesa-dev mailing list