summaryrefslogtreecommitdiffstats
path: root/progs/fp/tex-pos.txt
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-03-06 21:15:19 +0000
committerKeith Whitwell <keithw@vmware.com>2009-03-06 21:15:19 +0000
commit185ff38895cfc1376f21d892b122235ed0563922 (patch)
treea75ee02dc6035046540d23ec1299c391486a2453 /progs/fp/tex-pos.txt
parent2dd9a0197cf3d4d8ee5808c613fab9a256b9a0e6 (diff)
downloadexternal_mesa3d-185ff38895cfc1376f21d892b122235ed0563922.zip
external_mesa3d-185ff38895cfc1376f21d892b122235ed0563922.tar.gz
external_mesa3d-185ff38895cfc1376f21d892b122235ed0563922.tar.bz2
fp: add some more texture, position and kill tests
Diffstat (limited to 'progs/fp/tex-pos.txt')
-rw-r--r--progs/fp/tex-pos.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/fp/tex-pos.txt b/progs/fp/tex-pos.txt
new file mode 100644
index 0000000..b969f42
--- /dev/null
+++ b/progs/fp/tex-pos.txt
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP R0;
+MOV R0, {0.0}.x;
+MUL R0.xy, fragment.position, {0.008}.x;
+TEX result.color, R0, texture[0], 2D;
+END