summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2017-12-14 13:53:10 +0200
committerTapani Pälli <[email protected]>2017-12-15 08:42:48 +0200
commiteac1aad6249da0479a5bf75f72025bc134c9a6cc (patch)
treed0a2240c70720e62d18c431d74a5bcdf721ca720 /src
parent33f73345da01a70aa0e5d61069508e169cb6a6ed (diff)
i965: enable EXT_disjoint_timer_query extension
Following dEQP cases pass: dEQP-EGL.functional.get_proc_address.extension.gl_ext_disjoint_timer_query dEQP-EGL.functional.client_extensions.disjoint Piglit test 'ext_disjoint_timer_query-simple' passes with these changes. No changes/regression observed in Intel CI. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 4d17393948a..cc961e051fd 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -197,6 +197,8 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.OES_sample_variables = true;
ctx->Extensions.ARB_timer_query = brw->screen->hw_has_timestamp;
+ ctx->Extensions.EXT_disjoint_timer_query =
+ ctx->Extensions.ARB_timer_query;
/* Only enable this in core profile because other parts of Mesa behave
* slightly differently when the extension is enabled.