[Mesa-dev] [PATCH 3/3] i965: Enable ARB_texture_query_lod.
Matt Turner
mattst88 at gmail.com
Thu Mar 28 15:07:19 PDT 2013
v2: Support Ironlake as well.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 640dec2..2c15a9b 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 332fdd8..9efdee4 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;
--
1.7.8.6
More information about the mesa-dev
mailing list