2 // Module Version 10000
3 // Generated by (magic number): 80007
4 // Id's are bound by 131
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
9 EntryPoint Fragment 4 "main" 11 24 28 36 53 104
10 ExecutionMode 4 OriginUpperLeft
18 Name 36 "gl_FragColor"
28 Decorate 24(Count) Flat
29 Decorate 36(gl_FragColor) Location 0
34 7: TypeVector 6(float) 4
35 8: TypePointer Function 7(fvec4)
36 10: TypePointer Input 7(fvec4)
37 11(BaseColor): 10(ptr) Variable Input
39 14: TypePointer Function 13(int)
40 16: 13(int) Constant 0
41 23: TypePointer Input 13(int)
42 24(Count): 23(ptr) Variable Input
44 28(bigColor): 10(ptr) Variable Input
45 33: 13(int) Constant 1
46 35: TypePointer Output 7(fvec4)
47 36(gl_FragColor): 35(ptr) Variable Output
48 38: TypePointer Function 6(float)
49 40: 6(float) Constant 0
50 48: 13(int) Constant 4
52 51: TypeVector 50(int) 4
53 52: TypePointer Input 51(ivec4)
54 53(v4): 52(ptr) Variable Input
55 55: TypePointer Input 50(int)
56 76: 50(int) Constant 4
57 89: TypeVector 6(float) 3
58 103: TypePointer Input 6(float)
59 104(f): 103(ptr) Variable Input
60 106: 50(int) Constant 3
61 124: 13(int) Constant 16
62 4(main): 2 Function None 3
64 9(color): 8(ptr) Variable Function
65 15(i): 14(ptr) Variable Function
66 39(sum): 38(ptr) Variable Function
67 41(i): 14(ptr) Variable Function
68 63(i): 14(ptr) Variable Function
69 71(tv4): 8(ptr) Variable Function
70 88(r): 8(ptr) Variable Function
71 94(i): 14(ptr) Variable Function
72 117(i): 14(ptr) Variable Function
73 12: 7(fvec4) Load 11(BaseColor)
81 22: 13(int) Load 15(i)
82 25: 13(int) Load 24(Count)
83 27: 26(bool) SLessThan 22 25
84 BranchConditional 27 18 19
86 29: 7(fvec4) Load 28(bigColor)
87 30: 7(fvec4) Load 9(color)
88 31: 7(fvec4) FAdd 30 29
92 32: 13(int) Load 15(i)
93 34: 13(int) IAdd 32 33
97 37: 7(fvec4) Load 9(color)
98 Store 36(gl_FragColor) 37
106 47: 13(int) Load 41(i)
107 49: 26(bool) SLessThan 47 48
108 BranchConditional 49 43 44
110 54: 13(int) Load 41(i)
111 56: 55(ptr) AccessChain 53(v4) 54
113 58: 6(float) ConvertUToF 57
114 59: 6(float) Load 39(sum)
115 60: 6(float) FAdd 59 58
119 61: 13(int) Load 41(i)
120 62: 13(int) IAdd 61 33
130 69: 13(int) Load 63(i)
131 70: 26(bool) SLessThan 69 48
132 BranchConditional 70 65 66
134 72: 13(int) Load 63(i)
135 73: 13(int) Load 63(i)
136 74: 55(ptr) AccessChain 53(v4) 73
138 77: 50(int) IMul 75 76
139 78: 6(float) ConvertUToF 77
140 79: 38(ptr) AccessChain 71(tv4) 72
144 80: 13(int) Load 63(i)
145 81: 13(int) IAdd 80 33
149 82: 6(float) Load 39(sum)
150 83: 7(fvec4) CompositeConstruct 82 82 82 82
151 84: 7(fvec4) Load 71(tv4)
152 85: 7(fvec4) FAdd 83 84
153 86: 7(fvec4) Load 36(gl_FragColor)
154 87: 7(fvec4) FAdd 86 85
155 Store 36(gl_FragColor) 87
156 90: 7(fvec4) Load 11(BaseColor)
157 91: 89(fvec3) VectorShuffle 90 90 0 1 2
158 92: 7(fvec4) Load 88(r)
159 93: 7(fvec4) VectorShuffle 92 91 4 5 6 3
167 100: 13(int) Load 94(i)
168 101: 13(int) Load 24(Count)
169 102: 26(bool) SLessThan 100 101
170 BranchConditional 102 96 97
172 105: 6(float) Load 104(f)
173 107: 38(ptr) AccessChain 88(r) 106
177 108: 13(int) Load 94(i)
178 109: 13(int) IAdd 108 33
182 110: 7(fvec4) Load 88(r)
183 111: 89(fvec3) VectorShuffle 110 110 0 1 2
184 112: 7(fvec4) Load 36(gl_FragColor)
185 113: 89(fvec3) VectorShuffle 112 112 0 1 2
186 114: 89(fvec3) FAdd 113 111
187 115: 7(fvec4) Load 36(gl_FragColor)
188 116: 7(fvec4) VectorShuffle 115 114 4 5 6 3
189 Store 36(gl_FragColor) 116
193 LoopMerge 120 121 None
196 123: 13(int) Load 117(i)
197 125: 26(bool) SLessThan 123 124
198 BranchConditional 125 119 120
200 126: 6(float) Load 104(f)
201 127: 7(fvec4) Load 36(gl_FragColor)
202 128: 7(fvec4) VectorTimesScalar 127 126
203 Store 36(gl_FragColor) 128
206 129: 13(int) Load 117(i)
207 130: 13(int) IAdd 129 48