summaryrefslogtreecommitdiff
path: root/progs/fp/position.txt
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-03-06 18:53:56 +0000
committerKeith Whitwell <keithw@vmware.com>2009-03-06 21:00:18 +0000
commit52a68b9078bdcf817363c4542252f284292d19f8 (patch)
tree3e4b86db6b38c45e465a030c7b1c45af2567f22c /progs/fp/position.txt
parentb258320dbd0dae943bb817aded392796501a6cde (diff)
fp: dont reference fragment.position.zw
Diffstat (limited to 'progs/fp/position.txt')
-rw-r--r--progs/fp/position.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/fp/position.txt b/progs/fp/position.txt
index 27fac12a3a..1875897d78 100644
--- a/progs/fp/position.txt
+++ b/progs/fp/position.txt
@@ -1,3 +1,4 @@
!!ARBfp1.0
-MUL result.color, fragment.position, {.005}.x;
+MOV result.color, {0}.x;
+MUL result.color.xy, fragment.position, {.005}.x;
END