fp: dont reference fragment.position.zw
authorKeith Whitwell <keithw@vmware.com>
Fri, 6 Mar 2009 18:53:56 +0000 (18:53 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 6 Mar 2009 21:00:18 +0000 (21:00 +0000)
progs/fp/position.txt

index 27fac12a3a502add3e8602df04a982e564554eed..1875897d781ae5795723085ff44539cafaa2630c 100644 (file)
@@ -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