[Mesa-dev] [PATCH v2 2/2] i965 Gen6: Implement gl_ClipVertex.

Brian Paul brianp at vmware.com
Tue Oct 4 15:43:10 PDT 2011


On 10/04/2011 04:08 PM, Kenneth Graunke wrote:
> On 10/04/2011 12:20 PM, Ian Romanick wrote:
>> On 10/04/2011 10:49 AM, Paul Berry wrote:
>>> On 4 October 2011 10:32, Chad Versace<chad at chad-versace.us
>>> <mailto:chad at chad-versace.us>>  wrote:
>>>
>>>      -----BEGIN PGP SIGNED MESSAGE-----
>>>      Hash: SHA1
>>>
>>>      Overall, the patch looks good, but I'm going to take the bikeshed
>>> bait.
>>>
>>>      Symbols of form GLxxx and constants of form GL_XXX should be
>>>      reserved for
>>>      those defined in the GL headers. If I encountered the symbol
>>> GLclipplane
>>>      in Mesa, I would confidently, yet incorrectly, assume the symbol was
>>>      defined in some GL extension of which I was unaware.
>>
>> You mean like GLstencil and GLbitfield64? :)
>
> Yeah, we talked about GLbitfield64 the other day.  I read the email
> thread between you and Brian when adding it, and rationale seemed to be
> that "GL will probably need this and add it someday"...but Khronos is
> likely never going to add a convenience typedef for a deprecated feature. :)
>
> Never heard of GLstencil.

You'd find it with grep.  It'll go away one of these days.  It's used 
to store stencil values in some places related to software rendering 
and pixel transfer.

-Brian


More information about the mesa-dev mailing list