• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.GeometryShaderPassthrough.geom
2// Module Version 10000
3// Generated by (magic number): 8000b
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 Location 0
31                              Decorate 14 PassthroughNV
32               2:             TypeVoid
33               3:             TypeFunction 2
34               6:             TypeFloat 32
35               7:             TypeVector 6(float) 4
36 8(gl_PerVertex):             TypeStruct 7(fvec4)
37               9:             TypePointer Input 8(gl_PerVertex)
38              10:      9(ptr) Variable Input
39              11:             TypeVector 6(float) 2
40      12(Inputs):             TypeStruct 11(fvec2) 7(fvec4)
41              13:             TypePointer Input 12(Inputs)
42              14:     13(ptr) Variable Input
43         4(main):           2 Function None 3
44               5:             Label
45                              Return
46                              FunctionEnd
47