[Mesa-dev] [PATCH 6/6] i965: enable ARB_texture_query_levels on Gen6+
kenneth at whitecape.org
Sat Oct 5 11:34:17 PDT 2013
On 10/04/2013 09:47 PM, Matt Turner wrote:
> On Fri, Oct 4, 2013 at 9:17 PM, Chris Forbes <chrisf at 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 <kenneth at whitecape.org>
More information about the mesa-dev