mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
anv: remove dead code
The unused bo_flags here is a leftover from the past. A similar setup of bo_flags is now performed within anv_device_alloc_bo via a call to anv_bo_alloc_flags_to_bo_flags. Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11645>
This commit is contained in:
parent
4300853edc
commit
85de630273
1 changed files with 0 additions and 10 deletions
|
|
@ -194,16 +194,6 @@ VkResult genX(CreateQueryPool)(
|
|||
}
|
||||
#endif
|
||||
|
||||
uint32_t bo_flags = 0;
|
||||
if (pdevice->supports_48bit_addresses)
|
||||
bo_flags |= EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
|
||||
|
||||
if (anv_use_softpin(pdevice))
|
||||
bo_flags |= EXEC_OBJECT_PINNED;
|
||||
|
||||
if (pdevice->has_exec_async)
|
||||
bo_flags |= EXEC_OBJECT_ASYNC;
|
||||
|
||||
uint64_t size = pool->slots * (uint64_t)pool->stride;
|
||||
result = anv_device_alloc_bo(device, "query-pool", size,
|
||||
ANV_BO_ALLOC_MAPPED |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue