From 317e172677541771d3dbfadba852f067d8d881a1 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 5 Oct 2013 17:11:57 +1300 Subject: i965: enable ARB_texture_query_levels on Gen6+ Theoretically would work on Gen5 as well but requires GLSL 1.30, which is not (yet) enabled by default there. V2: Enable for Gen5 conditionally on GLSL version. Signed-off-by: Chris Forbes Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 0502a48552a..52076f70a35 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -158,6 +158,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_texture_query_lod = true; ctx->Extensions.EXT_timer_query = true; ctx->Extensions.EXT_shader_integer_mix = ctx->Const.GLSLVersion >= 130; + ctx->Extensions.ARB_texture_query_levels = ctx->Const.GLSLVersion >= 130; } if (brw->gen == 5) -- cgit v1.2.3