summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nv40_shader.h
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2007-01-25 13:40:51 +1100
committerBen Skeggs <darktama@iinet.net.au>2007-01-25 13:40:51 +1100
commit86996dfe32fccd5777dd0e410b5dbe964fb206d1 (patch)
treee3852a447677b2158a0c0964260bae2de7941286 /src/mesa/drivers/dri/nouveau/nv40_shader.h
parent2d7687865e8831e365756f1270c03ee70298ba4c (diff)
nouveau: add result scaling to shader backend, use it in RSQ emul for NV40.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv40_shader.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv40_shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv40_shader.h b/src/mesa/drivers/dri/nouveau/nv40_shader.h
index 2a2b5639b6..584f4c23e0 100644
--- a/src/mesa/drivers/dri/nouveau/nv40_shader.h
+++ b/src/mesa/drivers/dri/nouveau/nv40_shader.h
@@ -399,8 +399,8 @@
/* high order bits of SRC1 */
#define NV40_FP_OP_OPCODE_IS_BRANCH (1<<31)
-#define NV40_FP_OP_SRC_SCALE_SHIFT 28
-#define NV40_FP_OP_SRC_SCALE_MASK (3 << 28)
+#define NV40_FP_OP_DST_SCALE_SHIFT 28
+#define NV40_FP_OP_DST_SCALE_MASK (3 << 28)
/* SRC1 LOOP */
#define NV40_FP_OP_LOOP_INCR_SHIFT 19