summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-08-11 15:51:26 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2015-11-05 14:24:33 -0800
commit278cd970048f351186fa8d5eb4223affeb38ca7c (patch)
treecf999ada4f8606746f3fde4a53f910bfc0dc9a9b
parentcf11fda7504c6ad44ca26ce2dea73bdd50a861f7 (diff)
gen_tes_input_tests.py: use a proper docstring
This is just syntactic sugar. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Vinson Lee <vlee@freedesktop.org>
-rw-r--r--generated_tests/gen_tes_input_tests.py32
1 files changed, 17 insertions, 15 deletions
diff --git a/generated_tests/gen_tes_input_tests.py b/generated_tests/gen_tes_input_tests.py
index 8bad14488..ea87e72af 100644
--- a/generated_tests/gen_tes_input_tests.py
+++ b/generated_tests/gen_tes_input_tests.py
@@ -22,21 +22,23 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
-## Test passing variables from the tessellation control shader to the
-# tessellation evaluation shader.
-#
-# For every combination of varying type as scalar and as two element array and
-# per-vertex or per-patch varying create a test that that passes said variable
-# between the tessellation shader stages.
-#
-# Copy a uniform value to the varying in the tessellation control shader and
-# compare the varying to the same uniform in the tessellation evaluation
-# shader.
-# If the values are equal draw the screen green, red otherwise.
-#
-# Draw for tessellated quads. Each should cover one quarter of the screen.
-#
-# This script outputs, to stdout, the name of each file it generates.
+"""Test passing variables from the tessellation control shader to the
+tessellation evaluation shader.
+
+For every combination of varying type as scalar and as two element array and
+per-vertex or per-patch varying create a test that that passes said variable
+between the tessellation shader stages.
+
+Copy a uniform value to the varying in the tessellation control shader and
+compare the varying to the same uniform in the tessellation evaluation
+shader.
+If the values are equal draw the screen green, red otherwise.
+
+Draw for tessellated quads. Each should cover one quarter of the screen.
+
+This script outputs, to stdout, the name of each file it generates.
+
+"""
import os, sys, random