tu: Remove MSAA draw state
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 9 May 2023 13:16:17 +0000 (15:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 11 Sep 2023 10:34:09 +0000 (10:34 +0000)
commitd3ab5b68d5eb9a4980a8f3cf7a137bc036bfa6ee
tree399e114a47060d3582ae6dc6a2ac30efb0dcaa25
parent8179b6fcf4d733734bc36e343d46fd3e8ee5e4a3
tu: Remove MSAA draw state

We only need to emit MSAA state once per subpass at most, unless the
pipeline switches primitive types or for framebuffer-less subpasses
(which always use sysmem anyway). Therefore it seems like draw state
skipping isn't going to bring much benefit here, and having it as a draw
state in the first place is a remnant of how this used to be part of the
pipeline state.

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