vk/graphics_state: Track attachment count as state
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 4 Apr 2023 16:02:26 +0000 (18:02 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Jul 2023 19:51:05 +0000 (19:51 +0000)
commitea52d0d9e07ccbe662d798d6cd12c7c66ddb41d1
tree244916153959c0d9822889e1be0951fcd2c52280
parentd322a80170f605e16a09b7034dc0e4a86340b71f
vk/graphics_state: Track attachment count as state

Even if this isn't dynamic state per-se because it always comes from the
pipeline, it's useful to be able to track it for the various dynamic
states that it affects, which may be either precompiled or not on
turnip.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22301>
src/vulkan/runtime/vk_graphics_state.c
src/vulkan/runtime/vk_graphics_state.h