i965: Enable ARB_texture_query_lod.
authorMatt Turner <mattst88@gmail.com>
Wed, 6 Mar 2013 22:54:27 +0000 (14:54 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 29 Mar 2013 17:21:14 +0000 (10:21 -0700)
v2: Support Ironlake as well.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
docs/GL3.txt
src/mesa/drivers/dri/intel/intel_extensions.c

index 640dec24c26a55d3b94f83c8f208e062bc7afa6a..2c15a9ba1de3bc2359fcfa67e6d91522aff31b3f 100644 (file)
@@ -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
index 332fdd8e00411fd8accc2cec16625f65d6e8ddca..9efdee4ca8c6b719231be098fb929d95d64612a8 100755 (executable)
@@ -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;