mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radv: Enable binning and dfsm by default on Raven.
Seems like it increases performance by 2-3% for some demos and games. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
978570769d
commit
17b5a59b4e
1 changed files with 4 additions and 2 deletions
|
|
@ -1509,10 +1509,12 @@ VkResult radv_CreateDevice(
|
|||
}
|
||||
|
||||
device->pbb_allowed = device->physical_device->rad_info.chip_class >= GFX9 &&
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_BINNING);
|
||||
((device->instance->perftest_flags & RADV_PERFTEST_BINNING) ||
|
||||
device->physical_device->rad_info.family == CHIP_RAVEN);
|
||||
|
||||
/* Disabled and not implemented for now. */
|
||||
device->dfsm_allowed = device->pbb_allowed && false;
|
||||
device->dfsm_allowed = device->pbb_allowed &&
|
||||
device->physical_device->rad_info.family == CHIP_RAVEN;
|
||||
|
||||
#ifdef ANDROID
|
||||
device->always_use_syncobj = device->physical_device->rad_info.has_syncobj_wait_for_submit;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue