summaryrefslogtreecommitdiff
path: root/progs/fp
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp')
-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