SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -7,13 +7,13 @@ Linked fragment stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 378
|
||||
// Id's are bound by 215
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 16 41 90 374
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
EntryPoint Fragment 4 "main" 16 41 101 213
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
Name 4 "main"
|
||||
Name 8 "s1"
|
||||
@@ -23,34 +23,47 @@ Linked fragment stage:
|
||||
Name 16 "u"
|
||||
Name 37 "b"
|
||||
Name 41 "w"
|
||||
Name 55 "s2"
|
||||
MemberName 55(s2) 0 "i"
|
||||
MemberName 55(s2) 1 "f"
|
||||
MemberName 55(s2) 2 "s1_1"
|
||||
Name 57 "foo2a"
|
||||
Name 59 "foo2b"
|
||||
Name 82 "v"
|
||||
Name 86 "samp2D"
|
||||
Name 90 "coord"
|
||||
Name 341 "s1"
|
||||
MemberName 341(s1) 0 "i"
|
||||
MemberName 341(s1) 1 "f"
|
||||
Name 342 "s2"
|
||||
MemberName 342(s2) 0 "i"
|
||||
MemberName 342(s2) 1 "f"
|
||||
MemberName 342(s2) 2 "s1_1"
|
||||
Name 343 "bn"
|
||||
MemberName 343(bn) 0 "foo2a"
|
||||
Name 345 "bi"
|
||||
Name 374 "color"
|
||||
Name 377 "foo1"
|
||||
MemberDecorate 341(s1) 0 Offset 0
|
||||
MemberDecorate 341(s1) 1 Offset 4
|
||||
MemberDecorate 342(s2) 0 Offset 0
|
||||
MemberDecorate 342(s2) 1 Offset 4
|
||||
MemberDecorate 342(s2) 2 Offset 16
|
||||
MemberDecorate 343(bn) 0 Offset 0
|
||||
Decorate 343(bn) Block
|
||||
Name 55 "s1"
|
||||
MemberName 55(s1) 0 "i"
|
||||
MemberName 55(s1) 1 "f"
|
||||
Name 56 "s2"
|
||||
MemberName 56(s2) 0 "i"
|
||||
MemberName 56(s2) 1 "f"
|
||||
MemberName 56(s2) 2 "s1_1"
|
||||
Name 57 "ub1"
|
||||
MemberName 57(ub1) 0 "foo2a"
|
||||
Name 59 "uName1"
|
||||
Name 64 "s1"
|
||||
MemberName 64(s1) 0 "i"
|
||||
MemberName 64(s1) 1 "f"
|
||||
Name 65 "s2"
|
||||
MemberName 65(s2) 0 "i"
|
||||
MemberName 65(s2) 1 "f"
|
||||
MemberName 65(s2) 2 "s1_1"
|
||||
Name 66 "ub2"
|
||||
MemberName 66(ub2) 0 "foo2b"
|
||||
Name 68 "uName2"
|
||||
Name 93 "v"
|
||||
Name 97 "samp2D"
|
||||
Name 101 "coord"
|
||||
Name 213 "color"
|
||||
MemberDecorate 55(s1) 0 Offset 0
|
||||
MemberDecorate 55(s1) 1 Offset 4
|
||||
MemberDecorate 56(s2) 0 Offset 0
|
||||
MemberDecorate 56(s2) 1 Offset 4
|
||||
MemberDecorate 56(s2) 2 Offset 16
|
||||
MemberDecorate 57(ub1) 0 Offset 0
|
||||
Decorate 57(ub1) Block
|
||||
Decorate 59(uName1) DescriptorSet 0
|
||||
MemberDecorate 64(s1) 0 Offset 0
|
||||
MemberDecorate 64(s1) 1 Offset 4
|
||||
MemberDecorate 65(s2) 0 Offset 0
|
||||
MemberDecorate 65(s2) 1 Offset 4
|
||||
MemberDecorate 65(s2) 2 Offset 8
|
||||
MemberDecorate 66(ub2) 0 Offset 0
|
||||
Decorate 66(ub2) BufferBlock
|
||||
Decorate 68(uName2) DescriptorSet 0
|
||||
Decorate 97(samp2D) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -74,44 +87,43 @@ Linked fragment stage:
|
||||
39: 7(float) Constant 1099431936
|
||||
40: 8(s1) ConstantComposite 38 39
|
||||
41(w): 15(ptr) Variable Input
|
||||
55(s2): TypeStruct 6(int) 7(float) 8(s1)
|
||||
56: TypePointer UniformConstant 55(s2)
|
||||
57(foo2a): 56(ptr) Variable UniformConstant
|
||||
59(foo2b): 56(ptr) Variable UniformConstant
|
||||
61: TypeBool
|
||||
81: TypePointer Function 14(fvec4)
|
||||
83: TypeImage 7(float) 2D sampled format:Unknown
|
||||
84: TypeSampledImage 83
|
||||
85: TypePointer UniformConstant 84
|
||||
86(samp2D): 85(ptr) Variable UniformConstant
|
||||
88: TypeVector 7(float) 2
|
||||
89: TypePointer Input 88(fvec2)
|
||||
90(coord): 89(ptr) Variable Input
|
||||
95: 7(float) Constant 1073741824
|
||||
101: TypeVector 61(bool) 4
|
||||
106: 7(float) Constant 1077936128
|
||||
115: 7(float) Constant 1082130432
|
||||
121: TypeVector 61(bool) 2
|
||||
126: 7(float) Constant 1084227584
|
||||
232: 7(float) Constant 1086324736
|
||||
338: 7(float) Constant 1088421888
|
||||
341(s1): TypeStruct 6(int) 7(float)
|
||||
342(s2): TypeStruct 6(int) 7(float) 341(s1)
|
||||
343(bn): TypeStruct 342(s2)
|
||||
344: TypePointer Uniform 343(bn)
|
||||
345(bi): 344(ptr) Variable Uniform
|
||||
346: 6(int) Constant 0
|
||||
347: TypePointer Uniform 342(s2)
|
||||
370: 7(float) Constant 1090519040
|
||||
373: TypePointer Output 14(fvec4)
|
||||
374(color): 373(ptr) Variable Output
|
||||
376: TypePointer UniformConstant 8(s1)
|
||||
377(foo1): 376(ptr) Variable UniformConstant
|
||||
55(s1): TypeStruct 6(int) 7(float)
|
||||
56(s2): TypeStruct 6(int) 7(float) 55(s1)
|
||||
57(ub1): TypeStruct 56(s2)
|
||||
58: TypePointer Uniform 57(ub1)
|
||||
59(uName1): 58(ptr) Variable Uniform
|
||||
60: 6(int) Constant 0
|
||||
61: TypePointer Uniform 56(s2)
|
||||
64(s1): TypeStruct 6(int) 7(float)
|
||||
65(s2): TypeStruct 6(int) 7(float) 64(s1)
|
||||
66(ub2): TypeStruct 65(s2)
|
||||
67: TypePointer Uniform 66(ub2)
|
||||
68(uName2): 67(ptr) Variable Uniform
|
||||
69: TypePointer Uniform 65(s2)
|
||||
72: TypeBool
|
||||
92: TypePointer Function 14(fvec4)
|
||||
94: TypeImage 7(float) 2D sampled format:Unknown
|
||||
95: TypeSampledImage 94
|
||||
96: TypePointer UniformConstant 95
|
||||
97(samp2D): 96(ptr) Variable UniformConstant
|
||||
99: TypeVector 7(float) 2
|
||||
100: TypePointer Input 99(fvec2)
|
||||
101(coord): 100(ptr) Variable Input
|
||||
106: 7(float) Constant 1073741824
|
||||
112: TypeVector 72(bool) 4
|
||||
117: 7(float) Constant 1077936128
|
||||
126: 7(float) Constant 1082130432
|
||||
132: TypeVector 72(bool) 2
|
||||
137: 7(float) Constant 1084227584
|
||||
173: 7(float) Constant 1086324736
|
||||
209: 7(float) Constant 1088421888
|
||||
212: TypePointer Output 14(fvec4)
|
||||
213(color): 212(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
13(a): 12(ptr) Variable Function
|
||||
37(b): 12(ptr) Variable Function
|
||||
82(v): 81(ptr) Variable Function
|
||||
93(v): 92(ptr) Variable Function
|
||||
19: 18(ptr) AccessChain 16(u) 17
|
||||
20: 7(float) Load 19
|
||||
21: 6(int) ConvertFToS 20
|
||||
@@ -140,325 +152,159 @@ Linked fragment stage:
|
||||
53: 8(s1) CompositeConstruct 50 52
|
||||
54: 11 CompositeConstruct 40 47 53
|
||||
Store 37(b) 54
|
||||
58: 55(s2) Load 57(foo2a)
|
||||
60: 55(s2) Load 59(foo2b)
|
||||
62: 6(int) CompositeExtract 58 0
|
||||
63: 6(int) CompositeExtract 60 0
|
||||
64: 61(bool) IEqual 62 63
|
||||
65: 7(float) CompositeExtract 58 1
|
||||
66: 7(float) CompositeExtract 60 1
|
||||
67: 61(bool) FOrdEqual 65 66
|
||||
68: 61(bool) LogicalAnd 64 67
|
||||
69: 8(s1) CompositeExtract 58 2
|
||||
70: 8(s1) CompositeExtract 60 2
|
||||
71: 6(int) CompositeExtract 69 0
|
||||
72: 6(int) CompositeExtract 70 0
|
||||
73: 61(bool) IEqual 71 72
|
||||
74: 7(float) CompositeExtract 69 1
|
||||
75: 7(float) CompositeExtract 70 1
|
||||
76: 61(bool) FOrdEqual 74 75
|
||||
77: 61(bool) LogicalAnd 73 76
|
||||
78: 61(bool) LogicalAnd 68 77
|
||||
SelectionMerge 80 None
|
||||
BranchConditional 78 79 93
|
||||
79: Label
|
||||
87: 84 Load 86(samp2D)
|
||||
91: 88(fvec2) Load 90(coord)
|
||||
92: 14(fvec4) ImageSampleImplicitLod 87 91
|
||||
Store 82(v) 92
|
||||
Branch 80
|
||||
93: Label
|
||||
94: 84 Load 86(samp2D)
|
||||
96: 88(fvec2) Load 90(coord)
|
||||
97: 88(fvec2) VectorTimesScalar 96 95
|
||||
98: 14(fvec4) ImageSampleImplicitLod 94 97
|
||||
Store 82(v) 98
|
||||
Branch 80
|
||||
80: Label
|
||||
99: 14(fvec4) Load 16(u)
|
||||
100: 14(fvec4) Load 82(v)
|
||||
102: 101(bvec4) FOrdEqual 99 100
|
||||
103: 61(bool) All 102
|
||||
SelectionMerge 105 None
|
||||
BranchConditional 103 104 105
|
||||
62: 61(ptr) AccessChain 59(uName1) 60
|
||||
63: 56(s2) Load 62
|
||||
70: 69(ptr) AccessChain 68(uName2) 60
|
||||
71: 65(s2) Load 70
|
||||
73: 6(int) CompositeExtract 63 0
|
||||
74: 6(int) CompositeExtract 71 0
|
||||
75: 72(bool) IEqual 73 74
|
||||
76: 7(float) CompositeExtract 63 1
|
||||
77: 7(float) CompositeExtract 71 1
|
||||
78: 72(bool) FOrdEqual 76 77
|
||||
79: 72(bool) LogicalAnd 75 78
|
||||
80: 55(s1) CompositeExtract 63 2
|
||||
81: 64(s1) CompositeExtract 71 2
|
||||
82: 6(int) CompositeExtract 80 0
|
||||
83: 6(int) CompositeExtract 81 0
|
||||
84: 72(bool) IEqual 82 83
|
||||
85: 7(float) CompositeExtract 80 1
|
||||
86: 7(float) CompositeExtract 81 1
|
||||
87: 72(bool) FOrdEqual 85 86
|
||||
88: 72(bool) LogicalAnd 84 87
|
||||
89: 72(bool) LogicalAnd 79 88
|
||||
SelectionMerge 91 None
|
||||
BranchConditional 89 90 104
|
||||
90: Label
|
||||
98: 95 Load 97(samp2D)
|
||||
102: 99(fvec2) Load 101(coord)
|
||||
103: 14(fvec4) ImageSampleImplicitLod 98 102
|
||||
Store 93(v) 103
|
||||
Branch 91
|
||||
104: Label
|
||||
107: 14(fvec4) Load 82(v)
|
||||
108: 14(fvec4) VectorTimesScalar 107 106
|
||||
Store 82(v) 108
|
||||
Branch 105
|
||||
105: Label
|
||||
109: 14(fvec4) Load 16(u)
|
||||
110: 14(fvec4) Load 82(v)
|
||||
111: 101(bvec4) FOrdNotEqual 109 110
|
||||
112: 61(bool) Any 111
|
||||
SelectionMerge 114 None
|
||||
BranchConditional 112 113 114
|
||||
113: Label
|
||||
116: 14(fvec4) Load 82(v)
|
||||
117: 14(fvec4) VectorTimesScalar 116 115
|
||||
Store 82(v) 117
|
||||
Branch 114
|
||||
114: Label
|
||||
118: 88(fvec2) Load 90(coord)
|
||||
119: 14(fvec4) Load 82(v)
|
||||
120: 88(fvec2) VectorShuffle 119 119 1 3
|
||||
122: 121(bvec2) FOrdEqual 118 120
|
||||
123: 61(bool) All 122
|
||||
105: 95 Load 97(samp2D)
|
||||
107: 99(fvec2) Load 101(coord)
|
||||
108: 99(fvec2) VectorTimesScalar 107 106
|
||||
109: 14(fvec4) ImageSampleImplicitLod 105 108
|
||||
Store 93(v) 109
|
||||
Branch 91
|
||||
91: Label
|
||||
110: 14(fvec4) Load 16(u)
|
||||
111: 14(fvec4) Load 93(v)
|
||||
113: 112(bvec4) FOrdEqual 110 111
|
||||
114: 72(bool) All 113
|
||||
SelectionMerge 116 None
|
||||
BranchConditional 114 115 116
|
||||
115: Label
|
||||
118: 14(fvec4) Load 93(v)
|
||||
119: 14(fvec4) VectorTimesScalar 118 117
|
||||
Store 93(v) 119
|
||||
Branch 116
|
||||
116: Label
|
||||
120: 14(fvec4) Load 16(u)
|
||||
121: 14(fvec4) Load 93(v)
|
||||
122: 112(bvec4) FOrdNotEqual 120 121
|
||||
123: 72(bool) Any 122
|
||||
SelectionMerge 125 None
|
||||
BranchConditional 123 124 125
|
||||
124: Label
|
||||
127: 14(fvec4) Load 82(v)
|
||||
127: 14(fvec4) Load 93(v)
|
||||
128: 14(fvec4) VectorTimesScalar 127 126
|
||||
Store 82(v) 128
|
||||
Store 93(v) 128
|
||||
Branch 125
|
||||
125: Label
|
||||
129: 11 Load 13(a)
|
||||
130: 11 Load 37(b)
|
||||
131: 8(s1) CompositeExtract 129 0
|
||||
132: 8(s1) CompositeExtract 130 0
|
||||
133: 6(int) CompositeExtract 131 0
|
||||
134: 6(int) CompositeExtract 132 0
|
||||
135: 61(bool) IEqual 133 134
|
||||
136: 7(float) CompositeExtract 131 1
|
||||
137: 7(float) CompositeExtract 132 1
|
||||
138: 61(bool) FOrdEqual 136 137
|
||||
139: 61(bool) LogicalAnd 135 138
|
||||
140: 8(s1) CompositeExtract 129 1
|
||||
141: 8(s1) CompositeExtract 130 1
|
||||
142: 6(int) CompositeExtract 140 0
|
||||
143: 6(int) CompositeExtract 141 0
|
||||
144: 61(bool) IEqual 142 143
|
||||
145: 7(float) CompositeExtract 140 1
|
||||
146: 7(float) CompositeExtract 141 1
|
||||
147: 61(bool) FOrdEqual 145 146
|
||||
148: 61(bool) LogicalAnd 144 147
|
||||
149: 61(bool) LogicalAnd 139 148
|
||||
150: 8(s1) CompositeExtract 129 2
|
||||
151: 8(s1) CompositeExtract 130 2
|
||||
152: 6(int) CompositeExtract 150 0
|
||||
129: 99(fvec2) Load 101(coord)
|
||||
130: 14(fvec4) Load 93(v)
|
||||
131: 99(fvec2) VectorShuffle 130 130 1 3
|
||||
133: 132(bvec2) FOrdEqual 129 131
|
||||
134: 72(bool) All 133
|
||||
SelectionMerge 136 None
|
||||
BranchConditional 134 135 136
|
||||
135: Label
|
||||
138: 14(fvec4) Load 93(v)
|
||||
139: 14(fvec4) VectorTimesScalar 138 137
|
||||
Store 93(v) 139
|
||||
Branch 136
|
||||
136: Label
|
||||
140: 11 Load 13(a)
|
||||
141: 11 Load 37(b)
|
||||
142: 8(s1) CompositeExtract 140 0
|
||||
143: 8(s1) CompositeExtract 141 0
|
||||
144: 6(int) CompositeExtract 142 0
|
||||
145: 6(int) CompositeExtract 143 0
|
||||
146: 72(bool) IEqual 144 145
|
||||
147: 7(float) CompositeExtract 142 1
|
||||
148: 7(float) CompositeExtract 143 1
|
||||
149: 72(bool) FOrdEqual 147 148
|
||||
150: 72(bool) LogicalAnd 146 149
|
||||
151: 8(s1) CompositeExtract 140 1
|
||||
152: 8(s1) CompositeExtract 141 1
|
||||
153: 6(int) CompositeExtract 151 0
|
||||
154: 61(bool) IEqual 152 153
|
||||
155: 7(float) CompositeExtract 150 1
|
||||
154: 6(int) CompositeExtract 152 0
|
||||
155: 72(bool) IEqual 153 154
|
||||
156: 7(float) CompositeExtract 151 1
|
||||
157: 61(bool) FOrdEqual 155 156
|
||||
158: 61(bool) LogicalAnd 154 157
|
||||
159: 61(bool) LogicalAnd 149 158
|
||||
160: 8(s1) CompositeExtract 129 3
|
||||
161: 8(s1) CompositeExtract 130 3
|
||||
162: 6(int) CompositeExtract 160 0
|
||||
157: 7(float) CompositeExtract 152 1
|
||||
158: 72(bool) FOrdEqual 156 157
|
||||
159: 72(bool) LogicalAnd 155 158
|
||||
160: 72(bool) LogicalAnd 150 159
|
||||
161: 8(s1) CompositeExtract 140 2
|
||||
162: 8(s1) CompositeExtract 141 2
|
||||
163: 6(int) CompositeExtract 161 0
|
||||
164: 61(bool) IEqual 162 163
|
||||
165: 7(float) CompositeExtract 160 1
|
||||
164: 6(int) CompositeExtract 162 0
|
||||
165: 72(bool) IEqual 163 164
|
||||
166: 7(float) CompositeExtract 161 1
|
||||
167: 61(bool) FOrdEqual 165 166
|
||||
168: 61(bool) LogicalAnd 164 167
|
||||
169: 61(bool) LogicalAnd 159 168
|
||||
170: 8(s1) CompositeExtract 129 4
|
||||
171: 8(s1) CompositeExtract 130 4
|
||||
172: 6(int) CompositeExtract 170 0
|
||||
173: 6(int) CompositeExtract 171 0
|
||||
174: 61(bool) IEqual 172 173
|
||||
175: 7(float) CompositeExtract 170 1
|
||||
176: 7(float) CompositeExtract 171 1
|
||||
177: 61(bool) FOrdEqual 175 176
|
||||
178: 61(bool) LogicalAnd 174 177
|
||||
179: 61(bool) LogicalAnd 169 178
|
||||
180: 8(s1) CompositeExtract 129 5
|
||||
181: 8(s1) CompositeExtract 130 5
|
||||
182: 6(int) CompositeExtract 180 0
|
||||
183: 6(int) CompositeExtract 181 0
|
||||
184: 61(bool) IEqual 182 183
|
||||
185: 7(float) CompositeExtract 180 1
|
||||
186: 7(float) CompositeExtract 181 1
|
||||
187: 61(bool) FOrdEqual 185 186
|
||||
188: 61(bool) LogicalAnd 184 187
|
||||
189: 61(bool) LogicalAnd 179 188
|
||||
190: 8(s1) CompositeExtract 129 6
|
||||
191: 8(s1) CompositeExtract 130 6
|
||||
192: 6(int) CompositeExtract 190 0
|
||||
193: 6(int) CompositeExtract 191 0
|
||||
194: 61(bool) IEqual 192 193
|
||||
195: 7(float) CompositeExtract 190 1
|
||||
196: 7(float) CompositeExtract 191 1
|
||||
197: 61(bool) FOrdEqual 195 196
|
||||
198: 61(bool) LogicalAnd 194 197
|
||||
199: 61(bool) LogicalAnd 189 198
|
||||
200: 8(s1) CompositeExtract 129 7
|
||||
201: 8(s1) CompositeExtract 130 7
|
||||
202: 6(int) CompositeExtract 200 0
|
||||
203: 6(int) CompositeExtract 201 0
|
||||
204: 61(bool) IEqual 202 203
|
||||
205: 7(float) CompositeExtract 200 1
|
||||
206: 7(float) CompositeExtract 201 1
|
||||
207: 61(bool) FOrdEqual 205 206
|
||||
208: 61(bool) LogicalAnd 204 207
|
||||
209: 61(bool) LogicalAnd 199 208
|
||||
210: 8(s1) CompositeExtract 129 8
|
||||
211: 8(s1) CompositeExtract 130 8
|
||||
212: 6(int) CompositeExtract 210 0
|
||||
213: 6(int) CompositeExtract 211 0
|
||||
214: 61(bool) IEqual 212 213
|
||||
215: 7(float) CompositeExtract 210 1
|
||||
216: 7(float) CompositeExtract 211 1
|
||||
217: 61(bool) FOrdEqual 215 216
|
||||
218: 61(bool) LogicalAnd 214 217
|
||||
219: 61(bool) LogicalAnd 209 218
|
||||
220: 8(s1) CompositeExtract 129 9
|
||||
221: 8(s1) CompositeExtract 130 9
|
||||
222: 6(int) CompositeExtract 220 0
|
||||
223: 6(int) CompositeExtract 221 0
|
||||
224: 61(bool) IEqual 222 223
|
||||
225: 7(float) CompositeExtract 220 1
|
||||
226: 7(float) CompositeExtract 221 1
|
||||
227: 61(bool) FOrdEqual 225 226
|
||||
228: 61(bool) LogicalAnd 224 227
|
||||
229: 61(bool) LogicalAnd 219 228
|
||||
SelectionMerge 231 None
|
||||
BranchConditional 229 230 231
|
||||
230: Label
|
||||
233: 14(fvec4) Load 82(v)
|
||||
234: 14(fvec4) VectorTimesScalar 233 232
|
||||
Store 82(v) 234
|
||||
Branch 231
|
||||
231: Label
|
||||
235: 11 Load 13(a)
|
||||
236: 11 Load 37(b)
|
||||
237: 8(s1) CompositeExtract 235 0
|
||||
238: 8(s1) CompositeExtract 236 0
|
||||
239: 6(int) CompositeExtract 237 0
|
||||
240: 6(int) CompositeExtract 238 0
|
||||
241: 61(bool) INotEqual 239 240
|
||||
242: 7(float) CompositeExtract 237 1
|
||||
243: 7(float) CompositeExtract 238 1
|
||||
244: 61(bool) FOrdNotEqual 242 243
|
||||
245: 61(bool) LogicalOr 241 244
|
||||
246: 8(s1) CompositeExtract 235 1
|
||||
247: 8(s1) CompositeExtract 236 1
|
||||
248: 6(int) CompositeExtract 246 0
|
||||
249: 6(int) CompositeExtract 247 0
|
||||
250: 61(bool) INotEqual 248 249
|
||||
251: 7(float) CompositeExtract 246 1
|
||||
252: 7(float) CompositeExtract 247 1
|
||||
253: 61(bool) FOrdNotEqual 251 252
|
||||
254: 61(bool) LogicalOr 250 253
|
||||
255: 61(bool) LogicalOr 245 254
|
||||
256: 8(s1) CompositeExtract 235 2
|
||||
257: 8(s1) CompositeExtract 236 2
|
||||
258: 6(int) CompositeExtract 256 0
|
||||
259: 6(int) CompositeExtract 257 0
|
||||
260: 61(bool) INotEqual 258 259
|
||||
261: 7(float) CompositeExtract 256 1
|
||||
262: 7(float) CompositeExtract 257 1
|
||||
263: 61(bool) FOrdNotEqual 261 262
|
||||
264: 61(bool) LogicalOr 260 263
|
||||
265: 61(bool) LogicalOr 255 264
|
||||
266: 8(s1) CompositeExtract 235 3
|
||||
267: 8(s1) CompositeExtract 236 3
|
||||
268: 6(int) CompositeExtract 266 0
|
||||
269: 6(int) CompositeExtract 267 0
|
||||
270: 61(bool) INotEqual 268 269
|
||||
271: 7(float) CompositeExtract 266 1
|
||||
272: 7(float) CompositeExtract 267 1
|
||||
273: 61(bool) FOrdNotEqual 271 272
|
||||
274: 61(bool) LogicalOr 270 273
|
||||
275: 61(bool) LogicalOr 265 274
|
||||
276: 8(s1) CompositeExtract 235 4
|
||||
277: 8(s1) CompositeExtract 236 4
|
||||
278: 6(int) CompositeExtract 276 0
|
||||
279: 6(int) CompositeExtract 277 0
|
||||
280: 61(bool) INotEqual 278 279
|
||||
281: 7(float) CompositeExtract 276 1
|
||||
282: 7(float) CompositeExtract 277 1
|
||||
283: 61(bool) FOrdNotEqual 281 282
|
||||
284: 61(bool) LogicalOr 280 283
|
||||
285: 61(bool) LogicalOr 275 284
|
||||
286: 8(s1) CompositeExtract 235 5
|
||||
287: 8(s1) CompositeExtract 236 5
|
||||
288: 6(int) CompositeExtract 286 0
|
||||
289: 6(int) CompositeExtract 287 0
|
||||
290: 61(bool) INotEqual 288 289
|
||||
291: 7(float) CompositeExtract 286 1
|
||||
292: 7(float) CompositeExtract 287 1
|
||||
293: 61(bool) FOrdNotEqual 291 292
|
||||
294: 61(bool) LogicalOr 290 293
|
||||
295: 61(bool) LogicalOr 285 294
|
||||
296: 8(s1) CompositeExtract 235 6
|
||||
297: 8(s1) CompositeExtract 236 6
|
||||
298: 6(int) CompositeExtract 296 0
|
||||
299: 6(int) CompositeExtract 297 0
|
||||
300: 61(bool) INotEqual 298 299
|
||||
301: 7(float) CompositeExtract 296 1
|
||||
302: 7(float) CompositeExtract 297 1
|
||||
303: 61(bool) FOrdNotEqual 301 302
|
||||
304: 61(bool) LogicalOr 300 303
|
||||
305: 61(bool) LogicalOr 295 304
|
||||
306: 8(s1) CompositeExtract 235 7
|
||||
307: 8(s1) CompositeExtract 236 7
|
||||
308: 6(int) CompositeExtract 306 0
|
||||
309: 6(int) CompositeExtract 307 0
|
||||
310: 61(bool) INotEqual 308 309
|
||||
311: 7(float) CompositeExtract 306 1
|
||||
312: 7(float) CompositeExtract 307 1
|
||||
313: 61(bool) FOrdNotEqual 311 312
|
||||
314: 61(bool) LogicalOr 310 313
|
||||
315: 61(bool) LogicalOr 305 314
|
||||
316: 8(s1) CompositeExtract 235 8
|
||||
317: 8(s1) CompositeExtract 236 8
|
||||
318: 6(int) CompositeExtract 316 0
|
||||
319: 6(int) CompositeExtract 317 0
|
||||
320: 61(bool) INotEqual 318 319
|
||||
321: 7(float) CompositeExtract 316 1
|
||||
322: 7(float) CompositeExtract 317 1
|
||||
323: 61(bool) FOrdNotEqual 321 322
|
||||
324: 61(bool) LogicalOr 320 323
|
||||
325: 61(bool) LogicalOr 315 324
|
||||
326: 8(s1) CompositeExtract 235 9
|
||||
327: 8(s1) CompositeExtract 236 9
|
||||
328: 6(int) CompositeExtract 326 0
|
||||
329: 6(int) CompositeExtract 327 0
|
||||
330: 61(bool) INotEqual 328 329
|
||||
331: 7(float) CompositeExtract 326 1
|
||||
332: 7(float) CompositeExtract 327 1
|
||||
333: 61(bool) FOrdNotEqual 331 332
|
||||
334: 61(bool) LogicalOr 330 333
|
||||
335: 61(bool) LogicalOr 325 334
|
||||
SelectionMerge 337 None
|
||||
BranchConditional 335 336 337
|
||||
336: Label
|
||||
339: 14(fvec4) Load 82(v)
|
||||
340: 14(fvec4) VectorTimesScalar 339 338
|
||||
Store 82(v) 340
|
||||
Branch 337
|
||||
337: Label
|
||||
348: 347(ptr) AccessChain 345(bi) 346
|
||||
349: 342(s2) Load 348
|
||||
350: 55(s2) Load 57(foo2a)
|
||||
351: 6(int) CompositeExtract 349 0
|
||||
352: 6(int) CompositeExtract 350 0
|
||||
353: 61(bool) INotEqual 351 352
|
||||
354: 7(float) CompositeExtract 349 1
|
||||
355: 7(float) CompositeExtract 350 1
|
||||
356: 61(bool) FOrdNotEqual 354 355
|
||||
357: 61(bool) LogicalOr 353 356
|
||||
358: 341(s1) CompositeExtract 349 2
|
||||
359: 8(s1) CompositeExtract 350 2
|
||||
360: 6(int) CompositeExtract 358 0
|
||||
361: 6(int) CompositeExtract 359 0
|
||||
362: 61(bool) INotEqual 360 361
|
||||
363: 7(float) CompositeExtract 358 1
|
||||
364: 7(float) CompositeExtract 359 1
|
||||
365: 61(bool) FOrdNotEqual 363 364
|
||||
366: 61(bool) LogicalOr 362 365
|
||||
367: 61(bool) LogicalOr 357 366
|
||||
SelectionMerge 369 None
|
||||
BranchConditional 367 368 369
|
||||
368: Label
|
||||
371: 14(fvec4) Load 82(v)
|
||||
372: 14(fvec4) VectorTimesScalar 371 370
|
||||
Store 82(v) 372
|
||||
Branch 369
|
||||
369: Label
|
||||
375: 14(fvec4) Load 82(v)
|
||||
Store 374(color) 375
|
||||
167: 7(float) CompositeExtract 162 1
|
||||
168: 72(bool) FOrdEqual 166 167
|
||||
169: 72(bool) LogicalAnd 165 168
|
||||
170: 72(bool) LogicalAnd 160 169
|
||||
SelectionMerge 172 None
|
||||
BranchConditional 170 171 172
|
||||
171: Label
|
||||
174: 14(fvec4) Load 93(v)
|
||||
175: 14(fvec4) VectorTimesScalar 174 173
|
||||
Store 93(v) 175
|
||||
Branch 172
|
||||
172: Label
|
||||
176: 11 Load 13(a)
|
||||
177: 11 Load 37(b)
|
||||
178: 8(s1) CompositeExtract 176 0
|
||||
179: 8(s1) CompositeExtract 177 0
|
||||
180: 6(int) CompositeExtract 178 0
|
||||
181: 6(int) CompositeExtract 179 0
|
||||
182: 72(bool) INotEqual 180 181
|
||||
183: 7(float) CompositeExtract 178 1
|
||||
184: 7(float) CompositeExtract 179 1
|
||||
185: 72(bool) FOrdNotEqual 183 184
|
||||
186: 72(bool) LogicalOr 182 185
|
||||
187: 8(s1) CompositeExtract 176 1
|
||||
188: 8(s1) CompositeExtract 177 1
|
||||
189: 6(int) CompositeExtract 187 0
|
||||
190: 6(int) CompositeExtract 188 0
|
||||
191: 72(bool) INotEqual 189 190
|
||||
192: 7(float) CompositeExtract 187 1
|
||||
193: 7(float) CompositeExtract 188 1
|
||||
194: 72(bool) FOrdNotEqual 192 193
|
||||
195: 72(bool) LogicalOr 191 194
|
||||
196: 72(bool) LogicalOr 186 195
|
||||
197: 8(s1) CompositeExtract 176 2
|
||||
198: 8(s1) CompositeExtract 177 2
|
||||
199: 6(int) CompositeExtract 197 0
|
||||
200: 6(int) CompositeExtract 198 0
|
||||
201: 72(bool) INotEqual 199 200
|
||||
202: 7(float) CompositeExtract 197 1
|
||||
203: 7(float) CompositeExtract 198 1
|
||||
204: 72(bool) FOrdNotEqual 202 203
|
||||
205: 72(bool) LogicalOr 201 204
|
||||
206: 72(bool) LogicalOr 196 205
|
||||
SelectionMerge 208 None
|
||||
BranchConditional 206 207 208
|
||||
207: Label
|
||||
210: 14(fvec4) Load 93(v)
|
||||
211: 14(fvec4) VectorTimesScalar 210 209
|
||||
Store 93(v) 211
|
||||
Branch 208
|
||||
208: Label
|
||||
214: 14(fvec4) Load 93(v)
|
||||
Store 213(color) 214
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user