Re: [Mesa-dev] [PATCH 10/11] nir/lower_vec_to_movs: Coalesce movs on-the-fly when possible

2015-09-15 Thread Eduardo Lima Mitev
On 09/10/2015 02:50 AM, Jason Ekstrand wrote: > The old pass blindly inserted a bunch of moves into the shader with no > concern for whether or not it was really needed. This adds code to try and > coalesce into the destination of the instruction providing the value. > > Shader-db results for

[Mesa-dev] [PATCH 10/11] nir/lower_vec_to_movs: Coalesce movs on-the-fly when possible

2015-09-09 Thread Jason Ekstrand
The old pass blindly inserted a bunch of moves into the shader with no concern for whether or not it was really needed. This adds code to try and coalesce into the destination of the instruction providing the value. Shader-db results for vec4 shaders on Haswell: total instructions in shared