mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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> (cherry picked from commit85fe0e551f)
This commit is contained in:
parent
1b0e98c295
commit
6236c97699
2 changed files with 2 additions and 2 deletions
|
|
@ -1570,7 +1570,7 @@
|
|||
"description": "radv: Fix implicit sync with recent allocation changes.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "bec92850270a046524056b8d43bbd2554ba9f2e0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue