turnip: Fix the "written stencil is unmodified" check.
authorEmma Anholt <emma@anholt.net>
Mon, 19 Sep 2022 22:11:24 +0000 (15:11 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 17:18:07 +0000 (17:18 +0000)
commitb9f9bfa5560a0d5e8a8bf71a146ffd11f1196173
tree8e0bf42b1c625619adf06c26ff67a460f0a82fc6
parented76471d08fbfc3f2fe4568ba6de6164c4b7352d
turnip: Fix the "written stencil is unmodified" check.

We want to know if anything writes stencil, not if all of them do.

Fixes: b2a60c157e4d ("turnip: add LRZ early-z support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18691>
src/freedreno/vulkan/tu_cmd_buffer.c