From: Marek Olšák <[email protected]>

This avoids the fp16 packing instructions.
---
 src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c 
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 73a0ccc..158f1ce 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -623,7 +623,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 &&
-- 
2.1.4

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to