vulkan: Record pipeline flags in the render pass
authorJason Ekstrand <jason.ekstrand@collabora.com>
Tue, 2 Aug 2022 18:13:54 +0000 (13:13 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Apr 2023 18:13:01 +0000 (18:13 +0000)
commitbd26ae00862fd8a528ae1bc4db5d23c6c7855463
tree09cfd36a0b90b4d00141f053c9311c4a2e88d1e0
parent9582c1e52a1314ef6dfc611b0d54d8d6dd2e06b5
vulkan: Record pipeline flags in the render pass

This records any rendering pipeline flags in the render pass.  This
provides much-needed information for the VK_KHR_fragment_shading_rate
and VK_EXT_fragment_density_map extensions as well as provides an
alternative to VkRenderingSelfDependencyInfoMESA which is based on
VK_EXT_attachment_feedback_loop_layout.

v2 (Connor): Name something more general
v3 (Faith): Also add the FSR flag

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22191>
src/vulkan/runtime/vk_render_pass.c
src/vulkan/runtime/vk_render_pass.h