[Piglit] Dumping render of a shader_test to PNG file
Abel Briggs
abelbriggs1 at hotmail.com
Fri Jun 28 14:40:37 UTC 2019
Thanks, Ilia - I wasn't aware of such options, and those are exactly what I was looking for.
Thanks,
Abel
________________________________
From: Ilia Mirkin <imirkin at alum.mit.edu>
Sent: Wednesday, June 26, 2019 7:21:12 PM
To: Abel Briggs
Cc: piglit at lists.freedesktop.org
Subject: Re: [Piglit] Dumping render of a shader_test to PNG file
You can run anything that uses piglit-framework-gl with -png, which
should produce a binname%d.png file containing the output. Probably
best combined with -fbo -auto. e.g.
bin/shader_runner tmp.shader_test -png -fbo -auto
Writing shader_runner000.png...
PIGLIT: {"result": "pass" }
Cheers,
-ilia
On Wed, Jun 26, 2019 at 5:18 PM Abel Briggs <abelbriggs1 at hotmail.com> wrote:
>
> Hi,
>
> I was wondering if the idea of being able to dump the output of a shader_test to some kind of image file (maybe through a command in the [test] header) had ever come up before, and if so, whether it exists in piglit or not. I did some searching and I couldn't find any documentation about such a feature existing.
>
> If not, I have a use case for it and would perhaps like to contribute a patch to the project.
>
> Thanks.
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20190628/a04d33c8/attachment.html>
More information about the Piglit
mailing list