summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-01-04 16:42:50 -0800
committerEric Anholt <eric@anholt.net>2015-03-25 12:46:18 -0700
commitb75313b02de0b03c701e6aeb55974842aa407780 (patch)
tree8f843b84c8a7531d237dbc90d406a4f850ae72b1
parent32134bdaea05b73077cad64e36cf2cd88baa9b10 (diff)
variable-index-read/write.sh: Add a script for regenerating all of them.
Manually running the command 4 times every time you want to touch the scripts is terrible.
-rwxr-xr-xtests/spec/glsl-1.10/variable-index-regen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/spec/glsl-1.10/variable-index-regen.sh b/tests/spec/glsl-1.10/variable-index-regen.sh
new file mode 100755
index 000000000..3df808241
--- /dev/null
+++ b/tests/spec/glsl-1.10/variable-index-regen.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Run this script with ./variable-index-regen.sh to regenerate all the
+# variable-indexing scripts.
+
+(cd execution/variable-indexing &&
+ ../../../glsl-1.10/variable-index-read.sh 1.10 &&
+ ../../../glsl-1.10/variable-index-write.sh 1.10)
+
+(cd ../glsl-1.20/execution/variable-indexing &&
+ ../../../glsl-1.10/variable-index-read.sh 1.20 &&
+ ../../../glsl-1.10/variable-index-write.sh 1.20)