Mesa (master): i965: Enable ARB_texture_query_lod.
Matt Turner
mattst88 at kemper.freedesktop.org
Fri Mar 29 17:22:51 UTC 2013
Module: Mesa
Branch: master
Commit: ed6186f0e864d2a8bf94c1374cda007841f7b915
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed6186f0e864d2a8bf94c1374cda007841f7b915
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Mar 6 14:54:27 2013 -0800
i965: Enable ARB_texture_query_lod.
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;
More information about the mesa-commit
mailing list