summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nv40_vertprog.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-21 18:37:01 +0200
committerLuca Barbieri <[email protected]>2010-08-21 20:42:15 +0200
commit5287d86a0b818fd0a7cba6d7728b701663ea78a5 (patch)
treec77cf92c9c87657f8abb572a9e6af229b352b2aa /src/gallium/drivers/nvfx/nv40_vertprog.h
parentaf4a6eba55ad81e343db788a97f3eaa3cf184369 (diff)
nvfx: fix vertex shader headers
Diffstat (limited to 'src/gallium/drivers/nvfx/nv40_vertprog.h')
-rw-r--r--src/gallium/drivers/nvfx/nv40_vertprog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nv40_vertprog.h b/src/gallium/drivers/nvfx/nv40_vertprog.h
index 7337293babc..3d0a1fe3d10 100644
--- a/src/gallium/drivers/nvfx/nv40_vertprog.h
+++ b/src/gallium/drivers/nvfx/nv40_vertprog.h
@@ -44,7 +44,7 @@
#define NV40_VP_INST_SRC1_ABS (1 << 22)
#define NV40_VP_INST_SRC0_ABS (1 << 21)
#define NV40_VP_INST_VEC_DEST_TEMP_SHIFT 15
-#define NV40_VP_INST_VEC_DEST_TEMP_MASK (0x1F << 15)
+#define NV40_VP_INST_VEC_DEST_TEMP_MASK (0x3F << 15)
#define NV40_VP_INST_COND_TEST_ENABLE (1 << 13)
#define NV40_VP_INST_COND_SHIFT 10
#define NV40_VP_INST_COND_MASK (0x7 << 10)
@@ -100,7 +100,7 @@
#define NV40_VP_INST_SRC2H_SHIFT 0
#define NV40_VP_INST_SRC2H_MASK (0x3F << 0)
#define NV40_VP_INST_IADDRH_SHIFT 0
-#define NV40_VP_INST_IADDRH_MASK (0x1F << 0)
+#define NV40_VP_INST_IADDRH_MASK (0x3F << 0)
/* ---- OPCODE BITS 31:0 / data DWORD 3 --- */
#define NV40_VP_INST_IADDRL_SHIFT 29