mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
radv/aco: disable NGG when ACO is used
Note that radv_device.c still has to be modified to use ACO with Navi. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
This commit is contained in:
parent
b7fc082b28
commit
ba71be228f
1 changed files with 4 additions and 0 deletions
|
|
@ -339,6 +339,10 @@ radv_physical_device_init(struct radv_physical_device *device,
|
|||
device->use_ngg = device->rad_info.chip_class >= GFX10 &&
|
||||
device->rad_info.family != CHIP_NAVI14 &&
|
||||
!(device->instance->debug_flags & RADV_DEBUG_NO_NGG);
|
||||
if (device->use_aco && device->use_ngg) {
|
||||
fprintf(stderr, "WARNING: disabling NGG because ACO is used.\n");
|
||||
device->use_ngg = false;
|
||||
}
|
||||
|
||||
device->use_ngg_streamout = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue