On Thursday, June 30, 2016 5:03:24 PM PDT Marek Olšák wrote:
> From: Marek Olšák <[email protected]>
> 
> ---
>  split-to-files.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/split-to-files.py b/split-to-files.py
> index 7e14d89..0e1d729 100755
> --- a/split-to-files.py
> +++ b/split-to-files.py
> @@ -92,6 +92,8 @@ def write_shader_test(filename, shaders):
>              out.write("[tessellation control shader]\n")
>          elif stage == "tess eval" or stage == "tessellation evaluation":
>              out.write("[tessellation evaluation shader]\n")
> +        elif stage == "compute":
> +            out.write("[compute shader]\n")
>          else:
>              assert False, stage
>          out.write(shaders[(stage, num)])
> 

FWIW, I finally landed the MESA_SHADER_CAPTURE_PATH patch a while back,
which means you can just do:

    $ mkdir /tmp/mesa
    $ MESA_SHADER_CAPTURE_PATH=/tmp/mesa ./application

and it'll dump .shader_test files for you.

I'd be in favor of deleting split-to-files.py, personally, but if it's
still useful to you, feel free to land these two patches.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to