mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 07:10:27 +01:00
radeonsi: fix Hyper-Z on Stoney
Cc: 11.0 11.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 8ec24678ac)
This commit is contained in:
parent
27fa53c6d0
commit
a2dd9b49f0
1 changed files with 4 additions and 0 deletions
|
|
@ -529,6 +529,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue