<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks, Ilia - I wasn't aware of such options, and those are exactly what I was looking for.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<span id="x_OutlookSignature">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks,<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Abel</div>
</span><br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ilia Mirkin <imirkin@alum.mit.edu><br>
<b>Sent:</b> Wednesday, June 26, 2019 7:21:12 PM<br>
<b>To:</b> Abel Briggs<br>
<b>Cc:</b> piglit@lists.freedesktop.org<br>
<b>Subject:</b> Re: [Piglit] Dumping render of a shader_test to PNG file</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">You can run anything that uses piglit-framework-gl with -png, which<br>
should produce a binname%d.png file containing the output. Probably<br>
best combined with -fbo -auto. e.g.<br>
<br>
bin/shader_runner tmp.shader_test -png -fbo -auto<br>
Writing shader_runner000.png...<br>
PIGLIT: {"result": "pass" }<br>
<br>
Cheers,<br>
<br>
  -ilia<br>
<br>
On Wed, Jun 26, 2019 at 5:18 PM Abel Briggs <abelbriggs1@hotmail.com> wrote:<br>
><br>
> Hi,<br>
><br>
> 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.<br>
><br>
> If not, I have a use case for it and would perhaps like to contribute a patch to the project.<br>
><br>
> Thanks.<br>
> _______________________________________________<br>
> Piglit mailing list<br>
> Piglit@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/piglit">https://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</div>
</span></font>
</body>
</html>