[Mesa-dev] [PATCH 3/6] radeonsi: don't set CB_SHADER_MASK=1 if there are no color outputs
Marek Olšák
maraeo at gmail.com
Mon Aug 18 14:52:55 PDT 2014
From: Marek Olšák <marek.olsak at amd.com>
This hack isn't needed anymore because of the previous u_blitter commit.
---
src/gallium/drivers/radeonsi/si_shader.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 3fcd314..08ba8b0 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 */
--
1.9.1
More information about the mesa-dev
mailing list