From: Keith Whitwell Date: Sat, 12 Sep 2009 21:13:44 +0000 (-0700) Subject: mesa: remove unused SATURATE_PLUS_MINUS_ONE flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09b566e1610ec699490dc01bcea0b8c5cc44a78d;p=mesa.git mesa: remove unused SATURATE_PLUS_MINUS_ONE flag Never set in mesa. Remove from tgsi translation as well. --- diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index 39a221eeaba..1c687bc16cf 100644 --- a/src/mesa/shader/prog_instruction.h +++ b/src/mesa/shader/prog_instruction.h @@ -121,7 +121,6 @@ /*@{*/ #define SATURATE_OFF 0 #define SATURATE_ZERO_ONE 1 -#define SATURATE_PLUS_MINUS_ONE 2 /*@}*/ diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index 2ab12d3cf3f..df0cf8df266 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -173,8 +173,6 @@ convert_sat( return TGSI_SAT_NONE; case SATURATE_ZERO_ONE: return TGSI_SAT_ZERO_ONE; - case SATURATE_PLUS_MINUS_ONE: - return TGSI_SAT_MINUS_PLUS_ONE; default: assert( 0 ); return TGSI_SAT_NONE;