radv: Fix implicit sync with recent allocation changes.
the implicit sync flag gets set at the beginning at the function,
but I used = instead of |= later.
Fixes: bec9285027
"radv: Stop using memory type indices."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4814>
This commit is contained in:

committed by
Marge Bot

parent
27cafa9a51
commit
85fe0e551f
@@ -5200,7 +5200,7 @@ static VkResult radv_alloc_memory(struct radv_device *device,
|
||||
|
||||
heap_index = device->physical_device->memory_properties.memoryTypes[pAllocateInfo->memoryTypeIndex].heapIndex;
|
||||
domain = device->physical_device->memory_domains[pAllocateInfo->memoryTypeIndex];
|
||||
flags = device->physical_device->memory_flags[pAllocateInfo->memoryTypeIndex];
|
||||
flags |= device->physical_device->memory_flags[pAllocateInfo->memoryTypeIndex];
|
||||
|
||||
if (!dedicate_info && !import_info && (!export_info || !export_info->handleTypes)) {
|
||||
flags |= RADEON_FLAG_NO_INTERPROCESS_SHARING;
|
||||
|
Reference in New Issue
Block a user