[Mesa-dev] [PATCH 1/3] mesa/glsl: add ir_unop_round
Kenneth Graunke
kenneth at whitecape.org
Mon Jul 2 16:40:04 PDT 2012
On 07/02/2012 03:59 PM, Brian Paul wrote:
> The GLSL round() and roundEven() functions were both generating the
> ir_unop_round_even instruction but the GLSL spec allows some leeway for
> implementing round(). This change allows drivers to take advantage of
> that. For i965, they still equate to the same thing.
Yeah - I just hadn't bothered to plumb a different one. This looks good
to me. Thanks Brian!
Patch 1 is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list