Thanks, Ilia - I wasn't aware of such options, and those are exactly what I was looking for.
Thanks, Abel ________________________________ From: Ilia Mirkin <imir...@alum.mit.edu> Sent: Wednesday, June 26, 2019 7:21:12 PM To: Abel Briggs Cc: piglit@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 <abelbrig...@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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit