From ed6186f0e864d2a8bf94c1374cda007841f7b915 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 6 Mar 2013 14:54:27 -0800 Subject: [PATCH] i965: Enable ARB_texture_query_lod. v2: Support Ironlake as well. Reviewed-by: Kenneth Graunke --- docs/GL3.txt | 2 +- src/mesa/drivers/dri/intel/intel_extensions.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 640dec24c26..2c15a9ba1de 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -87,7 +87,7 @@ GL_ARB_vertex_type_2_10_10_10_rev DONE (i965, r600) GL 4.0: GLSL 4.0 not started -GL_ARB_texture_query_lod not started +GL_ARB_texture_query_lod DONE (i965) GL_ARB_draw_buffers_blend DONE (i965, r600, softpipe) GL_ARB_draw_indirect not started GL_ARB_gpu_shader5 not started diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 332fdd8e004..9efdee4ca8c 100755 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -110,8 +110,10 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_texture_multisample = true; } - if (intel->gen >= 5) + if (intel->gen >= 5) { + ctx->Extensions.ARB_texture_query_lod = true; ctx->Extensions.EXT_timer_query = true; + } if (intel->gen >= 6) { uint64_t dummy; -- 2.30.2