Home | History | Annotate | Download | only in ir
      1 ((function fwidth
      2    (signature float
      3      (parameters
      4        (declare (in) float p))
      5      ((return (expression float +
      6                 (expression float abs (expression float dFdx (var_ref p)))
      7                 (expression float abs (expression float dFdy (var_ref p)))))))
      8 
      9    (signature vec2
     10      (parameters
     11        (declare (in) vec2 p))
     12      ((return (expression vec2 +
     13                 (expression vec2 abs (expression vec2 dFdx (var_ref p)))
     14                 (expression vec2 abs (expression vec2 dFdy (var_ref p)))))))
     15 
     16    (signature vec3
     17      (parameters
     18        (declare (in) vec3 p))
     19      ((return (expression vec3 +
     20                 (expression vec3 abs (expression vec3 dFdx (var_ref p)))
     21                 (expression vec3 abs (expression vec3 dFdy (var_ref p)))))))
     22 
     23    (signature vec4
     24      (parameters
     25        (declare (in) vec4 p))
     26      ((return (expression vec4 +
     27                 (expression vec4 abs (expression vec4 dFdx (var_ref p)))
     28                 (expression vec4 abs (expression vec4 dFdy (var_ref p)))))))
     29 ))
     30