From cb94cfd10ca7d4e2b4fa8db6fae88428556ee089 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Wed, 14 Jul 2021 15:57:01 +0200 Subject: [PATCH] vkd3d: Fix silly typo in global mask. Signed-off-by: Hans-Kristian Arntzen --- libs/vkd3d/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 4aa19d43..087167d4 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -5957,7 +5957,7 @@ static uint32_t vkd3d_memory_info_find_global_mask(struct d3d12_device *device) const VkMemoryPropertyFlags pinned_mask = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; flags = device->memory_properties.memoryTypes[i].propertyFlags; - heap_index = device->memory_properties.memoryTypes[i].propertyFlags; + heap_index = device->memory_properties.memoryTypes[i].heapIndex; if (heap_index != largest_device_local_heap_index && heap_index != largest_host_only_heap_index &&