1spv.uniformInitializerStruct.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 63
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 9
10                              ExecutionMode 4 OriginLowerLeft
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 9  "color"
14                              Name 15  "i"
15                              Name 26  ""
16                              MemberName 26 0  "r"
17                              MemberName 26 1  "g"
18                              MemberName 26 2  "b"
19                              Name 34  "parts"
20                              Decorate 9(color) Location 0
21                              Decorate 34(parts) Location 0
22                              Decorate 34(parts) DescriptorSet 0
23                              Decorate 34(parts) Binding 0
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeVector 6(float) 4
28               8:             TypePointer Output 7(fvec4)
29        9(color):      8(ptr) Variable Output
30              10:    6(float) Constant 0
31              11:    6(float) Constant 1065353216
32              12:    7(fvec4) ConstantComposite 10 10 10 11
33              13:             TypeInt 32 1
34              14:             TypePointer Function 13(int)
35              16:     13(int) Constant 0
36              23:     13(int) Constant 2
37              24:             TypeBool
38              26:             TypeStruct 6(float) 6(float) 6(float)
39              27:             TypeInt 32 0
40              28:     27(int) Constant 2
41              29:             TypeArray 26(struct) 28
42              30:  26(struct) ConstantComposite 11 11 11
43              31:  26(struct) ConstantComposite 10 11 10
44              32:          29 ConstantComposite 30 31
45              33:             TypePointer UniformConstant 29
46       34(parts):     33(ptr) Variable UniformConstant 32
47              36:             TypePointer UniformConstant 6(float)
48              39:     27(int) Constant 0
49              40:             TypePointer Output 6(float)
50              46:     13(int) Constant 1
51              49:     27(int) Constant 1
52         4(main):           2 Function None 3
53               5:             Label
54           15(i):     14(ptr) Variable Function
55                              Store 9(color) 12
56                              Store 15(i) 16
57                              Branch 17
58              17:             Label
59                              LoopMerge 19 20 None
60                              Branch 21
61              21:             Label
62              22:     13(int) Load 15(i)
63              25:    24(bool) SLessThan 22 23
64                              BranchConditional 25 18 19
65              18:               Label
66              35:     13(int)   Load 15(i)
67              37:     36(ptr)   AccessChain 34(parts) 35 16
68              38:    6(float)   Load 37
69              41:     40(ptr)   AccessChain 9(color) 39
70              42:    6(float)   Load 41
71              43:    6(float)   FAdd 42 38
72              44:     40(ptr)   AccessChain 9(color) 39
73                                Store 44 43
74              45:     13(int)   Load 15(i)
75              47:     36(ptr)   AccessChain 34(parts) 45 46
76              48:    6(float)   Load 47
77              50:     40(ptr)   AccessChain 9(color) 49
78              51:    6(float)   Load 50
79              52:    6(float)   FAdd 51 48
80              53:     40(ptr)   AccessChain 9(color) 49
81                                Store 53 52
82              54:     13(int)   Load 15(i)
83              55:     36(ptr)   AccessChain 34(parts) 54 23
84              56:    6(float)   Load 55
85              57:     40(ptr)   AccessChain 9(color) 28
86              58:    6(float)   Load 57
87              59:    6(float)   FAdd 58 56
88              60:     40(ptr)   AccessChain 9(color) 28
89                                Store 60 59
90                                Branch 20
91              20:               Label
92              61:     13(int)   Load 15(i)
93              62:     13(int)   IAdd 61 46
94                                Store 15(i) 62
95                                Branch 17
96              19:             Label
97                              Return
98                              FunctionEnd
99