Re: [Mesa-dev] [PATCH v2 08/18] mesa: Generate a helper function for each extension

2015-11-11 Thread Chad Versace
On Fri 30 Oct 2015, Nanley Chery wrote: > From: Nanley Chery > > Generate functions which determine if an extension is supported in the > current context. Initially, enums were going to be explicitly used with > _mesa_extension_supported(). The idea to embed the function and enums > into generate

Re: [Mesa-dev] [PATCH v2 08/18] mesa: Generate a helper function for each extension

2015-11-11 Thread Chad Versace
On Fri 30 Oct 2015, Nanley Chery wrote: > From: Nanley Chery > > Generate functions which determine if an extension is supported in the > current context. Initially, enums were going to be explicitly used with > _mesa_extension_supported(). The idea to embed the function and enums > into generate

[Mesa-dev] [PATCH v2 08/18] mesa: Generate a helper function for each extension

2015-10-30 Thread Nanley Chery
From: Nanley Chery Generate functions which determine if an extension is supported in the current context. Initially, enums were going to be explicitly used with _mesa_extension_supported(). The idea to embed the function and enums into generated helper functions was suggested by Kristian Høgsber