radv: Use the KHR dedicated alloc for the WSI.

NV isn't valid for external images anymore.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Fixes: 6ddc64b93e "radv: Add support for VK_KHR_dedicated_allocation."
Reviewed-by: Andres Rodriguez <andresx7@gmail.com>
This commit is contained in:
Bas Nieuwenhuizen 2017-07-15 19:54:13 +02:00
parent b70829708a
commit 515da29360
1 changed files with 2 additions and 2 deletions

View File

@ -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