Re: [Mesa-dev] [PATCH 1/2] nir: Recognize a pattern for doing b2f without the opcode.

2015-03-30 Thread Connor Abbott
Series is Reviewed-by: Connor Abbott On Mon, Mar 30, 2015 at 1:12 PM, Eric Anholt wrote: > Since we have patterns based on b2f, generate them if we see the b2f > equivalent using an iand. This is common when generating NIR from TGSI. > --- > src/glsl/nir/nir_opt_algebraic.py | 1 + > 1 file c

[Mesa-dev] [PATCH 1/2] nir: Recognize a pattern for doing b2f without the opcode.

2015-03-30 Thread Eric Anholt
Since we have patterns based on b2f, generate them if we see the b2f equivalent using an iand. This is common when generating NIR from TGSI. --- src/glsl/nir/nir_opt_algebraic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/nir/nir_opt_algebraic.py b/src/glsl/nir/nir_opt_algebrai