v3dv: compute tile granularity for each subpass
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 6 Apr 2020 07:25:28 +0000 (09:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commit93fd897c28ba42700c801605c8b3fe09f582b900
tree9ecb1c2a9c24b009252b1aaaaad316db0f79cb25
parentf7059e4603b70e2be9afa6b34ac27e6e5506804d
v3dv: compute tile granularity for each subpass

We must update our check for whether the render area is tile-aligned for
each subpass, since the hardware will update tile sizes for each RCL.

Fixes:
dEQP-VK.renderpass.suballocation.attachment_allocation.roll.8

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_pass.c
src/broadcom/vulkan/v3dv_private.h