diff options
author | Chris Forbes <[email protected]> | 2013-10-05 17:11:57 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-05 19:16:33 +1300 |
commit | 317e172677541771d3dbfadba852f067d8d881a1 (patch) | |
tree | 4cca8fcbdf2193c8dea0ef38010e61222e3e88c4 /src/mesa | |
parent | 4be21a07eace673720a4121fb8b697d0a7cfab69 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 0502a48552a..52076f70a35 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) |