v3dv: use the global RCL EZ disable if we don't have any EZ draws in the job
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 31 May 2022 09:16:35 +0000 (11:16 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 1 Jun 2022 06:11:04 +0000 (08:11 +0200)
commit18985e803087bdac8ac6448839554af0fabffe03
tree1f2a7ff91f40f5e78d7e5b5491552e29efd710f1
parent0f65838933bfee7c189ffbd17fa1d04a005db8c3
v3dv: use the global RCL EZ disable if we don't have any EZ draws in the job

Until now we would only disable EZ globally if we had a depth or stencil
load operation or if we had no draw calls at all, but even if we have draw
calls if all of them disable EZ we should also us the global disable.

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