-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Whitwell wrote: > Module: Mesa > Branch: master > Commit: 09b566e1610ec699490dc01bcea0b8c5cc44a78d > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=09b566e1610ec699490dc01bcea0b8c5cc44a78d > > Author: Keith Whitwell <kei...@vmware.com> > Date: Sat Sep 12 14:13:44 2009 -0700 > > mesa: remove unused SATURATE_PLUS_MINUS_ONE flag > > Never set in mesa. Remove from tgsi translation as well.
I'm in the process of adding support for these NV assembly extensions. I'm working on GL_NV_fragment_program_option now (see the asm-shader-rework-2 branch). GL_NV_vertex_program2_option is next. GL_NV_fragment_program2, which uses the signed saturation, will follow shortly after that. This is just a heads-up in case you're about to make design choices that will make some of this stuff harder to add. :) > --- > > src/mesa/shader/prog_instruction.h | 1 - > src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 -- > 2 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/src/mesa/shader/prog_instruction.h > b/src/mesa/shader/prog_instruction.h > index 39a221e..1c687bc 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 2ab12d3..df0cf8d 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; > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqv1ScACgkQX1gOwKyEAw+OjwCgmLX3+pEicAQWGIfuOeV9K0tK Tc0AnilLgQUXRwZpQx/njxemd3e7iMjG =5TGU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev