mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
anv: Add trivial_batch and query-pool to the error capture
Those are batch buffers that are not allocated from batch_bo_pool, so they were left out of error capture without the capture-all parameter. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30676>
This commit is contained in:
parent
c4f2a8d984
commit
168e26fc04
2 changed files with 4 additions and 2 deletions
|
|
@ -76,7 +76,8 @@ anv_device_init_trivial_batch(struct anv_device *device)
|
|||
VkResult result = anv_device_alloc_bo(device, "trivial-batch", 4096,
|
||||
ANV_BO_ALLOC_MAPPED |
|
||||
ANV_BO_ALLOC_HOST_COHERENT |
|
||||
ANV_BO_ALLOC_INTERNAL,
|
||||
ANV_BO_ALLOC_INTERNAL |
|
||||
ANV_BO_ALLOC_CAPTURE,
|
||||
0 /* explicit_address */,
|
||||
&device->trivial_batch_bo);
|
||||
if (result != VK_SUCCESS)
|
||||
|
|
|
|||
|
|
@ -246,7 +246,8 @@ VkResult genX(CreateQueryPool)(
|
|||
|
||||
result = anv_device_alloc_bo(device, "query-pool", size,
|
||||
ANV_BO_ALLOC_MAPPED |
|
||||
ANV_BO_ALLOC_HOST_CACHED_COHERENT,
|
||||
ANV_BO_ALLOC_HOST_CACHED_COHERENT |
|
||||
ANV_BO_ALLOC_CAPTURE,
|
||||
0 /* explicit_address */,
|
||||
&pool->bo);
|
||||
if (result != VK_SUCCESS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue