summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-lrp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-lrp.sh')
-rw-r--r--src/gallium/tests/graw/vertex-shader/vert-lrp.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-lrp.sh b/src/gallium/tests/graw/vertex-shader/vert-lrp.sh
new file mode 100644
index 0000000..a26ca3b
--- /dev/null
+++ b/src/gallium/tests/graw/vertex-shader/vert-lrp.sh
@@ -0,0 +1,14 @@
+VERT
+
+DCL IN[0]
+DCL IN[1]
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+DCL TEMP[0]
+
+ABS TEMP[0], IN[0]
+MOV OUT[0], IN[0]
+LRP OUT[1], TEMP[0], IN[1].xxxx, IN[1].yyyy
+
+END