summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nv40_vertprog.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-05 05:53:55 +0200
committerLuca Barbieri <[email protected]>2010-09-05 17:52:25 +0200
commit76f696b1f63cd3c5f2c4dcdfa91b93d4b5a80dbe (patch)
tree53ead4e4948a527f55b7281f2dac5919036488e2 /src/gallium/drivers/nvfx/nv40_vertprog.h
parent8e2badfc269082f4b52a82ac1c5b4350bef0d01b (diff)
nvfx: support saturate in vp
Completely untested, since Mesa apparently never uses this currently. In particular, it might not work with scalar slot op.
Diffstat (limited to 'src/gallium/drivers/nvfx/nv40_vertprog.h')
-rw-r--r--src/gallium/drivers/nvfx/nv40_vertprog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nv40_vertprog.h b/src/gallium/drivers/nvfx/nv40_vertprog.h
index 3d0a1fe3d10..c1f2208f513 100644
--- a/src/gallium/drivers/nvfx/nv40_vertprog.h
+++ b/src/gallium/drivers/nvfx/nv40_vertprog.h
@@ -38,6 +38,7 @@
#define NV40_VP_INST_COND_UPDATE_ENABLE ((1 << 14)|1<<29)
/* use address reg as index into attribs */
#define NV40_VP_INST_INDEX_INPUT (1 << 27)
+#define NV40_VP_INST_SATURATE (1 << 26)
#define NV40_VP_INST_COND_REG_SELECT_1 (1 << 25)
#define NV40_VP_INST_ADDR_REG_SELECT_1 (1 << 24)
#define NV40_VP_INST_SRC2_ABS (1 << 23)