turnip: Skip emitting empty CP_COND_REG_EXEC.
authorEmma Anholt <emma@anholt.net>
Tue, 30 Aug 2022 22:30:27 +0000 (15:30 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Aug 2023 16:02:51 +0000 (16:02 +0000)
commit139cc91697088c3d5b1a4546ed2e4ba5c916baef
tree3a549ec60f4b3b19de9434cfe97c433e1e4daae1
parentc96b2cc5110e9b10318f609b61a158019215c0d9
turnip: Skip emitting empty CP_COND_REG_EXEC.

If we ended up emitting no code to be conditionally run, then drop the
whole conditional exec packet.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20994>
src/freedreno/vulkan/tu_cs.h