Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>

Thanks Nicolai.

On 11/25/2015 02:29 PM, Nicolai Hähnle wrote:
From: Nicolai Hähnle <nicolai.haeh...@amd.com>

The enable of AMD_performance_monitor is no longer related to whether
queries are run by the GPU since the commit mentioned below.

Suggested-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>

commit ddf27a3dd062c78ff49a69a1396be4de9c1b5d37
Author: Nicolai Hähnle <nhaeh...@gmail.com>
Date:   Tue Nov 10 13:35:01 2015 +0100

     gallium: remove pipe_driver_query_group_info field type
---
  src/mesa/state_tracker/st_context.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.c 
b/src/mesa/state_tracker/st_context.c
index eea3de0..1459f25 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -256,8 +256,6 @@ st_create_context_priv( struct gl_context *ctx, struct 
pipe_context *pipe,
                        &ctx->Extensions, &st->options, ctx->Mesa_DXTn);

     if (st_have_perfmon(st)) {
-      /* GL_AMD_performance_monitor is only enabled when the underlying
-       * driver expose GPU hardware performance counters. */
        ctx->Extensions.AMD_performance_monitor = GL_TRUE;
     }



--
-Samuel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to