[Mesa-dev] [RFC] some glsl->tgsi optimisations

Samuel Pitoiset samuel.pitoiset at gmail.com
Thu Jun 1 13:37:43 UTC 2017


Hi Dave,

Can you rebase your series on top of master because it doesn't apply.

I'm fine with the general idea. Note that I have a shader which spends 
5s in copy_propagate()... That's huge! Looks like this series might 
improve the situation here, but needs more testing.

Thanks!

On 05/30/2017 07:52 AM, Dave Airlie wrote:
> While looking at the fp64 emulation code, we were spending minutes
> in the glsl->tgsi passes as some tests were producing shaders with
>> 32000 temporaries. Now it might be possible to reduce these earlier
> with some GLSL passes, but this code is pretty bad as-is.
> 
> This reduces one test execution time from 4m30 -> 5s.
> 
> I've not regression tested these much, but someone interested
> might want to throw them at some slow compile situations to see
> if they help any.
> 
> I'll give them a lot more testing before I consider them non RFC.
> 
> Dave.
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list