diff options
author | Marek Olšák <[email protected]> | 2014-03-22 17:25:26 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-22 18:44:58 +0100 |
commit | 011569b5b74d878fedf3ab07b18a730493468e8f (patch) | |
tree | 80deacfa9f273930a03c99101c9d746539445a2a /src/gallium/drivers/radeon | |
parent | 4c79f088c0ef8d36b0c57d5005743768d8c5f3e9 (diff) |
radeonsi: disable fast color clear for 1D-tiled surfaces on CIK
This will be re-enabled once my kernel fix lands.
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index be10b46c0f1..45a95088534 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1255,6 +1255,12 @@ void evergreen_do_fast_color_clear(struct r600_common_context *rctx, continue; } + /* fast color clear with 1D tiling doesn't work on CIK */ + if (tex->surface.level[0].mode == RADEON_SURF_MODE_1D && + rctx->chip_class >= CIK) { + continue; + } + /* ensure CMASK is enabled */ r600_texture_alloc_cmask_separate(rctx->screen, tex); if (tex->cmask.size == 0) { |