From: Marek Olšák Date: Sun, 17 Aug 2014 22:51:47 +0000 (+0200) Subject: radeonsi: don't set CB_SHADER_MASK=1 if there are no color outputs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25633c85e12f957e5f9e4b816f85697539b1da5f;p=mesa.git radeonsi: don't set CB_SHADER_MASK=1 if there are no color outputs This hack isn't needed anymore because of the previous u_blitter commit. Reviewed-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 3fcd314b5c8..08ba8b0ab0f 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -1514,10 +1514,6 @@ static void si_llvm_emit_fs_epilogue(struct lp_build_tgsi_context * bld_base) last_args[6]= uint->zero; last_args[7]= uint->zero; last_args[8]= uint->zero; - - si_shader_ctx->shader->spi_shader_col_format |= - V_028714_SPI_SHADER_32_ABGR; - si_shader_ctx->shader->cb_shader_mask |= S_02823C_OUTPUT0_ENABLE(0xf); } /* Specify whether the EXEC mask represents the valid mask */