From 09b566e1610ec699490dc01bcea0b8c5cc44a78d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 12 Sep 2009 14:13:44 -0700 Subject: [PATCH] mesa: remove unused SATURATE_PLUS_MINUS_ONE flag Never set in mesa. Remove from tgsi translation as well. --- src/mesa/shader/prog_instruction.h | 1 - src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 -- 2 files changed, 3 deletions(-) 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; -- 2.30.2