[Mesa-dev] [PATCH 2/3] glsl: add AMD_vertex_shader_layer support
Jordan Justen
jljusten at gmail.com
Fri May 10 15:08:23 PDT 2013
On Wed, May 1, 2013 at 10:10 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On 05/01/2013 09:25 PM, Jordan Justen wrote:
>> On Wed, May 1, 2013 at 9:13 PM, Matt Turner <mattst88 at gmail.com> wrote:
>>> On Wed, May 1, 2013 at 8:41 PM, Jordan Justen <jljusten at gmail.com> wrote:
>>>> On Tue, Apr 30, 2013 at 10:01 AM, Jordan Justen <jljusten at gmail.com>
>>>> wrote:
>>>>> On Tue, Apr 30, 2013 at 9:57 AM, Ian Romanick <idr at freedesktop.org>
>>>>> wrote:
>>>>>> On 04/27/2013 04:32 PM, Jordan Justen wrote:
>>>>>>> This GLSL extension requires that AMD_vertex_shader_layer be
>>>>>>> enabled by the driver.
>>>>>>
>>>>>> Most (all?) extensions also add a preprocessor define. Can you poke
>>>>>> at
>>>>>> AMD's driver to see if GL_AMD_vertex_shader_layer is defined? If so,
>>>>>> then
>>>>>> we need to add it too.
>>>>>
>>>>> Unfortunately, I don't have an AMD card.
>>>>>
>>>>> Anuj tried my piglit test with his AMD card, and found the extension
>>>>> wasn't available.
>>>>
>>>> Anuj updated his driver, and now the extension is available.
>>>>
>>>> Is this series r-b you pending resolution of the define issue?
>>>
>>> His question about the preprocessor definition is still unanswered, as
>>> far as I can tell.
>>
>> "pending resolution" meant I'd figure out what the AMD driver is
>> doing, and follow that.
>
> All modern extensions are supposed to have a #define...they probably just
> forgot. We should just do it anyway, even if they don't.
Anuj and I checked one version of the AMD driver with this extension.
Unfortunately, they don't have the #define.
I contacted the spec author, and he said he would add the #define to the spec.
I think adding the #define is the best course action for Mesa even
though it doesn't currently match the spec or AMD's driver. I'll push
it with that added.
-Jordan
More information about the mesa-dev
mailing list