From: Marek Olšák Date: Tue, 9 Aug 2016 10:49:51 +0000 (+0200) Subject: radeonsi: set CB_COLORn_INFO.SIMPLE_FLOAT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=667ad9fa3e1ab0fef930e320298e0d98d6109aea;p=mesa.git radeonsi: set CB_COLORn_INFO.SIMPLE_FLOAT This can help enable some blend optimizations (see the register spec). Vulkan always sets this. Reviewed-by: Michel Dänzer Reviewed-by: Edward O'Callaghan --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 8f7203ea9ba..ebd2b7d5711 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2066,6 +2066,7 @@ static void si_initialize_color_surface(struct si_context *sctx, S_028C70_COMP_SWAP(swap) | S_028C70_BLEND_CLAMP(blend_clamp) | S_028C70_BLEND_BYPASS(blend_bypass) | + S_028C70_SIMPLE_FLOAT(1) | S_028C70_NUMBER_TYPE(ntype) | S_028C70_ENDIAN(endian);