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@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user