Reviewed-by: Jason Ekstrand
Tested-by: Jason Ekstrand
And here's the shader-db stats for the commit message:
total NIR instructions in shared programs: 2045293 -> 2041209 (-0.20%)
NIR instructions in affected programs: 126564 -> 122480 (-3.23%)
helped:615
HUR
On Tue, Feb 3, 2015 at 1:54 AM, Connor Abbott wrote:
> This removes phi nodes whose sources all point to the same thing.
>
> Only compile tested.
>
> Signed-off-by: Connor Abbott
> ---
> src/glsl/Makefile.sources | 1 +
> src/glsl/nir/nir.h | 2 +
> src/glsl/nir/nir_
This removes phi nodes whose sources all point to the same thing.
Only compile tested.
Signed-off-by: Connor Abbott
---
src/glsl/Makefile.sources | 1 +
src/glsl/nir/nir.h | 2 +
src/glsl/nir/nir_opt_remove_phis.c | 111 +
3 files