summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/bitfieldInsert.ir
blob: 2bb4442bef8f52e5ea44e2e0b581a233754ad900 (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
58
59
60
61
62
63
64
65
((function bitfieldInsert
   (signature int
     (parameters
       (declare (in) int base)
       (declare (in) int insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression int bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature ivec2
     (parameters
       (declare (in) ivec2 base)
       (declare (in) ivec2 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec2 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature ivec3
     (parameters
       (declare (in) ivec3 base)
       (declare (in) ivec3 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec3 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature ivec4
     (parameters
       (declare (in) ivec4 base)
       (declare (in) ivec4 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression ivec4 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature uint
     (parameters
       (declare (in) uint base)
       (declare (in) uint insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uint bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature uvec2
     (parameters
       (declare (in) uvec2 base)
       (declare (in) uvec2 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec2 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature uvec3
     (parameters
       (declare (in) uvec3 base)
       (declare (in) uvec3 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec3 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))

   (signature uvec4
     (parameters
       (declare (in) uvec4 base)
       (declare (in) uvec4 insert)
       (declare (in) int offset)
       (declare (in) int bits))
     ((return (expression uvec4 bitfield_insert (var_ref base) (var_ref insert) (var_ref offset) (var_ref bits)))))
))