mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
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:
parent
b70829708a
commit
515da29360
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue