radv: fix missing implementation of creating images from swapchains
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 11 Jan 2023 08:14:08 +0000 (09:14 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 26 Jan 2023 15:40:30 +0000 (15:40 +0000)
commit629630b3de7cb3dc969814107dbc6e3897fe54f7
tree0829686ac27d43f5854cf8c79ec994cd0614c465
parent17e4b4681943aff04af571e2c2ce5cb47ec68560
radv: fix missing implementation of creating images from swapchains

These pNext structs are part of VK_KHR_swapchain which is core Vulkan
1.1 but they were missing. Loosely based on ANV.

Passed WSI CTS.

Cc: 22.3 mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7797
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20641>
(cherry picked from commit 2a5d7f4926c8b3dc702d3ee0e216c563ba7e94db)
.pick_status.json
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c