1spv.for-simple.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 24 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 10 Source ESSL 310 11 Name 4 "main" 12 Name 8 "i" 13 Name 19 "j" 14 2: TypeVoid 15 3: TypeFunction 2 16 6: TypeInt 32 1 17 7: TypePointer Function 6(int) 18 9: 6(int) Constant 0 19 16: 6(int) Constant 10 20 17: TypeBool 21 20: 6(int) Constant 12 22 22: 6(int) Constant 1 23 4(main): 2 Function None 3 24 5: Label 25 8(i): 7(ptr) Variable Function 26 19(j): 7(ptr) Variable Function 27 Store 8(i) 9 28 Branch 10 29 10: Label 30 LoopMerge 12 13 None 31 Branch 14 32 14: Label 33 15: 6(int) Load 8(i) 34 18: 17(bool) SLessThan 15 16 35 BranchConditional 18 11 12 36 11: Label 37 Store 19(j) 20 38 Branch 13 39 13: Label 40 21: 6(int) Load 8(i) 41 23: 6(int) IAdd 21 22 42 Store 8(i) 23 43 Branch 10 44 12: Label 45 Return 46 FunctionEnd 47