etnaviv: query: correct max number of occlusion query samples
authorLucas Stach <l.stach@pengutronix.de>
Fri, 9 Jun 2023 17:06:59 +0000 (19:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 11 Jun 2023 18:41:32 +0000 (18:41 +0000)
commit5ef6da21d91a2ec47b229d1a702c1095dfd084b6
tree16d36a79776b786b69f6edf5cb990dc585abcae8
parent3d98e9c2e0cf33b18046bd0fe3da711ecceca345
etnaviv: query: correct max number of occlusion query samples

The real maximium for the occlusion query samples is much higher
than what the code currently claims to support as we always
allocate a full 4KB buffer to store the query results.

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_occlusion.c