diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-20 17:52:40 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-20 17:52:40 +0000 |
commit | e31ac052236ea615b4995f9ec301d8af4b864531 (patch) | |
tree | 5f0229e4a01b25078b710cbc4d288c0c37fc83c3 /src/mesa/swrast | |
parent | 22db53577603afef8fdf62c324ff5977de76b9d8 (diff) |
Make Saturate a 2-bit field again, renamed to SaturateMode with three
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_nvfragprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c index 9e35f4e425..7c59a2bb59 100644 --- a/src/mesa/swrast/s_nvfragprog.c +++ b/src/mesa/swrast/s_nvfragprog.c @@ -390,7 +390,7 @@ store_vector4( const struct prog_instruction *inst, const GLfloat value[4] ) { const struct prog_dst_register *dest = &(inst->DstReg); - const GLboolean clamp = inst->Saturate; + const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE; const GLboolean updateCC = inst->CondUpdate; GLfloat *dstReg; GLfloat dummyReg[4]; |