radv: only disable CU2 & CU3 when NGG is enabled
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7769>
This commit is contained in:

committed by
Marge Bot

parent
750591f4cb
commit
7729ea3d67
@@ -349,7 +349,11 @@ si_emit_graphics(struct radv_device *device,
|
||||
|
||||
/* CU2 & CU3 disabled because of the dual CU design */
|
||||
cu_mask_vs = 0xfff3;
|
||||
cu_mask_gs = 0xfff3; /* NGG only */
|
||||
if (physical_device->use_ngg) {
|
||||
cu_mask_gs = 0xfff3;
|
||||
} else {
|
||||
cu_mask_gs = 0xffff;
|
||||
}
|
||||
}
|
||||
|
||||
late_alloc_wave64_gs = late_alloc_wave64;
|
||||
|
Reference in New Issue
Block a user