From: Marek Olšák Date: Tue, 29 Nov 2016 19:49:24 +0000 (+0100) Subject: radeonsi: don't apply the Z export bug workaround to Hainan X-Git-Tag: upstream/17.1.0~4180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da7453666aecd49e277a291c17dc7ef602643055;p=platform%2Fupstream%2Fmesa.git radeonsi: don't apply the Z export bug workaround to Hainan not needed Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index ee2fce1..44a4dd2 100644 --- 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 */