diff options
author | Marek Olšák <[email protected]> | 2016-01-28 01:35:52 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-04 16:47:41 +0100 |
commit | 8ec24678ac0f459af4acb4b40a70d7802906e41a (patch) | |
tree | c054308a3bcb12a02c91e1e69b6f66b96f2638df /src/gallium/drivers | |
parent | 9c78cfd547a69f6f45d7acaa8ade681640caee95 (diff) |
radeonsi: fix Hyper-Z on Stoney
Cc: 11.0 11.1 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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 09318e0f8d4..ebafe3e4dcd 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -533,6 +533,10 @@ static unsigned r600_texture_get_htile_size(struct r600_common_screen *rscreen, rscreen->info.drm_major == 2 && rscreen->info.drm_minor < 38) return 0; + /* Overalign HTILE on Stoney to fix piglit/depthstencil-render-miplevels 585. */ + if (rscreen->family == CHIP_STONEY) + num_pipes = 4; + switch (num_pipes) { case 1: cl_width = 32; |