[Mesa-dev] glsl2: optimizing unused struct assignments
Ian Romanick
idr at freedesktop.org
Fri Aug 6 15:31:50 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aras Pranckevicius wrote:
>> By the way, it would be useful to get some examples of your shaders as
>> shader_runner tests in piglit. That makes them easy to analyze for
>> optimization opportunities, and they serve as regression tests to make
>> sure we don't break your shaders. Would you be up for making some of
>> those?
>
> I don't quite know what piglit or shader_runner is... I guess it's
> stuff here: http://cgit.freedesktop.org/piglit/tree/tests/shaders ?
Right. Shader runner is takes a simple .ini-style file with shaders,
uniform values, draw calls, and pixel probes. Look at the *.shader_test
files for examples.
> I do have about 500 random shaders from Unity here:
> http://github.com/aras-p/glsl-optimizer/tree/glsl2/src/glsl/optimizer-tests/
> (the *-in.txt files), but to prepare them for piglit I'd have to think
> up some instructions to draw something and inspect the pixel values,
> right?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxcjVUACgkQX1gOwKyEAw8ZJQCeLGOkpB5qcweZPG2uvqTAQrAq
KdcAnjvgDMGC+PeDOPw8mbAzreiLBBdD
=VrhY
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list