etnaviv: query: remove incorrect comment
authorLucas Stach <l.stach@pengutronix.de>
Fri, 9 Jun 2023 16:55:39 +0000 (18:55 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 11 Jun 2023 18:41:32 +0000 (18:41 +0000)
The allocated query buffer is always 4KB in size and can hold
a variable number of samples depending on the sample size.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23557>

src/gallium/drivers/etnaviv/etnaviv_query_acc.c

index 1d8f7cd..3b01bfb 100644 (file)
@@ -64,7 +64,6 @@ realloc_query_bo(struct etna_context *ctx, struct etna_acc_query *aq)
 
    pipe_resource_reference(&aq->prsc, NULL);
 
-   /* allocate resource with space for 64 * 64bit values */
    aq->prsc = pipe_buffer_create(&ctx->screen->base, PIPE_BIND_QUERY_BUFFER,
                                  0, 0x1000);