diff options
author | Marek Olšák <[email protected]> | 2015-12-04 20:35:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-07 22:01:08 +0100 |
commit | 32f05fadbbdf2a3fb60055e610bbbdcd82dd3ce5 (patch) | |
tree | 6885853a8c11b2099b69ecad80c700c972926944 /src/gallium/drivers/radeon/r600_texture.c | |
parent | 26188866002ed6be705ca62eb3d4c1f632b8f2be (diff) |
radeonsi: disable DCC on Stoney
Cc: 11.1 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 6515a829b5a..774722f7063 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -497,6 +497,10 @@ static void vi_texture_alloc_dcc_separate(struct r600_common_screen *rscreen, if (rscreen->debug_flags & DBG_NO_DCC) return; + /* TODO: DCC is broken on Stoney */ + if (rscreen->family == CHIP_STONEY) + return; + rtex->dcc_buffer = (struct r600_resource *) r600_aligned_buffer_create(&rscreen->b, PIPE_BIND_CUSTOM, PIPE_USAGE_DEFAULT, rtex->surface.dcc_size, rtex->surface.dcc_alignment); |