Re: [Piglit] Dumping render of a shader_test to PNG file

2019-06-28 Thread Abel Briggs
Thanks, Ilia - I wasn't aware of such options, and those are exactly what I was looking for. Thanks, Abel From: Ilia Mirkin Sent: Wednesday, June 26, 2019 7:21:12 PM To: Abel Briggs Cc: piglit@lists.freedesktop.org Subject: Re: [Piglit] Dumping render

Re: [Piglit] Dumping render of a shader_test to PNG file

2019-06-26 Thread Ilia Mirkin
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,

[Piglit] Dumping render of a shader_test to PNG file

2019-06-26 Thread Abel Briggs
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