From: Kenneth Graunke Date: Sun, 31 Oct 2010 04:51:01 +0000 (-0700) Subject: glsl/builtins: Rename 'x' to 'y_over_x' in atan(float) implementation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84566c770a8742638ff11fbae59756a50513d621;p=mesa.git glsl/builtins: Rename 'x' to 'y_over_x' in atan(float) implementation. For consistency with the vec2/vec3/vec4 variants. --- diff --git a/src/glsl/builtins/ir/atan b/src/glsl/builtins/ir/atan index 6dc99d74d37..32f09d3c7a7 100644 --- a/src/glsl/builtins/ir/atan +++ b/src/glsl/builtins/ir/atan @@ -1,14 +1,14 @@ ((function atan (signature float (parameters - (declare (in) float x)) + (declare (in) float y_over_x)) ((return (call asin ((expression float * - (var_ref x) + (var_ref y_over_x) (expression float rsq (expression float + (expression float * - (var_ref x) - (var_ref x)) + (var_ref y_over_x) + (var_ref y_over_x)) (constant float (1.0)))))))))) (signature vec2