[Mesa-dev] [PATCH] [rfc] mesa: don't allow GLSL 1.30 without GL3.

Christoph Bumiller e0425955 at student.tuwien.ac.at
Tue Jan 10 13:38:26 PST 2012


On 01/10/2012 10:09 PM, Dave Airlie wrote:
> On Tue, Jan 10, 2012 at 7:28 PM, Eric Anholt <eric at anholt.net> wrote:
>> On Tue, 10 Jan 2012 11:52:57 +0000, Dave Airlie <airlied at gmail.com> wrote:
>>> From: Dave Airlie <airlied at redhat.com>
>>>
>>> Things can get confused if you expose one without the other which can happen
>>> if you are missing one or two of the extensions (like say float textures).
>>
>> Can you clarify what "things can get confused" means?
> 
> Well piglit starts to fail in wierd and wonderful way, I just don't
> think we have any valid use cases for exposing GLSL1.30 without GL3
> and I'd like to enforce that.
> 

Some tests only check for GLSL 1.3 and then use functions like
glUniform*ui that glew only sets up if GL_VERSION_3_0 and as a result
they call a NULL pointer.

> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list