anv: implement INTEL_DEBUG=submit
Name all the BOs! v2: Fix 32bit build issue (Thanks Marge!) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5736>
This commit is contained in:
@@ -206,7 +206,7 @@ VkResult genX(CreateQueryPool)(
|
||||
bo_flags |= EXEC_OBJECT_ASYNC;
|
||||
|
||||
uint64_t size = pool->slots * pool->stride;
|
||||
result = anv_device_alloc_bo(device, size,
|
||||
result = anv_device_alloc_bo(device, "query-pool", size,
|
||||
ANV_BO_ALLOC_MAPPED |
|
||||
ANV_BO_ALLOC_SNOOPED,
|
||||
0 /* explicit_address */,
|
||||
|
Reference in New Issue
Block a user