1 spv.GeometryShaderPassthrough.geom 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 15 5 6 Capability Geometry 7 Capability GeometryShaderPassthroughNV 8 Extension "SPV_NV_geometry_shader_passthrough" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Geometry 4 "main" 10 14 12 ExecutionMode 4 Triangles 13 ExecutionMode 4 Invocations 1 14 ExecutionMode 4 OutputTriangleStrip 15 ExecutionMode 4 OutputVertices 3 16 Source GLSL 450 17 SourceExtension "GL_NV_geometry_shader_passthrough" 18 Name 4 "main" 19 Name 8 "gl_PerVertex" 20 MemberName 8(gl_PerVertex) 0 "gl_Position" 21 Name 10 "" 22 Name 12 "Inputs" 23 MemberName 12(Inputs) 0 "texcoord" 24 MemberName 12(Inputs) 1 "baseColor" 25 Name 14 "" 26 MemberDecorate 8(gl_PerVertex) 0 BuiltIn Position 27 Decorate 8(gl_PerVertex) Block 28 Decorate 10 PassthroughNV 29 Decorate 12(Inputs) Block 30 Decorate 14 PassthroughNV 31 2: TypeVoid 32 3: TypeFunction 2 33 6: TypeFloat 32 34 7: TypeVector 6(float) 4 35 8(gl_PerVertex): TypeStruct 7(fvec4) 36 9: TypePointer Input 8(gl_PerVertex) 37 10: 9(ptr) Variable Input 38 11: TypeVector 6(float) 2 39 12(Inputs): TypeStruct 11(fvec2) 7(fvec4) 40 13: TypePointer Input 12(Inputs) 41 14: 13(ptr) Variable Input 42 4(main): 2 Function None 3 43 5: Label 44 Return 45 FunctionEnd 46