[Mesa-dev] [PATCH 2/2] split-to-files.py: fix parsing tessellation shaders

Ilia Mirkin imirkin at alum.mit.edu
Sat Jan 23 04:29:01 PST 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Sat, Jan 23, 2016 at 6:47 AM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
>  split-to-files.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/split-to-files.py b/split-to-files.py
> index 14f19a4..04dc867 100755
> --- a/split-to-files.py
> +++ b/split-to-files.py
> @@ -88,9 +88,9 @@ def write_shader_test(filename, shaders):
>              out.write("[fragment shader]\n")
>          elif stage == "geometry":
>              out.write("[geometry shader]\n")
> -        elif stage == "tess ctrl":
> +        elif stage == "tess ctrl" or stage == "tessellation control":
>              out.write("[tessellation control shader]\n")
> -        elif stage == "tess eval":
> +        elif stage == "tess eval" or stage == "tessellation evaluation":
>              out.write("[tessellation evaluation shader]\n")
>          else:
>              assert False, stage
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list