[Mesa-dev] [PATCH 6/6] i965: Enable INTEL_performance_query for Gen5+.
Dragomir Ivanov
drago.ivanov at gmail.com
Wed Mar 12 06:17:29 PDT 2014
What about other drivers supporting `AMD_performance_monitor`? Are there any?
On Wed, Mar 12, 2014 at 2:54 PM, Petri Latvala <petri.latvala at intel.com> wrote:
> Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_extensions.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 5094c2b..78bf5b4 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -307,8 +307,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;
> --
> 1.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list