diff options
author | Marek Olšák <[email protected]> | 2016-06-27 19:44:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-29 20:12:00 +0200 |
commit | 9fd4eff43c0c1d0e5cb58fafbaa39c7b08bb715a (patch) | |
tree | 6ec142d81bf77e8639db2258e70412ba8b7ae5ff /src/gallium/drivers/radeon/r600_texture.c | |
parent | 36cf5a57c2b53b50778482f7341b7afcdc434daf (diff) |
gallium/radeon: R600_DEBUG=nodccfb disables separate DCC
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index d7ff2f77c33..796cbefc3e3 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -2198,7 +2198,8 @@ void evergreen_do_fast_color_clear(struct r600_common_context *rctx, /* Fast clear is the most appropriate place to enable DCC for * displayable surfaces. */ - if (rctx->chip_class >= VI) { + if (rctx->chip_class >= VI && + !(rctx->screen->debug_flags & DBG_NO_DCC_FB)) { vi_separate_dcc_try_enable(rctx, tex); /* Stoney can't do a CMASK-based clear, so all clears are |