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:
78c4528
)
radeonsi: don't apply the Z export bug workaround to Hainan
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 29 Nov 2016 19:49:24 +0000
(20:49 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 1 Dec 2016 01:16:51 +0000
(
02:16
+0100)
not needed
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index
ee2fce1
..
44a4dd2
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-2898,10
+2898,11
@@
static void si_export_mrt_z(struct lp_build_tgsi_context *bld_base,
}
}
- /* SI (except OLAND) has a bug that it only looks
+ /* SI (except OLAND
and HAINAN
) has a bug that it only looks
* at the X writemask component. */
if (ctx->screen->b.chip_class == SI &&
- ctx->screen->b.family != CHIP_OLAND)
+ ctx->screen->b.family != CHIP_OLAND &&
+ ctx->screen->b.family != CHIP_HAINAN)
mask |= 0x1;
/* Specify which components to enable */