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