[Piglit] [RESEND RFC 11/25] gen_tcs_input_tests.py: Use a proper docstring

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Oct 21 10:20:20 PDT 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 generated_tests/gen_tcs_input_tests.py | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/generated_tests/gen_tcs_input_tests.py b/generated_tests/gen_tcs_input_tests.py
index 883c5cc..ac56905 100644
--- a/generated_tests/gen_tcs_input_tests.py
+++ b/generated_tests/gen_tcs_input_tests.py
@@ -22,18 +22,20 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
-## Test passing variables from the vertex shader to the tessellation control
-# shader.
-#
-# For every varying type create one tests that passes a scalar of that type
-# and one test that passes a two element array.
-# Copy a uniform value to the varying in the vertex shader and compare the
-# varying to the same uniform in the tessellation control 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 vertex shader to the tessellation control
+shader.
+
+For every varying type create one tests that passes a scalar of that type
+and one test that passes a two element array.
+Copy a uniform value to the varying in the vertex shader and compare the
+varying to the same uniform in the tessellation control 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
 
-- 
2.6.1



More information about the Piglit mailing list