summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/isinf.ir
blob: 92922f6fa3632c60609d2d7d3213844b05e1ffe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
((function isinf
   (signature bool
     (parameters
       (declare (in) float x))
     ((return (expression bool == (expression float abs (var_ref x)) (constant float (+INF))))))
   (signature bvec2
     (parameters
       (declare (in) vec2 x))
     ((return (expression bvec2 == (expression vec2 abs (var_ref x)) (constant vec2 (+INF +INF))))))
   (signature bvec3
     (parameters
       (declare (in) vec3 x))
     ((return (expression bvec3 == (expression vec3 abs (var_ref x)) (constant vec3 (+INF +INF +INF))))))
   (signature bvec4
     (parameters
       (declare (in) vec4 x))
     ((return (expression bvec4 == (expression vec4 abs (var_ref x)) (constant vec4 (+INF +INF +INF +INF))))))))