1 spv.420.geom 2 // Module Version 10000 3 // Generated by (magic number): 80007 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 2: TypeVoid 46 3: TypeFunction 2 47 6: TypeFloat 32 48 7: TypePointer Function 6(float) 49 9(gl_PerVertex): TypeStruct 6(float) 50 10: TypeInt 32 0 51 11: 10(int) Constant 3 52 12: TypeArray 9(gl_PerVertex) 11 53 13: TypePointer Input 12 54 14(gl_in): 13(ptr) Variable Input 55 15: TypeInt 32 1 56 16: 15(int) Constant 1 57 17: 15(int) Constant 0 58 18: TypePointer Input 6(float) 59 21(gl_PerVertex): TypeStruct 6(float) 60 22: TypePointer Output 21(gl_PerVertex) 61 23: 22(ptr) Variable Output 62 25: TypePointer Output 6(float) 63 27: TypePointer Output 15(int) 64 28(gl_ViewportIndex): 27(ptr) Variable Output 65 29: 15(int) Constant 7 66 30: TypePointer Function 15(int) 67 32: TypePointer Input 15(int) 68 33(gl_InvocationID): 32(ptr) Variable Input 69 35: TypeVector 6(float) 4 70 36: TypePointer Function 35(fvec4) 71 38: TypeImage 6(float) 2D sampled format:Unknown 72 39: TypeSampledImage 38 73 40: TypePointer UniformConstant 39 74 41(s2D): 40(ptr) Variable UniformConstant 75 43: TypeVector 6(float) 2 76 44: TypeArray 43(fvec2) 11 77 45: TypePointer Input 44 78 46(coord): 45(ptr) Variable Input 79 47: TypePointer Input 43(fvec2) 80 50: TypeVector 15(int) 2 81 51: 10(int) Constant 5 82 52: TypeArray 50(ivec2) 51 83 53: 50(ivec2) ConstantComposite 17 16 84 54: 15(int) Constant 4294967294 85 55: 50(ivec2) ConstantComposite 16 54 86 56: 15(int) Constant 3 87 57: 50(ivec2) ConstantComposite 17 56 88 58: 15(int) Constant 4294967293 89 59: 50(ivec2) ConstantComposite 58 17 90 60: 15(int) Constant 2 91 61: 50(ivec2) ConstantComposite 60 16 92 62: 52 ConstantComposite 53 55 57 59 61 93 63: TypePointer Private 15(int) 94 64(i): 63(ptr) Variable Private 95 66: TypePointer Function 52 96 68: TypePointer Function 50(ivec2) 97 4(main): 2 Function None 3 98 5: Label 99 8(p): 7(ptr) Variable Function 100 31(id): 30(ptr) Variable Function 101 37(v): 36(ptr) Variable Function 102 67(indexable): 66(ptr) Variable Function 103 19: 18(ptr) AccessChain 14(gl_in) 16 17 104 20: 6(float) Load 19 105 Store 8(p) 20 106 24: 6(float) Load 8(p) 107 26: 25(ptr) AccessChain 23 17 108 Store 26 24 109 Store 28(gl_ViewportIndex) 29 110 EmitStreamVertex 16 111 EndStreamPrimitive 17 112 EmitVertex 113 EndPrimitive 114 34: 15(int) Load 33(gl_InvocationID) 115 Store 31(id) 34 116 42: 39 Load 41(s2D) 117 48: 47(ptr) AccessChain 46(coord) 17 118 49: 43(fvec2) Load 48 119 65: 15(int) Load 64(i) 120 Store 67(indexable) 62 121 69: 68(ptr) AccessChain 67(indexable) 65 122 70: 50(ivec2) Load 69 123 71: 35(fvec4) ImageGather 42 49 17 Offset 70 124 Store 37(v) 71 125 Return 126 FunctionEnd 127