summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vertex-shader/vert-frc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/vertex-shader/vert-frc.sh')
-rw-r--r--src/gallium/tests/graw/vertex-shader/vert-frc.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/vertex-shader/vert-frc.sh b/src/gallium/tests/graw/vertex-shader/vert-frc.sh
new file mode 100644
index 00000000000..ff09bfafd0c
--- /dev/null
+++ b/src/gallium/tests/graw/vertex-shader/vert-frc.sh
@@ -0,0 +1,15 @@
+VERT
+
+DCL IN[0]
+DCL OUT[0], POSITION
+DCL OUT[1], COLOR
+
+DCL TEMP[0]
+
+IMM FLT32 { 2.7, 3.1, 4.5, 1.0 }
+
+MUL TEMP[0], IN[0].xyxw, IMM[0]
+MOV OUT[0], IN[0]
+FRC OUT[1], TEMP[0]
+
+END