Mesa (master): i965: enable ARB_texture_query_levels on Gen6+
Chris Forbes
chrisf at kemper.freedesktop.org
Sat Oct 5 06:17:41 UTC 2013
Module: Mesa
Branch: master
Commit: 317e172677541771d3dbfadba852f067d8d881a1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=317e172677541771d3dbfadba852f067d8d881a1
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sat Oct 5 17:11:57 2013 +1300
i965: enable ARB_texture_query_levels on Gen6+
Theoretically would work on Gen5 as well but requires GLSL 1.30, which
is not (yet) enabled by default there.
V2: Enable for Gen5 conditionally on GLSL version.
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 0502a48..52076f7 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -158,6 +158,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_texture_query_lod = true;
ctx->Extensions.EXT_timer_query = true;
ctx->Extensions.EXT_shader_integer_mix = ctx->Const.GLSLVersion >= 130;
+ ctx->Extensions.ARB_texture_query_levels = ctx->Const.GLSLVersion >= 130;
}
if (brw->gen == 5)
More information about the mesa-commit
mailing list