vkd3d: Fix silly typo in global mask.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-07-14 15:57:01 +02:00
parent 426cdc9218
commit cb94cfd10c
1 changed files with 1 additions and 1 deletions

View File

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