projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c78cfd
)
radeonsi: fix Hyper-Z on Stoney
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 28 Jan 2016 00:35:52 +0000
(
01:35
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 4 Feb 2016 15:47:41 +0000
(16:47 +0100)
Cc: 11.0 11.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_texture.c
b/src/gallium/drivers/radeon/r600_texture.c
index
09318e0
..
ebafe3e
100644
(file)
--- 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;