<div dir="ltr">On Sun, Jan 4, 2015 at 10:20 AM, Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br>> On Sunday 04 January 2015 09:36:40 Aras Pranckevicius wrote:<br>> > Is it possible to submit more shaders into whatever shader-db is typically<br>> > used by Mesa developers to test compiler optimizations on? I could package<br>> > up some built-in shaders from Unity 4 / Unity 5 (which end up being used in<br>> > a many, many Unity games), in the format expected by shader-db, and under<br>> > whatever license is needed.<br>> > Would that be useful, and if so, what are the steps to get there?<br>><br>> Absolutely!  We'd love to expand it.<br>> You can just run a program that compiles the shaders with MESA_GLSL=dump and<br>> email me the output.  (MESA_GLSL=dump ./yourapp &> log_to_be_emailed)<br><div><br></div><div>Since I don't even have a Linux box nearby, it would be way easier for me to change Unity source code to dump the shaders into the right format directly, and do it from a Mac (Linux Unity game builds use exactly the same shaders anyway).</div><div><br></div><div><br></div><div>> If you'd like them included in the public repository, I'll also need a license<br>> header saying that the shaders are freely redistributable.</div><div><br></div><div>MIT or BSD would be fine with me; are they ok for public shader-db?<br><br><br><br>--<br>Aras Pranckevičius<br>work: <a href="http://unity3d.com">http://unity3d.com</a><br>home: <a href="http://aras-p.info">http://aras-p.info</a></div><div><br></div></div>