Re: [Mesa-dev] [PATCH 11/15] glsl: Add conditional-select IR.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner matts...@gmail.com wrote: It's a ?: that operates per-component on vectors. Will be used in upcoming lowering passes for frexp and ldexp. Should we modify the boolean variants of mix() in src/glsl/builtins/ir/ mix.ir to make use of this new IR operation?

[Mesa-dev] [PATCH 11/15] glsl: Add conditional-select IR.

2013-08-22 Thread Matt Turner
It's a ?: that operates per-component on vectors. Will be used in upcoming lowering passes for frexp and ldexp. --- src/glsl/ir.cpp| 25 + src/glsl/ir.h | 18 ++ src/glsl/ir_builder.cpp