1spv.dataOutIndirect.vert 2WARNING: 0:3: attribute deprecated in version 130; may be removed in future release 3 4// Module Version 10000 5// Generated by (magic number): 8000a 6// Id's are bound by 38 7 8 Capability Shader 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Vertex 4 "main" 25 28 34 12 Source GLSL 140 13 Name 4 "main" 14 Name 8 "i" 15 Name 25 "colorOut" 16 Name 28 "color" 17 Name 34 "gl_Position" 18 Decorate 25(colorOut) Location 0 19 Decorate 28(color) Location 0 20 Decorate 34(gl_Position) BuiltIn Position 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeInt 32 1 24 7: TypePointer Function 6(int) 25 9: 6(int) Constant 1 26 16: 6(int) Constant 5 27 17: TypeBool 28 19: TypeFloat 32 29 20: TypeVector 19(float) 4 30 21: TypeInt 32 0 31 22: 21(int) Constant 6 32 23: TypeArray 20(fvec4) 22 33 24: TypePointer Output 23 34 25(colorOut): 24(ptr) Variable Output 35 27: TypePointer Input 20(fvec4) 36 28(color): 27(ptr) Variable Input 37 30: TypePointer Output 20(fvec4) 38 34(gl_Position): 30(ptr) Variable Output 39 35: 6(int) Constant 2 40 4(main): 2 Function None 3 41 5: Label 42 8(i): 7(ptr) Variable Function 43 Store 8(i) 9 44 Branch 10 45 10: Label 46 LoopMerge 12 13 None 47 Branch 14 48 14: Label 49 15: 6(int) Load 8(i) 50 18: 17(bool) SLessThan 15 16 51 BranchConditional 18 11 12 52 11: Label 53 26: 6(int) Load 8(i) 54 29: 20(fvec4) Load 28(color) 55 31: 30(ptr) AccessChain 25(colorOut) 26 56 Store 31 29 57 Branch 13 58 13: Label 59 32: 6(int) Load 8(i) 60 33: 6(int) IAdd 32 9 61 Store 8(i) 33 62 Branch 10 63 12: Label 64 36: 30(ptr) AccessChain 25(colorOut) 35 65 37: 20(fvec4) Load 36 66 Store 34(gl_Position) 37 67 Return 68 FunctionEnd 69