turnip: Save the renderpass's clear values in the cmdbuf state.
authorEmma Anholt <emma@anholt.net>
Wed, 5 Oct 2022 21:34:29 +0000 (14:34 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Aug 2023 16:02:51 +0000 (16:02 +0000)
commit4cfd021e3f74fd75e7998cae5697a1ba598237d6
tree5454076e64ecf431d3e25cd2d8f6eca52f5cb0c7
parent139cc91697088c3d5b1a4546ed2e4ba5c916baef
turnip: Save the renderpass's clear values in the cmdbuf state.

For delaying clears to subpass begin time, I needed to save these until
later.  Turns out this cleans up a good bit of threading these values all
through the command buffer setup.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20994>
src/freedreno/vulkan/tu_clear_blit.cc
src/freedreno/vulkan/tu_clear_blit.h
src/freedreno/vulkan/tu_cmd_buffer.cc
src/freedreno/vulkan/tu_cmd_buffer.h
src/freedreno/vulkan/tu_lrz.cc
src/freedreno/vulkan/tu_lrz.h