Define new NEGATE_* tokens for setting the src register's NegateBase field.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 30 May 2006 22:17:35 +0000 (22:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 30 May 2006 22:17:35 +0000 (22:17 +0000)
commita8c4242395b1bce0eac2a20243e5289414a9f511
tree7ff0d74522c04fb170ad0ce472c1fe3562de4498
parente4cb9cd167b2993a4d73871b80216af9766f130b
Define new NEGATE_* tokens for setting the src register's NegateBase field.
Before, we were using GL_TRUE/GL_FALSE in a few places.
Note: only the SWZ instruction can negate individual components.
src/mesa/shader/nvfragparse.c
src/mesa/shader/nvvertparse.c
src/mesa/shader/program_instruction.h