nvk: Use a coherent map for the event heap
Events are synchronization objects. They really need to be coherent. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33959>
This commit is contained in:
@@ -249,7 +249,8 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice,
|
||||
goto fail_edb_bview_cache;
|
||||
|
||||
result = nvk_heap_init(dev, &dev->event_heap,
|
||||
NVKMD_MEM_LOCAL, NVKMD_MEM_MAP_WR,
|
||||
NVKMD_MEM_LOCAL | NVKMD_MEM_COHERENT,
|
||||
NVKMD_MEM_MAP_WR,
|
||||
0 /* overalloc */, false /* contiguous */);
|
||||
if (result != VK_SUCCESS)
|
||||
goto fail_shader_heap;
|
||||
|
||||
Reference in New Issue
Block a user