v3dv: fix tile state allocation
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 27 Jul 2022 07:53:45 +0000 (09:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 15 Aug 2022 23:35:16 +0000 (23:35 +0000)
commit3ab6eceac0d656606720eccc394ed70108bd08b3
tree51427d38ff3aba61bc1f0fd813ac195b0a3d5c94
parent5da4f5fe8d32722958d28910e09e8321cd709b9a
v3dv: fix tile state allocation

If we had decided that we only need one layer worth of tile state
we should actually only allocate one layer.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17854>
src/broadcom/vulkan/v3dv_cmd_buffer.c