Home | History | Annotate | Download | only in ir
      1 ((function asin
      2    (signature float
      3      (parameters
      4        (declare (in) float x))
      5      ((return (expression float *
      6 	       (expression float sign (var_ref x))
      7 	       (expression float -
      8 		(constant float (1.5707964))
      9 		(expression float *
     10 		 (expression float sqrt
     11 		  (expression float -
     12 		   (constant float (1.0))
     13 		   (expression float abs (var_ref x))))
     14 		 (expression float +
     15 		  (constant float (1.5707964))
     16 		  (expression float *
     17 		   (expression float abs (var_ref x))
     18 		   (expression float +
     19 		    (constant float (-0.21460183))
     20 		    (expression float *
     21 		     (expression float abs (var_ref x))
     22                      (expression float +
     23                       (constant float (0.086566724))
     24                       (expression float *
     25                        (expression float abs (var_ref x))
     26                        (constant float (-0.03102955))
     27 		     ))))))))))))
     28 
     29    (signature vec2
     30      (parameters
     31        (declare (in) vec2 x))
     32      ((return (expression vec2 *
     33 	       (expression vec2 sign (var_ref x))
     34 	       (expression vec2 -
     35 		(constant float (1.5707964))
     36 		(expression vec2 *
     37 		 (expression vec2 sqrt
     38 		  (expression vec2 -
     39 		   (constant float (1.0))
     40 		   (expression vec2 abs (var_ref x))))
     41 		 (expression vec2 +
     42 		  (constant float (1.5707964))
     43 		  (expression vec2 *
     44 		   (expression vec2 abs (var_ref x))
     45 		   (expression vec2 +
     46 		    (constant float (-0.21460183))
     47 		    (expression vec2 *
     48 		     (expression vec2 abs (var_ref x))
     49                      (expression vec2 +
     50                       (constant float (0.086566724))
     51                       (expression vec2 *
     52                        (expression vec2 abs (var_ref x))
     53                        (constant float (-0.03102955))
     54 		     ))))))))))))
     55 
     56    (signature vec3
     57      (parameters
     58        (declare (in) vec3 x))
     59      ((return (expression vec3 *
     60 	       (expression vec3 sign (var_ref x))
     61 	       (expression vec3 -
     62 		(constant float (1.5707964))
     63 		(expression vec3 *
     64 		 (expression vec3 sqrt
     65 		  (expression vec3 -
     66 		   (constant float (1.0))
     67 		   (expression vec3 abs (var_ref x))))
     68 		 (expression vec3 +
     69 		  (constant float (1.5707964))
     70 		  (expression vec3 *
     71 		   (expression vec3 abs (var_ref x))
     72 		   (expression vec3 +
     73 		    (constant float (-0.21460183))
     74 		    (expression vec3 *
     75 		     (expression vec3 abs (var_ref x))
     76                      (expression vec3 +
     77                       (constant float (0.086566724))
     78                       (expression vec3 *
     79                        (expression vec3 abs (var_ref x))
     80                        (constant float (-0.03102955))
     81 		     ))))))))))))
     82 
     83    (signature vec4
     84      (parameters
     85        (declare (in) vec4 x))
     86      ((return (expression vec4 *
     87 	       (expression vec4 sign (var_ref x))
     88 	       (expression vec4 -
     89 		(constant float (1.5707964))
     90 		(expression vec4 *
     91 		 (expression vec4 sqrt
     92 		  (expression vec4 -
     93 		   (constant float (1.0))
     94 		   (expression vec4 abs (var_ref x))))
     95 		 (expression vec4 +
     96 		  (constant float (1.5707964))
     97 		  (expression vec4 *
     98 		   (expression vec4 abs (var_ref x))
     99 		   (expression vec4 +
    100 		    (constant float (-0.21460183))
    101 		    (expression vec4 *
    102 		     (expression vec4 abs (var_ref x))
    103                      (expression vec4 +
    104                       (constant float (0.086566724))
    105                       (expression vec4 *
    106                        (expression vec4 abs (var_ref x))
    107                        (constant float (-0.03102955))
    108 		     ))))))))))))
    109 ))
    110