diff options
Diffstat (limited to 'src/glsl/builtins/ir/acos.ir')
-rw-r--r-- | src/glsl/builtins/ir/acos.ir | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/glsl/builtins/ir/acos.ir b/src/glsl/builtins/ir/acos.ir index d1cfebeff8a..f0078f884e7 100644 --- a/src/glsl/builtins/ir/acos.ir +++ b/src/glsl/builtins/ir/acos.ir @@ -2,21 +2,28 @@ (signature float (parameters (declare (in) float x)) - ((return (expression float - (constant float (1.5707963)) - (call asin ((var_ref x))))))) + ((declare () float s) + (call asin (var_ref s) ((var_ref x))) + (return (expression float - (constant float (1.5707963)) (var_ref s))))) + (signature vec2 (parameters (declare (in) vec2 x)) - ((return (expression vec2 - (constant float (1.5707963)) - (call asin ((var_ref x))))))) + ((declare () vec2 s) + (call asin (var_ref s) ((var_ref x))) + (return (expression vec2 - (constant float (1.5707963)) (var_ref s))))) + (signature vec3 (parameters (declare (in) vec3 x)) - ((return (expression vec3 - (constant float (1.5707963)) - (call asin ((var_ref x))))))) + ((declare () vec3 s) + (call asin (var_ref s) ((var_ref x))) + (return (expression vec3 - (constant float (1.5707963)) (var_ref s))))) + (signature vec4 (parameters (declare (in) vec4 x)) - ((return (expression vec4 - (constant float (1.5707963)) - (call asin ((var_ref x))))))) + ((declare () vec4 s) + (call asin (var_ref s) ((var_ref x))) + (return (expression vec4 - (constant float (1.5707963)) (var_ref s))))) )) |