vulkan/render_pass: Pass sample locations to barriers
authorJason Ekstrand <jason.ekstrand@collabora.com>
Fri, 6 May 2022 23:14:26 +0000 (18:14 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Jun 2022 22:37:53 +0000 (22:37 +0000)
commit7e11cdc77a6ac186bdce0b98cc2e5d4ca5857999
treefe03215aa44c2d2e75820b5fa1f6c33c4ba6ea44
parent6216c59dbba7312f2077125b94109c663bf1d255
vulkan/render_pass: Pass sample locations to barriers

This is required for depth/stencil images created with
VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16953>
src/vulkan/runtime/vk_command_buffer.h
src/vulkan/runtime/vk_render_pass.c