summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/bitfieldExtract.ir
blob: 0491c82180b3ca62c63c07254f2ffd414284fec1 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
((function bitfieldExtract
   (signature int
     (parameters
       (declare (in) int value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression int bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature ivec2
     (parameters
       (declare (in) ivec2 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec2 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature ivec3
     (parameters
       (declare (in) ivec3 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec3 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature ivec4
     (parameters
       (declare (in) ivec4 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec4 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature uint
     (parameters
       (declare (in) uint value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uint bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature uvec2
     (parameters
       (declare (in) uvec2 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec2 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature uvec3
     (parameters
       (declare (in) uvec3 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec3 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))

   (signature uvec4
     (parameters
       (declare (in) uvec4 value)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec4 bitfield_extract (var_ref value) (var_ref offset) (var_ref bits)))))
))