Re: [Mesa-dev] [RFC] optimise st_glsl_to_tgsi

2015-08-26 Thread Dave Airlie
On 27 August 2015 at 11:29, Dave Airlie wrote: > I profiled shader-db running on radeonsi, and the temp register > handling passes in the glsl->tgsi convertor were quite heavy > users of CPU. > > These two passes are my attempt at cleaning them up to avoid > looping over the instruction set so muc

[Mesa-dev] [RFC] optimise st_glsl_to_tgsi

2015-08-26 Thread Dave Airlie
I profiled shader-db running on radeonsi, and the temp register handling passes in the glsl->tgsi convertor were quite heavy users of CPU. These two passes are my attempt at cleaning them up to avoid looping over the instruction set so much. I'm in the process of piglitting then, On my CPU, a sha