summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_fragprog.h
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2006-01-21 11:43:37 +0000
committerJerome Glisse <glisse@freedesktop.org>2006-01-21 11:43:37 +0000
commit41a874f486d42d7200bef04a62c519d1943cb76d (patch)
tree7a3622330be2e11cdb4f90c39d9d0d3e991c5a17 /src/mesa/drivers/dri/r300/r300_fragprog.h
parentef073b7a756e37be59308a2e598cfa9e0ba3a700 (diff)
Add individual component negation.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.h b/src/mesa/drivers/dri/r300/r300_fragprog.h
index d841af98a8..f0aa0fc6c7 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.h
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.h
@@ -20,7 +20,8 @@ typedef struct _pfs_reg_t {
GLuint index:6;
GLuint v_swz:5;
GLuint s_swz:5;
- GLuint negate:1; //XXX: we need to handle negate individually
+ GLuint negate_v:1;
+ GLuint negate_s:1;
GLuint absolute:1;
GLboolean no_use:1;
GLboolean valid:1;