[Mesa-dev] [PATCH] st/mesa: remove outdated comment

Nicolai Hähnle nhaehnle at gmail.com
Wed Nov 25 05:29:18 PST 2015


From: Nicolai Hähnle <nicolai.haehnle at 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.pitoiset at gmail.com>

commit ddf27a3dd062c78ff49a69a1396be4de9c1b5d37
Author: Nicolai Hähnle <nhaehnle at 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;
    }
 
-- 
2.5.0



More information about the mesa-dev mailing list