diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index f1c77727fad..3c2545ae62f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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) diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index 8188d03c31d..6d0d9945ab9 100644 --- a/src/intel/vulkan/genX_query.c +++ b/src/intel/vulkan/genX_query.c @@ -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)