Commit f81dafdb authored by Marek Olšák's avatar Marek Olšák
Browse files

radeonsi/gfx11: always allow DCC stores

parent f52d20d7
This commit is part of merge request !16328. Comments created here will be created in the context of that merge request.
......@@ -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 ||
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment