diff options
author | Eric Anholt <[email protected]> | 2010-08-02 12:28:38 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-02 12:33:18 -0700 |
commit | eb7e120f0f342541716882c211eca115c2cd0d21 (patch) | |
tree | 98800482399129f35feddeb84d06c71f9945796f /src/glsl/builtins | |
parent | ee7666b5ac2fc7de64baf60835271e15baf89474 (diff) |
glsl2: Fix expression type in builtin tan().
Fixes glsl-fs-tan-1.
Diffstat (limited to 'src/glsl/builtins')
-rw-r--r-- | src/glsl/builtins/110/tan | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/builtins/110/tan b/src/glsl/builtins/110/tan index 3e04892a76c..99798631859 100644 --- a/src/glsl/builtins/110/tan +++ b/src/glsl/builtins/110/tan @@ -7,15 +7,15 @@ (signature vec2 (parameters (declare (in) vec2 angle)) - ((return (expression float / (expression float sin (var_ref angle)) (expression vec2 cos (var_ref angle)))))) + ((return (expression vec2 / (expression vec2 sin (var_ref angle)) (expression vec2 cos (var_ref angle)))))) (signature vec3 (parameters (declare (in) vec3 angle)) - ((return (expression float / (expression float sin (var_ref angle)) (expression vec3 cos (var_ref angle)))))) + ((return (expression vec3 / (expression vec3 sin (var_ref angle)) (expression vec3 cos (var_ref angle)))))) (signature vec4 (parameters (declare (in) vec4 angle)) - ((return (expression float / (expression float sin (var_ref angle)) (expression vec4 cos (var_ref angle)))))) + ((return (expression vec4 / (expression vec4 sin (var_ref angle)) (expression vec4 cos (var_ref angle)))))) )) |