SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
@@ -3,16 +3,16 @@ spv.types.frag
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 263
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 268
|
||||
|
||||
Source GLSL 130
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 94 104 114 124 134 144 154 164
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 8 "b"
|
||||
Name 10 "u_b"
|
||||
@@ -55,11 +55,6 @@ Linked fragment stage:
|
||||
Decorate 104(i_i2) Flat
|
||||
Decorate 114(i_i3) Flat
|
||||
Decorate 124(i_i4) Flat
|
||||
Decorate 134(i_f) Smooth
|
||||
Decorate 144(i_f2) Smooth
|
||||
Decorate 154(i_f3) Smooth
|
||||
Decorate 164(i_f4) Smooth
|
||||
Decorate 168(gl_FragColor) BuiltIn FragColor
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeBool
|
||||
@@ -132,8 +127,13 @@ Linked fragment stage:
|
||||
164(i_f4): 163(ptr) Variable Input
|
||||
167: TypePointer Output 157(fvec4)
|
||||
168(gl_FragColor): 167(ptr) Variable Output
|
||||
260: 127(float) Constant 1065353216
|
||||
261: 157(fvec4) ConstantComposite 260 260 260 260
|
||||
201: TypeInt 32 0
|
||||
202: 201(int) Constant 0
|
||||
206: 201(int) Constant 1
|
||||
216: 201(int) Constant 2
|
||||
229: 201(int) Constant 3
|
||||
265: 127(float) Constant 1065353216
|
||||
266: 157(fvec4) ConstantComposite 265 265 265 265
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(b): 7(ptr) Variable Function
|
||||
@@ -271,74 +271,74 @@ Linked fragment stage:
|
||||
196: 6(bool) CompositeExtract 195 3
|
||||
197: 6(bool) LogicalOr 194 196
|
||||
SelectionMerge 199 None
|
||||
BranchConditional 197 198 259
|
||||
BranchConditional 197 198 264
|
||||
198: Label
|
||||
200: 87(int) Load 89(i)
|
||||
201: 97(ivec2) Load 99(i2)
|
||||
202: 87(int) CompositeExtract 201 0
|
||||
203: 87(int) IAdd 200 202
|
||||
204: 97(ivec2) Load 99(i2)
|
||||
205: 87(int) CompositeExtract 204 1
|
||||
206: 87(int) IAdd 203 205
|
||||
207: 107(ivec3) Load 109(i3)
|
||||
208: 87(int) CompositeExtract 207 0
|
||||
209: 87(int) IAdd 206 208
|
||||
210: 107(ivec3) Load 109(i3)
|
||||
211: 87(int) CompositeExtract 210 1
|
||||
203: 88(ptr) AccessChain 99(i2) 202
|
||||
204: 87(int) Load 203
|
||||
205: 87(int) IAdd 200 204
|
||||
207: 88(ptr) AccessChain 99(i2) 206
|
||||
208: 87(int) Load 207
|
||||
209: 87(int) IAdd 205 208
|
||||
210: 88(ptr) AccessChain 109(i3) 202
|
||||
211: 87(int) Load 210
|
||||
212: 87(int) IAdd 209 211
|
||||
213: 107(ivec3) Load 109(i3)
|
||||
214: 87(int) CompositeExtract 213 2
|
||||
213: 88(ptr) AccessChain 109(i3) 206
|
||||
214: 87(int) Load 213
|
||||
215: 87(int) IAdd 212 214
|
||||
216: 117(ivec4) Load 119(i4)
|
||||
217: 87(int) CompositeExtract 216 0
|
||||
218: 87(int) IAdd 215 217
|
||||
219: 117(ivec4) Load 119(i4)
|
||||
220: 87(int) CompositeExtract 219 1
|
||||
221: 87(int) IAdd 218 220
|
||||
222: 117(ivec4) Load 119(i4)
|
||||
223: 87(int) CompositeExtract 222 2
|
||||
224: 87(int) IAdd 221 223
|
||||
225: 117(ivec4) Load 119(i4)
|
||||
226: 87(int) CompositeExtract 225 3
|
||||
227: 87(int) IAdd 224 226
|
||||
228: 127(float) ConvertSToF 227
|
||||
229: 127(float) Load 129(f)
|
||||
230: 127(float) FAdd 228 229
|
||||
231: 137(fvec2) Load 139(f2)
|
||||
232: 127(float) CompositeExtract 231 0
|
||||
233: 127(float) FAdd 230 232
|
||||
234: 137(fvec2) Load 139(f2)
|
||||
235: 127(float) CompositeExtract 234 1
|
||||
236: 127(float) FAdd 233 235
|
||||
237: 147(fvec3) Load 149(f3)
|
||||
238: 127(float) CompositeExtract 237 0
|
||||
239: 127(float) FAdd 236 238
|
||||
240: 147(fvec3) Load 149(f3)
|
||||
241: 127(float) CompositeExtract 240 1
|
||||
242: 127(float) FAdd 239 241
|
||||
243: 147(fvec3) Load 149(f3)
|
||||
244: 127(float) CompositeExtract 243 2
|
||||
245: 127(float) FAdd 242 244
|
||||
246: 157(fvec4) Load 159(f4)
|
||||
247: 127(float) CompositeExtract 246 0
|
||||
248: 127(float) FAdd 245 247
|
||||
249: 157(fvec4) Load 159(f4)
|
||||
250: 127(float) CompositeExtract 249 1
|
||||
251: 127(float) FAdd 248 250
|
||||
252: 157(fvec4) Load 159(f4)
|
||||
253: 127(float) CompositeExtract 252 2
|
||||
254: 127(float) FAdd 251 253
|
||||
255: 157(fvec4) Load 159(f4)
|
||||
256: 127(float) CompositeExtract 255 3
|
||||
257: 127(float) FAdd 254 256
|
||||
258: 157(fvec4) CompositeConstruct 257 257 257 257
|
||||
Store 169 258
|
||||
217: 88(ptr) AccessChain 109(i3) 216
|
||||
218: 87(int) Load 217
|
||||
219: 87(int) IAdd 215 218
|
||||
220: 88(ptr) AccessChain 119(i4) 202
|
||||
221: 87(int) Load 220
|
||||
222: 87(int) IAdd 219 221
|
||||
223: 88(ptr) AccessChain 119(i4) 206
|
||||
224: 87(int) Load 223
|
||||
225: 87(int) IAdd 222 224
|
||||
226: 88(ptr) AccessChain 119(i4) 216
|
||||
227: 87(int) Load 226
|
||||
228: 87(int) IAdd 225 227
|
||||
230: 88(ptr) AccessChain 119(i4) 229
|
||||
231: 87(int) Load 230
|
||||
232: 87(int) IAdd 228 231
|
||||
233: 127(float) ConvertSToF 232
|
||||
234: 127(float) Load 129(f)
|
||||
235: 127(float) FAdd 233 234
|
||||
236: 128(ptr) AccessChain 139(f2) 202
|
||||
237: 127(float) Load 236
|
||||
238: 127(float) FAdd 235 237
|
||||
239: 128(ptr) AccessChain 139(f2) 206
|
||||
240: 127(float) Load 239
|
||||
241: 127(float) FAdd 238 240
|
||||
242: 128(ptr) AccessChain 149(f3) 202
|
||||
243: 127(float) Load 242
|
||||
244: 127(float) FAdd 241 243
|
||||
245: 128(ptr) AccessChain 149(f3) 206
|
||||
246: 127(float) Load 245
|
||||
247: 127(float) FAdd 244 246
|
||||
248: 128(ptr) AccessChain 149(f3) 216
|
||||
249: 127(float) Load 248
|
||||
250: 127(float) FAdd 247 249
|
||||
251: 128(ptr) AccessChain 159(f4) 202
|
||||
252: 127(float) Load 251
|
||||
253: 127(float) FAdd 250 252
|
||||
254: 128(ptr) AccessChain 159(f4) 206
|
||||
255: 127(float) Load 254
|
||||
256: 127(float) FAdd 253 255
|
||||
257: 128(ptr) AccessChain 159(f4) 216
|
||||
258: 127(float) Load 257
|
||||
259: 127(float) FAdd 256 258
|
||||
260: 128(ptr) AccessChain 159(f4) 229
|
||||
261: 127(float) Load 260
|
||||
262: 127(float) FAdd 259 261
|
||||
263: 157(fvec4) CompositeConstruct 262 262 262 262
|
||||
Store 169 263
|
||||
Branch 199
|
||||
259: Label
|
||||
Store 169 261
|
||||
264: Label
|
||||
Store 169 266
|
||||
Branch 199
|
||||
199: Label
|
||||
262: 157(fvec4) Load 169
|
||||
Store 168(gl_FragColor) 262
|
||||
267: 157(fvec4) Load 169
|
||||
Store 168(gl_FragColor) 267
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user