broadcom/compiler: track passthrough Z writes
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 3 Dec 2021 09:22:45 +0000 (10:22 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 3 Dec 2021 10:39:08 +0000 (10:39 +0000)
commita65c605365f80b656fae0fab01012124807d92aa
tree36317bdef9f22f0632521dd5de9ef0bc3a305463
parent6d4a645c90a8d94534a52d20ff206d0f94c5be5e
broadcom/compiler: track passthrough Z writes

In some cases we need to make the shaders write the Z value produced
from rasterization (FEP). Track these instances because they are relevant
to early EZ setup.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14037>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c