[Mesa-dev] [Mesa-stable] [PATCH] mesa/main: fix version/extension checks in _mesa_ClampColor

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 12 17:49:31 UTC 2017


On 12 January 2017 at 16:43, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 12.01.2017 17:39, Emil Velikov wrote:
>>
>> On 12 January 2017 at 09:55, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>>>
>>> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>>>
>>> Add a proper check for feature support, and raise an invalid enum for
>>> GL_CLAMP_VERTEX/FRAGMENT_COLOR unconditionally in core profiles, since
>>> those enums were explicitly removed after the extension was promoted
>>> to core functionality (not in the profile sense) with OpenGL 3.0.
>>>
>> Wouldn't it be better to simply not advertise the extension for Core
>> profiles ?
>
>
> :D
>
> I sent that patch for that around earlier this week ("st/mesa: remove
> ARB_color_buffer_float from core profile contexts", though I didn't think to
> put the stable tag), and Ilia wasn't too happy about that.
>
> Maybe you guys can fight it out? ;-)
>
It was just a drive-by suggestion. Feel free to ignore it.

Thanks
Emil


More information about the mesa-dev mailing list