From: Tapani Pälli Date: Thu, 14 Dec 2017 11:53:10 +0000 (+0200) Subject: i965: enable EXT_disjoint_timer_query extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eac1aad6249da0479a5bf75f72025bc134c9a6cc;p=mesa.git 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 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 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.