Re: [Mesa-dev] [PATCH] glsl: Conditionalize atan2 math.

2016-01-19 Thread Matt Turner
I wonder how you came across that. Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] glsl: Conditionalize atan2 math.

2016-01-19 Thread Kenneth Graunke
In the old hand-writen implementation of atan2, the calculation of atan(y/x) was performed conditionally in the "then" block of the outermost if statement. I believe I accidentally lifted this out into unconditional code when converting to IR builder. For reference, the original hand-written IR