turnip: save attachment samples in renderpass state
authorJonathan Marek <jonathan@marek.ca>
Wed, 8 Apr 2020 02:23:27 +0000 (22:23 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 14:43:02 +0000 (14:43 +0000)
commited83281f0cd1d4c60106410c0b897d6db3280e50
tree027bc4a2ccadfe2cb498f5c0d5fa55a2b8bd3a29
parent0637eab6780b98f727ecad3be15011324b2894f5
turnip: save attachment samples in renderpass state

This is needed to be able to know the number of samples during
CmdClearAttachments which can be used while the framebuffer is unknown.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3783>
src/freedreno/vulkan/tu_pass.c
src/freedreno/vulkan/tu_private.h