i965: enable EXT_disjoint_timer_query extension
authorTapani Pälli <tapani.palli@intel.com>
Thu, 14 Dec 2017 11:53:10 +0000 (13:53 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 15 Dec 2017 06:42:48 +0000 (08:42 +0200)
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 <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 4d17393948aa0110e0c8223c336c9c06417a8d9a..cc961e051fde9e4335fb8fdd4b7657c93dc6e31c 100644 (file)
@@ -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.