[Piglit] [RESEND RFC 01/25] gen_tes_input_tests.py: use a proper docstring

Vinson Lee vlee at freedesktop.org
Fri Oct 23 01:24:26 PDT 2015


On Wed, Oct 21, 2015 at 10:20 AM,  <baker.dylan.c at gmail.com> wrote:
> From: Dylan Baker <baker.dylan.c at gmail.com>
>
> This is just syntactic sugar.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  generated_tests/gen_tes_input_tests.py | 32 +++++++++++++++++---------------
>  1 file changed, 17 insertions(+), 15 deletions(-)
>
> diff --git a/generated_tests/gen_tes_input_tests.py b/generated_tests/gen_tes_input_tests.py
> index 8bad144..ea87e72 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
>
> --
> 2.6.1
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list