[Piglit] Dumping render of a shader_test to PNG file

Ilia Mirkin imirkin at alum.mit.edu
Thu Jun 27 00:21:12 UTC 2019

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" }



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

More information about the Piglit mailing list