Re: [Mesa-dev] [RFC PATCH] mesa/gl3: introduce a new option to the gl3 version enable.

2012-01-04 Thread Eric Anholt
On Mon, 2 Jan 2012 16:34:23 +, Dave Airlie wrote: > From: Dave Airlie > > EXT_texture_integer isn't strictly equivalent to GL3, the L/I/A integer > formats are not required in GL3, and some drivers may not require them. > > I've no idea if we have any hw that requires it, just sending the

Re: [Mesa-dev] [RFC PATCH] mesa/gl3: introduce a new option to the gl3 version enable.

2012-01-02 Thread Marek Olšák
I agree that we shouldn't be exposing EXT_texture_integer. I think it would be cleaner to just say that if GLSL 1.3 is supported, all the other features which are part of it are supported too. I would simplify the code like this (see below), and most of the checks for EXT_texture_integer should al

Re: [Mesa-dev] [RFC PATCH] mesa/gl3: introduce a new option to the gl3 version enable.

2012-01-02 Thread Dave Airlie
> > EXT_texture_integer isn't strictly equivalent to GL3, the L/I/A integer > formats are not required in GL3, and some drivers may not require them. > > I've no idea if we have any hw that requires it, just sending the patch along > after discussion on irc. Another reason was mentioned on irc, EX

[Mesa-dev] [RFC PATCH] mesa/gl3: introduce a new option to the gl3 version enable.

2012-01-02 Thread Dave Airlie
From: Dave Airlie EXT_texture_integer isn't strictly equivalent to GL3, the L/I/A integer formats are not required in GL3, and some drivers may not require them. I've no idea if we have any hw that requires it, just sending the patch along after discussion on irc. Signed-off-by: Dave Airlie --