summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-04-01 10:58:46 +0200
committerMichal Krol <[email protected]>2009-04-01 10:58:46 +0200
commitdd6f1771c9e52f1c6126aa223555e363e522c088 (patch)
treece411170bf811165d9228875ed09b27db2fe480e /src/gallium/state_trackers
parent5d8677469b369d2b6a89519be7e379abdf4015d3 (diff)
python/regress: Indent.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-abs.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-add.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp3.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp4.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mov.sh3
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mul.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-sub.sh4
-rw-r--r--src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh3
8 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-abs.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-abs.sh
index 66c1986cef7..f0d0d5de171 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-abs.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-abs.sh
@@ -1,11 +1,15 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL TEMP[0]
+
IMM FLT32 { 0.2, 0.2, 0.0, 0.0 }
+
ADD TEMP[0], IN[0], IMM[0]
ABS OUT[0], TEMP[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-add.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-add.sh
index 78753b76d8a..936c851c9dc 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-add.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-add.sh
@@ -1,9 +1,13 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
+
IMM FLT32 { 0.2, -0.1, 0.0, 0.0 }
+
ADD OUT[0], IN[0], IMM[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp3.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp3.sh
index e4c1c4a9b33..b57d68520fc 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp3.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp3.sh
@@ -1,12 +1,16 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL TEMP[0]
+
IMM FLT32 { 0.0, 0.0, 1.0, 1.0 }
+
DP3 TEMP[0].xy, IN[0], IN[0]
MOV TEMP[0].zw, IMM[0]
MUL OUT[0], IN[0], TEMP[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp4.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp4.sh
index 3e5f248bebc..0eb31719c58 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp4.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-dp4.sh
@@ -1,12 +1,16 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL TEMP[0]
+
IMM FLT32 { 0.0, 0.0, 1.0, 1.0 }
+
DP4 TEMP[0].xy, IN[0], IN[0]
MOV TEMP[0].zw, IMM[0]
MUL OUT[0], IN[0], TEMP[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mov.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mov.sh
index 12712ff8590..bcdec07c204 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mov.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mov.sh
@@ -1,8 +1,11 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
+
MOV OUT[0], IN[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mul.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mul.sh
index 1289fcd2e2b..f3b57c30382 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mul.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-mul.sh
@@ -1,9 +1,13 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
+
IMM FLT32 { 0.6, 0.6, 1.0, 1.0 }
+
MUL OUT[0], IN[0], IMM[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-sub.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-sub.sh
index 9190086a22e..a583b958284 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-sub.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-sub.sh
@@ -1,9 +1,13 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
+
IMM FLT32 { 0.1, 0.1, 0.0, 0.0 }
+
SUB OUT[0], IN[0], IMM[0]
MOV OUT[1], IN[1]
+
END
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh
index 6c767cc017f..10e421684b5 100644
--- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh
+++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vert-xpd.sh
@@ -1,8 +1,11 @@
VERT1.1
+
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
+
XPD OUT[0], IN[0], IN[1]
MOV OUT[1], IN[1]
+
END