Re: [Mesa-dev] [PATCH 11/25] glsl: interleave constant propagation and folding

2015-08-20 Thread Ian Romanick
I had thought about doing something similar once upon a time, but I never got around to it. I'm glad you got some good performance data. With the couple typos fixed, this patch is Reviewed-by: Ian Romanick ian.d.roman...@intel.com On 08/19/2015 09:37 PM, Timothy Arceri wrote: The constant

[Mesa-dev] [PATCH 11/25] glsl: interleave constant propagation and folding

2015-08-19 Thread Timothy Arceri
The constant folding pass can take a long time to complete so rather than running throught the entire pass each time a new constant is propagated (and vice versa) interleave them. This change helps ES31-CTS.arrays_of_arrays.InteractionFunctionCalls1 go from around 2 min - 23 sec. ---