mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
radv: Always enable syncobj when supported for all fences/semaphores.
This simplifies code for timeline semaphores by needing to support less configurations. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
45f4a639a8
commit
84d9551b23
1 changed files with 0 additions and 2 deletions
|
|
@ -2381,9 +2381,7 @@ VkResult radv_CreateDevice(
|
||||||
device->dfsm_allowed = device->pbb_allowed &&
|
device->dfsm_allowed = device->pbb_allowed &&
|
||||||
(device->instance->perftest_flags & RADV_PERFTEST_DFSM);
|
(device->instance->perftest_flags & RADV_PERFTEST_DFSM);
|
||||||
|
|
||||||
#ifdef ANDROID
|
|
||||||
device->always_use_syncobj = device->physical_device->rad_info.has_syncobj_wait_for_submit;
|
device->always_use_syncobj = device->physical_device->rad_info.has_syncobj_wait_for_submit;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The maximum number of scratch waves. Scratch space isn't divided
|
/* The maximum number of scratch waves. Scratch space isn't divided
|
||||||
* evenly between CUs. The number is only a function of the number of CUs.
|
* evenly between CUs. The number is only a function of the number of CUs.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue