Re: [Mesa-dev] [PATCH 11/14] glsl: Implement saturate as ir_binop_saturate

2014-06-24 Thread Abdiel Janulgue
Good catch! Yep, should be unop_saturate On 24.06.2014 03:13, Petri Latvala wrote: > On 06/24/2014 08:27 AM, Abdiel Janulgue wrote: >> Now that we have the ir_binop_saturate implemented as a single >> instruction, generate the correct simplified expression. >> > > s/binop_saturate/unop_saturate/

Re: [Mesa-dev] [PATCH 11/14] glsl: Implement saturate as ir_binop_saturate

2014-06-24 Thread Petri Latvala
On 06/24/2014 08:27 AM, Abdiel Janulgue wrote: Now that we have the ir_binop_saturate implemented as a single instruction, generate the correct simplified expression. s/binop_saturate/unop_saturate/ in subject and commit text. -- Petri Latvala __

[Mesa-dev] [PATCH 11/14] glsl: Implement saturate as ir_binop_saturate

2014-06-23 Thread Abdiel Janulgue
Now that we have the ir_binop_saturate implemented as a single instruction, generate the correct simplified expression. Signed-off-by: Abdiel Janulgue --- src/glsl/ir_builder.cpp | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/glsl/ir_builder.cpp b/src/glsl/ir_builde