diff options
author | Matt Turner <[email protected]> | 2013-03-06 14:54:27 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-03-29 10:21:14 -0700 |
commit | ed6186f0e864d2a8bf94c1374cda007841f7b915 (patch) | |
tree | 469a9d5ff37b22ef01b1db026af6ac2b2892f3d1 | |
parent | b8aa9f7d3a146cff9c2c530abf815a1b316374ca (diff) |
i965: Enable ARB_texture_query_lod.
v2: Support Ironlake as well.
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | docs/GL3.txt | 2 | ||||
-rwxr-xr-x | 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; |