ir3: Use NIR's info.writes_memory to detect when when to force late-z
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Wed, 1 Jun 2022 17:47:46 +0000 (20:47 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 1 Jul 2022 11:37:17 +0000 (11:37 +0000)
commitc655387a023531ce186ffb4c433aae7d45a8120d
tree0b29f853df971ce89ed1f9be13b1703b38e1d840
parent7b91b39ba517d8bccf3c44007d1acfaf4fac84c0
ir3: Use NIR's info.writes_memory to detect when when to force late-z

Better than maintaining our old checks.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16818>
src/freedreno/ir3/ir3_compiler_nir.c