On 10/04/2013 09:47 PM, Matt Turner wrote: > On Fri, Oct 4, 2013 at 9:17 PM, Chris Forbes <chr...@ijw.co.nz> wrote: >> Theoretically would work on Gen5 as well but requires GLSL 1.30, which >> is not (yet) enabled by default there. > > In that case, just do > > ctx->Extensions.ARB_texture_query_levels = ctx->Const.GLSLVersion >= 130; > > and put it in the if (brw->gen >= 5) block.
I prefer Matt's suggestion, too. But either way, Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev