summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/findLSB.ir
blob: 2ddbb7f704daf7109f3a8b8faafc03d987f2f562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
((function findLSB
   (signature int
     (parameters
       (declare (in) int value))
     ((return (expression int find_lsb (var_ref value)))))

   (signature ivec2
     (parameters
       (declare (in) ivec2 value))
     ((return (expression ivec2 find_lsb (var_ref value)))))

   (signature ivec3
     (parameters
       (declare (in) ivec3 value))
     ((return (expression ivec3 find_lsb (var_ref value)))))

   (signature ivec4
     (parameters
       (declare (in) ivec4 value))
     ((return (expression ivec4 find_lsb (var_ref value)))))

   (signature int
     (parameters
       (declare (in) uint value))
     ((return (expression int find_lsb (var_ref value)))))

   (signature ivec2
     (parameters
       (declare (in) uvec2 value))
     ((return (expression ivec2 find_lsb (var_ref value)))))

   (signature ivec3
     (parameters
       (declare (in) uvec3 value))
     ((return (expression ivec3 find_lsb (var_ref value)))))

   (signature ivec4
     (parameters
       (declare (in) uvec4 value))
     ((return (expression ivec4 find_lsb (var_ref value)))))
))