etnaviv: query: remove incorrect comment
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user