1 spv.loopsArtificial.frag
2 // Module Version 10000
3 // Generated by (magic number): 8000b
4 // Id's are bound by 158
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
9 EntryPoint Fragment 4 "main" 11 17 27 80 140 142 143 144 145 146 147 148 149 150 151 152 153 154 157
10 ExecutionMode 4 OriginUpperLeft
18 Name 140 "gl_FragColor"
20 Name 143 "bigColor1_1"
21 Name 144 "bigColor1_2"
22 Name 145 "bigColor1_3"
33 Decorate 11(BaseColor) Location 11
34 Decorate 17(bigColor4) Location 6
35 Decorate 27(d4) Location 15
36 Decorate 80(d13) Location 16
37 Decorate 140(gl_FragColor) Location 0
38 Decorate 142(bigColor) Location 0
39 Decorate 143(bigColor1_1) Location 1
40 Decorate 144(bigColor1_2) Location 2
41 Decorate 145(bigColor1_3) Location 3
42 Decorate 146(bigColor2) Location 4
43 Decorate 147(bigColor3) Location 5
44 Decorate 148(bigColor5) Location 7
45 Decorate 149(bigColor6) Location 8
46 Decorate 150(bigColor7) Location 9
47 Decorate 151(bigColor8) Location 10
48 Decorate 152(d) Location 12
49 Decorate 153(d2) Location 13
50 Decorate 154(d3) Location 14
51 Decorate 157(Count) Flat
52 Decorate 157(Count) Location 17
56 7: TypeVector 6(float) 4
57 8: TypePointer Function 7(fvec4)
58 10: TypePointer Input 7(fvec4)
59 11(BaseColor): 10(ptr) Variable Input
60 17(bigColor4): 10(ptr) Variable Input
62 22: 21(int) Constant 0
63 23: TypePointer Function 6(float)
64 26: TypePointer Input 6(float)
65 27(d4): 26(ptr) Variable Input
67 33: 6(float) Constant 1073741824
68 34: 21(int) Constant 2
69 47: 6(float) Constant 1065353216
70 50: 21(int) Constant 1
71 77: 21(int) Constant 3
72 80(d13): 26(ptr) Variable Input
73 139: TypePointer Output 7(fvec4)
74 140(gl_FragColor): 139(ptr) Variable Output
75 142(bigColor): 10(ptr) Variable Input
76 143(bigColor1_1): 10(ptr) Variable Input
77 144(bigColor1_2): 10(ptr) Variable Input
78 145(bigColor1_3): 10(ptr) Variable Input
79 146(bigColor2): 10(ptr) Variable Input
80 147(bigColor3): 10(ptr) Variable Input
81 148(bigColor5): 10(ptr) Variable Input
82 149(bigColor6): 10(ptr) Variable Input
83 150(bigColor7): 10(ptr) Variable Input
84 151(bigColor8): 10(ptr) Variable Input
85 152(d): 26(ptr) Variable Input
86 153(d2): 26(ptr) Variable Input
87 154(d3): 26(ptr) Variable Input
89 156: TypePointer Input 155(int)
90 157(Count): 156(ptr) Variable Input
91 4(main): 2 Function None 3
93 9(color): 8(ptr) Variable Function
94 12: 7(fvec4) Load 11(BaseColor)
101 18: 7(fvec4) Load 17(bigColor4)
102 19: 7(fvec4) Load 9(color)
103 20: 7(fvec4) FAdd 19 18
105 24: 23(ptr) AccessChain 9(color) 22
107 28: 6(float) Load 27(d4)
108 30: 29(bool) FOrdLessThan 25 28
109 SelectionMerge 32 None
110 BranchConditional 30 31 32
112 35: 23(ptr) AccessChain 9(color) 34
114 37: 6(float) FAdd 36 33
115 38: 23(ptr) AccessChain 9(color) 34
117 39: 23(ptr) AccessChain 9(color) 34
119 41: 6(float) Load 27(d4)
120 42: 29(bool) FOrdLessThan 40 41
121 SelectionMerge 44 None
122 BranchConditional 42 43 44
124 45: 23(ptr) AccessChain 9(color) 22
126 48: 6(float) FAdd 46 47
132 51: 23(ptr) AccessChain 9(color) 50
134 53: 6(float) Load 27(d4)
135 54: 29(bool) FOrdLessThan 52 53
136 SelectionMerge 56 None
137 BranchConditional 54 55 62
139 57: 6(float) Load 27(d4)
140 58: 23(ptr) AccessChain 9(color) 50
142 60: 6(float) FAdd 59 57
143 61: 23(ptr) AccessChain 9(color) 50
147 63: 6(float) Load 27(d4)
148 64: 23(ptr) AccessChain 9(color) 22
150 66: 6(float) FAdd 65 63
151 67: 23(ptr) AccessChain 9(color) 22
157 68: 23(ptr) AccessChain 9(color) 34
159 70: 6(float) Load 27(d4)
160 71: 29(bool) FOrdLessThan 69 70
161 BranchConditional 71 13 15
168 78: 23(ptr) AccessChain 9(color) 77
170 81: 6(float) Load 80(d13)
171 82: 29(bool) FOrdLessThan 79 81
172 BranchConditional 82 73 74
174 83: 23(ptr) AccessChain 9(color) 34
176 85: 6(float) Load 80(d13)
177 86: 29(bool) FOrdLessThan 84 85
178 SelectionMerge 88 None
179 BranchConditional 86 87 92
181 89: 7(fvec4) Load 9(color)
182 90: 7(fvec4) CompositeConstruct 47 47 47 47
183 91: 7(fvec4) FAdd 89 90
187 93: 7(fvec4) Load 9(color)
188 94: 7(fvec4) CompositeConstruct 47 47 47 47
189 95: 7(fvec4) FSub 93 94
193 96: 7(fvec4) Load 17(bigColor4)
194 97: 7(fvec4) Load 9(color)
195 98: 7(fvec4) FAdd 97 96
197 99: 23(ptr) AccessChain 9(color) 22
198 100: 6(float) Load 99
199 101: 6(float) Load 27(d4)
200 102: 29(bool) FOrdLessThan 100 101
201 SelectionMerge 104 None
202 BranchConditional 102 103 104
204 105: 23(ptr) AccessChain 9(color) 34
205 106: 6(float) Load 105
206 107: 6(float) FAdd 106 33
207 108: 23(ptr) AccessChain 9(color) 34
209 109: 23(ptr) AccessChain 9(color) 34
210 110: 6(float) Load 109
211 111: 6(float) Load 27(d4)
212 112: 29(bool) FOrdLessThan 110 111
213 SelectionMerge 114 None
214 BranchConditional 112 113 114
216 115: 23(ptr) AccessChain 9(color) 22
217 116: 6(float) Load 115
218 117: 6(float) FAdd 116 47
224 119: 23(ptr) AccessChain 9(color) 50
225 120: 6(float) Load 119
226 121: 6(float) Load 27(d4)
227 122: 29(bool) FOrdLessThan 120 121
228 SelectionMerge 124 None
229 BranchConditional 122 123 130
231 125: 6(float) Load 27(d4)
232 126: 23(ptr) AccessChain 9(color) 50
233 127: 6(float) Load 126
234 128: 6(float) FAdd 127 125
235 129: 23(ptr) AccessChain 9(color) 50
239 131: 6(float) Load 27(d4)
240 132: 23(ptr) AccessChain 9(color) 22
241 133: 6(float) Load 132
242 134: 6(float) FAdd 133 131
243 135: 23(ptr) AccessChain 9(color) 22
251 136: 7(fvec4) Load 9(color)
252 137: 7(fvec4) CompositeConstruct 47 47 47 47
253 138: 7(fvec4) FAdd 136 137
255 141: 7(fvec4) Load 9(color)
256 Store 140(gl_FragColor) 141