Re: [Mesa-dev] [PATCH 2/4] i965: Use greater-equal cmod to implement maximum.

2015-02-19 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 02/10/2015 11:09 AM, Matt Turner wrote: > The docs specifically call out SEL with .l and .ge as the > implementations of MIN and MAX respectively. Among other things, SEL > with these conditional mods are commutative. > --- > src/mesa/drivers/dri/i965/

[Mesa-dev] [PATCH 2/4] i965: Use greater-equal cmod to implement maximum.

2015-02-10 Thread Matt Turner
The docs specifically call out SEL with .l and .ge as the implementations of MIN and MAX respectively. Among other things, SEL with these conditional mods are commutative. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 5 - src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp| 6 +++---