diff options
author | Eric Anholt <[email protected]> | 2010-07-19 10:31:03 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-19 10:47:12 -0700 |
commit | 82d4b9593bd541b20771cddc1365add21dea6ba9 (patch) | |
tree | 70687f46b37b3a6bf418116507de018cb93b27f0 /src/glsl/builtins/110/atan | |
parent | 95c08920ea3d040360e5cc51d8a852d21a0329ee (diff) |
glsl2: Fix the expression type for atan's pi * sign(y).
Fixes CorrectFunction.vert.
Diffstat (limited to 'src/glsl/builtins/110/atan')
-rw-r--r-- | src/glsl/builtins/110/atan | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/builtins/110/atan b/src/glsl/builtins/110/atan index e5542350b51..bcf75718e45 100644 --- a/src/glsl/builtins/110/atan +++ b/src/glsl/builtins/110/atan @@ -67,7 +67,7 @@ (expression float + (var_ref r) (expression float * - (expression int sign (var_ref y)) + (expression float sign (var_ref y)) (constant float (3.1415926)))))) ())) ()) @@ -93,7 +93,7 @@ (expression vec2 + (var_ref r) (expression vec2 * - (expression int sign (var_ref y)) + (expression float sign (var_ref y)) (constant float (3.1415926)))))) ())) ()) @@ -119,7 +119,7 @@ (expression vec3 + (var_ref r) (expression vec3 * - (expression int sign (var_ref y)) + (expression float sign (var_ref y)) (constant float (3.1415926)))))) ())) ()) @@ -145,7 +145,7 @@ (expression vec4 + (var_ref r) (expression vec4 * - (expression int sign (var_ref y)) + (expression float sign (var_ref y)) (constant float (3.1415926)))))) ())) ()) |