glsl: Simplify built-in generator functions for min3/max3/mid3.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 6 Jan 2014 22:39:19 +0000 (14:39 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 24 Jan 2014 22:18:15 +0000 (14:18 -0800)
commit6709f0549f60a52d76868f3a929e075a8971c7fb
tree3341e432fcb139301136e077792828d8368dd916
parent44a86e2b4fca7c7cab243dfa62dc17f4379fc8e3
glsl: Simplify built-in generator functions for min3/max3/mid3.

The type of all three parameters are identical, so we don't need to
specify it three times.  The predicate is always identical too, so we
don't need to make it a parameter, either.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/builtin_functions.cpp