summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-16 04:09:45 +0100
committerMarek Olšák <[email protected]>2016-01-22 15:02:40 +0100
commit933e3c4145d97e73000beaf1f96db2a70f209f26 (patch)
tree62f58291121ea8cb907c82c3b5784f9f873cd009 /src/gallium/drivers
parentf1f01588372a26b7c217fa1898eefea75290feed (diff)
radeonsi: use 32_AR for alpha-to-coverage without a color buffer
This avoids the fp16 packing instructions. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index b368485541c..e08722d0d28 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -624,7 +624,7 @@ static inline void si_shader_selector_key(struct pipe_context *ctx,
*/
if (!(key->ps.spi_shader_col_format & 0xf) &&
blend && blend->alpha_to_coverage)
- key->ps.spi_shader_col_format |= V_028710_SPI_SHADER_FP16_ABGR;
+ key->ps.spi_shader_col_format |= V_028710_SPI_SHADER_32_AR;
if (rs) {
bool is_poly = (sctx->current_rast_prim >= PIPE_PRIM_TRIANGLES &&