From: Petri Latvala Date: Wed, 23 Apr 2014 08:08:54 +0000 (+0300) Subject: i965: Enable INTEL_performance_query for Gen5+. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4363c8ea411cee5414ce267c3128a0fb551a730;p=mesa.git i965: Enable INTEL_performance_query for Gen5+. Signed-off-by: Petri Latvala Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 4a2a711636e..ade86a5d190 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -310,8 +310,10 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_stencil_texturing = true; } - if (brw->gen == 5 || can_write_oacontrol(brw)) + if (brw->gen == 5 || can_write_oacontrol(brw)) { ctx->Extensions.AMD_performance_monitor = true; + ctx->Extensions.INTEL_performance_query = true; + } if (ctx->API == API_OPENGL_CORE) ctx->Extensions.ARB_base_instance = true;