[Mesa-dev] [PATCH shader-db 1/3] split-to-files: deal with minimum versions, other shader types

Eero Tamminen eero.t.tamminen at intel.com
Wed Dec 9 07:12:01 PST 2015


Hi,

On 11/09/2015 08:47 PM, Matt Turner wrote:
> On Mon, Nov 9, 2015 at 10:46 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> I used this script in conjunction with ST_DUMP_SHADERS. What other way is there?
>
> Some local hack and we should probably finish and upstream.

Did anything happen with this?

I had to rewrite split-to-files because it didn't output all (ARB) 
shaders and it picks the wrong one [1] when application re-uses same 
program numbers.

[1] It picked first one, although I think almost always the last one 
will be most interesting.  Last one will also allow easily dumping 
different shader sets (that re-use same program numbers) from the same 
application.

RFC patches for my changes are attached.


	- Eero


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rewrite-split-to-files.py-to-fix-it.patch
Type: text/x-patch
Size: 15863 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151209/4f576e9e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Update-README.patch
Type: text/x-patch
Size: 2658 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151209/4f576e9e/attachment-0003.bin>


More information about the mesa-dev mailing list