summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-09-12 14:13:44 -0700
committerKeith Whitwell <[email protected]>2009-09-12 14:15:15 -0700
commit09b566e1610ec699490dc01bcea0b8c5cc44a78d (patch)
tree9b341d558aca026b57f66100aed930b42e1ed733 /src
parent6d8dbd3d1ec888300fb0e9ac3cf61808ba8ecc2b (diff)
mesa: remove unused SATURATE_PLUS_MINUS_ONE flag
Never set in mesa. Remove from tgsi translation as well.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_instruction.h1
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c2
2 files changed, 0 insertions, 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;