[Mesa-dev] [PATCH 0/3] [RFC] mesa/st: glsl_to_tgsi: improved temp-reg lifetime estimation

Gert Wollny gw.fossdev at gmail.com
Mon Jun 12 08:09:03 UTC 2017


Am Sonntag, den 11.06.2017, 19:21 +0200 schrieb Gert Wollny:
> 
> > > 
> > > Have you measured the CPU overhead of the new code?
> 
> So far no, I guess one would do that with the shader-db to get
> reasonable complex shaders, but I only have a r600 based card so I'm
> not sure whether I can run this. In any case, tomorrow I will take a
> look into this. 

I did runs of the shader-db/run program with valgrind/callgrind 

Here the original merge_registers reports 0.21% and my code reports
0.50%. 

If it is important to cut down on these addes 0.3%, I think, I can
eliminate 0.1% by changing the implementation to not used so many
dynamically allocated objects, but beyond that it will be difficult.

Best, 
Gert 


More information about the mesa-dev mailing list