diff options
author | Petri Latvala <[email protected]> | 2014-04-23 11:08:54 +0300 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-05-02 10:07:04 -0700 |
commit | b4363c8ea411cee5414ce267c3128a0fb551a730 (patch) | |
tree | 038388240532bcb32ce5ab8da7c9b86b299cd818 /src | |
parent | 8cf5bdad3ce7e6b4a6575aa51ce2016522270e3b (diff) |
i965: Enable INTEL_performance_query for Gen5+.
Signed-off-by: Petri Latvala <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |