summaryrefslogtreecommitdiffstats
path: root/progs/fp/position-frc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/position-frc.txt')
-rw-r--r--progs/fp/position-frc.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/fp/position-frc.txt b/progs/fp/position-frc.txt
new file mode 100644
index 00000000000..35ae3efa10e
--- /dev/null
+++ b/progs/fp/position-frc.txt
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+# expected: brown triangle
+# black means the wrong pixel center convention is being used
+MOV result.color, {0}.x;
+FRC result.color.xy, fragment.position;
+END