pvr: Fix heap type of availability_buffer allocation.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18976>
This commit is contained in:
Rajnesh Kanwal
2022-09-28 18:38:02 +01:00
committed by Marge Bot
parent c229916e38
commit 0b694c2eb3
+1 -1
View File
@@ -81,7 +81,7 @@ VkResult pvr_CreateQueryPool(VkDevice _device,
goto err_free_pool;
result = pvr_bo_alloc(device,
device->heaps.vis_test_heap,
device->heaps.general_heap,
query_size,
sizeof(uint32_t),
PVR_BO_ALLOC_FLAG_CPU_MAPPED,