1spv.420.geom 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 72 5 6 Capability Geometry 7 Capability GeometryPointSize 8 Capability ImageGatherExtended 9 Capability GeometryStreams 10 Capability MultiViewport 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint Geometry 4 "main" 14 23 28 33 46 14 ExecutionMode 4 Triangles 15 ExecutionMode 4 Invocations 4 16 ExecutionMode 4 OutputLineStrip 17 ExecutionMode 4 OutputVertices 127 18 Source GLSL 420 19 Name 4 "main" 20 Name 8 "p" 21 Name 9 "gl_PerVertex" 22 MemberName 9(gl_PerVertex) 0 "gl_PointSize" 23 Name 14 "gl_in" 24 Name 21 "gl_PerVertex" 25 MemberName 21(gl_PerVertex) 0 "gl_PointSize" 26 Name 23 "" 27 Name 28 "gl_ViewportIndex" 28 Name 31 "id" 29 Name 33 "gl_InvocationID" 30 Name 37 "v" 31 Name 41 "s2D" 32 Name 46 "coord" 33 Name 64 "i" 34 Name 67 "indexable" 35 MemberDecorate 9(gl_PerVertex) 0 BuiltIn PointSize 36 Decorate 9(gl_PerVertex) Block 37 MemberDecorate 21(gl_PerVertex) 0 BuiltIn PointSize 38 Decorate 21(gl_PerVertex) Block 39 Decorate 23 Stream 0 40 Decorate 28(gl_ViewportIndex) Stream 0 41 Decorate 28(gl_ViewportIndex) BuiltIn ViewportIndex 42 Decorate 33(gl_InvocationID) BuiltIn InvocationId 43 Decorate 41(s2D) DescriptorSet 0 44 Decorate 41(s2D) Binding 0 45 Decorate 46(coord) Location 0 46 2: TypeVoid 47 3: TypeFunction 2 48 6: TypeFloat 32 49 7: TypePointer Function 6(float) 50 9(gl_PerVertex): TypeStruct 6(float) 51 10: TypeInt 32 0 52 11: 10(int) Constant 3 53 12: TypeArray 9(gl_PerVertex) 11 54 13: TypePointer Input 12 55 14(gl_in): 13(ptr) Variable Input 56 15: TypeInt 32 1 57 16: 15(int) Constant 1 58 17: 15(int) Constant 0 59 18: TypePointer Input 6(float) 6021(gl_PerVertex): TypeStruct 6(float) 61 22: TypePointer Output 21(gl_PerVertex) 62 23: 22(ptr) Variable Output 63 25: TypePointer Output 6(float) 64 27: TypePointer Output 15(int) 6528(gl_ViewportIndex): 27(ptr) Variable Output 66 29: 15(int) Constant 7 67 30: TypePointer Function 15(int) 68 32: TypePointer Input 15(int) 6933(gl_InvocationID): 32(ptr) Variable Input 70 35: TypeVector 6(float) 4 71 36: TypePointer Function 35(fvec4) 72 38: TypeImage 6(float) 2D sampled format:Unknown 73 39: TypeSampledImage 38 74 40: TypePointer UniformConstant 39 75 41(s2D): 40(ptr) Variable UniformConstant 76 43: TypeVector 6(float) 2 77 44: TypeArray 43(fvec2) 11 78 45: TypePointer Input 44 79 46(coord): 45(ptr) Variable Input 80 47: TypePointer Input 43(fvec2) 81 50: TypeVector 15(int) 2 82 51: 10(int) Constant 5 83 52: TypeArray 50(ivec2) 51 84 53: 50(ivec2) ConstantComposite 17 16 85 54: 15(int) Constant 4294967294 86 55: 50(ivec2) ConstantComposite 16 54 87 56: 15(int) Constant 3 88 57: 50(ivec2) ConstantComposite 17 56 89 58: 15(int) Constant 4294967293 90 59: 50(ivec2) ConstantComposite 58 17 91 60: 15(int) Constant 2 92 61: 50(ivec2) ConstantComposite 60 16 93 62: 52 ConstantComposite 53 55 57 59 61 94 63: TypePointer Private 15(int) 95 64(i): 63(ptr) Variable Private 96 66: TypePointer Function 52 97 68: TypePointer Function 50(ivec2) 98 4(main): 2 Function None 3 99 5: Label 100 8(p): 7(ptr) Variable Function 101 31(id): 30(ptr) Variable Function 102 37(v): 36(ptr) Variable Function 103 67(indexable): 66(ptr) Variable Function 104 19: 18(ptr) AccessChain 14(gl_in) 16 17 105 20: 6(float) Load 19 106 Store 8(p) 20 107 24: 6(float) Load 8(p) 108 26: 25(ptr) AccessChain 23 17 109 Store 26 24 110 Store 28(gl_ViewportIndex) 29 111 EmitStreamVertex 16 112 EndStreamPrimitive 17 113 EmitVertex 114 EndPrimitive 115 34: 15(int) Load 33(gl_InvocationID) 116 Store 31(id) 34 117 42: 39 Load 41(s2D) 118 48: 47(ptr) AccessChain 46(coord) 17 119 49: 43(fvec2) Load 48 120 65: 15(int) Load 64(i) 121 Store 67(indexable) 62 122 69: 68(ptr) AccessChain 67(indexable) 65 123 70: 50(ivec2) Load 69 124 71: 35(fvec4) ImageGather 42 49 17 Offset 70 125 Store 37(v) 71 126 Return 127 FunctionEnd 128