hasvk: Mark VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL as stencil write optimal
authorVäinö Mäkelä <vaino.o.makela@gmail.com>
Sat, 19 Nov 2022 19:23:27 +0000 (21:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Feb 2023 16:02:13 +0000 (16:02 +0000)
commitd3162f97b5adfe61da3e7409ed0bc0845ce8c33d
tree33fcd679041f474d887e4853645aa667c343bd36
parent79a58cb79bc75b54e7bf5dfe7bd607e4e6057961
hasvk: Mark VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL as stencil write optimal

VK_KHR_synchronization2 added VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL, which
was not previously recognized by vk_image_layout_stencil_write_optimal.

Would close https://gitlab.freedesktop.org/mesa/mesa/-/issues/5578 if it
wasn't already closed.

Fixes: b996fa8efaa ("anv: implement VK_KHR_synchronization2")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19876>
src/intel/vulkan_hasvk/genX_cmd_buffer.c