diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-07-15 19:54:13 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-07-15 20:10:25 +0200 |
commit | 515da29360fa5e7ddf70af6b96285130f78a7c33 (patch) | |
tree | 631c40904acd3078b5f97b04264c6abf435ecb2d /src/amd | |
parent | b70829708ac0598d17804f471d512fdfb44f331f (diff) |
radv: Use the KHR dedicated alloc for the WSI.
NV isn't valid for external images anymore.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Fixes: 6ddc64b93ea "radv: Add support for VK_KHR_dedicated_allocation."
Reviewed-by: Andres Rodriguez <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_wsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c index cdb04ca9628..ab3dcd67d5f 100644 --- a/src/amd/vulkan/radv_wsi.c +++ b/src/amd/vulkan/radv_wsi.c @@ -185,8 +185,8 @@ radv_wsi_image_create(VkDevice device_h, VkDeviceMemory memory_h; - const VkDedicatedAllocationMemoryAllocateInfoNV ded_alloc = { - .sType = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV, + const VkMemoryDedicatedAllocateInfoKHR ded_alloc = { + .sType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR, .pNext = NULL, .buffer = VK_NULL_HANDLE, .image = image_h |