summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-04-01 10:58:46 +0200
committerMichal Krol <michal@vmware.com>2009-04-01 10:58:46 +0200
commitdd6f1771c9e52f1c6126aa223555e363e522c088 (patch)
treece411170bf811165d9228875ed09b27db2fe480e
parent5d8677469b369d2b6a89519be7e379abdf4015d3 (diff)
python/regress: Indent.
-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 66c1986cef..f0d0d5de17 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 78753b76d8..936c851c9d 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 e4c1c4a9b3..b57d68520f 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 3e5f248beb..0eb31719c5 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 12712ff859..bcdec07c20 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 1289fcd2e2..f3b57c3038 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 9190086a22..a583b95828 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 6c767cc017..10e421684b 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