st/mesa: remove outdated comment
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 25 Nov 2015 13:26:41 +0000 (14:26 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 25 Nov 2015 14:27:34 +0000 (15:27 +0100)
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@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
commit ddf27a3dd062c78ff49a69a1396be4de9c1b5d37
Author: Nicolai Hähnle <nhaehnle@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

index eea3de08d0f1d7b0cff86cf782f60b49b16f7544..1459f258f940096760fe7b5cb2b25b8af61012af 100644 (file)
@@ -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;
    }