mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radeonsi/gfx11: always allow DCC stores
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
This commit is contained in:
parent
0f033ce3a3
commit
700c2e74fb
1 changed files with 4 additions and 3 deletions
|
|
@ -1295,9 +1295,10 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
* even less than that. It's risky to enable on dGPUs.
|
||||
*/
|
||||
sscreen->always_allow_dcc_stores = !(sscreen->debug_flags & DBG(NO_DCC_STORE)) &&
|
||||
((sscreen->info.chip_class >= GFX10_3 &&
|
||||
!sscreen->info.has_dedicated_vram) ||
|
||||
sscreen->debug_flags & DBG(DCC_STORE));
|
||||
(sscreen->debug_flags & DBG(DCC_STORE) ||
|
||||
sscreen->info.chip_class >= GFX11 || /* always enabled on gfx11 */
|
||||
(sscreen->info.chip_class >= GFX10_3 &&
|
||||
!sscreen->info.has_dedicated_vram));
|
||||
|
||||
sscreen->dpbb_allowed = !(sscreen->debug_flags & DBG(NO_DPBB)) &&
|
||||
(sscreen->info.chip_class >= GFX10 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue