1 spv.stereoViewRendering.vert
2 Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
4 // Module Version 10000
5 // Generated by (magic number): 80001
6 // Id's are bound by 27
10 Capability ShaderViewportIndexLayerNV
11 Capability ShaderViewportMaskNV
12 Capability ShaderStereoViewNV
13 Extension "SPV_NV_stereo_view_rendering"
14 Extension "SPV_NV_viewport_array2"
15 1: ExtInstImport "GLSL.std.450"
16 MemoryModel Logical GLSL450
17 EntryPoint Vertex 4 "main" 11 19 23 26
19 SourceExtension "GL_NV_stereo_view_rendering"
20 SourceExtension "GL_NV_viewport_array2"
22 Name 11 "gl_SecondaryViewportMaskNV"
23 Name 19 "gl_SecondaryPositionNV"
24 Name 21 "gl_PerVertex"
25 MemberName 21(gl_PerVertex) 0 "gl_Position"
26 MemberName 21(gl_PerVertex) 1 "gl_PointSize"
27 MemberName 21(gl_PerVertex) 2 "gl_ClipDistance"
28 MemberName 21(gl_PerVertex) 3 "gl_CullDistance"
31 Decorate 11(gl_SecondaryViewportMaskNV) BuiltIn SecondaryViewportMaskNV
32 Decorate 19(gl_SecondaryPositionNV) BuiltIn SecondaryPositionNV
33 MemberDecorate 21(gl_PerVertex) 0 BuiltIn Position
34 MemberDecorate 21(gl_PerVertex) 1 BuiltIn PointSize
35 MemberDecorate 21(gl_PerVertex) 2 BuiltIn ClipDistance
36 MemberDecorate 21(gl_PerVertex) 3 BuiltIn CullDistance
37 Decorate 21(gl_PerVertex) Block
38 Decorate 26(gl_Layer) BuiltIn Layer
39 Decorate 26(gl_Layer) ViewportRelativeNV
40 Decorate 26(gl_Layer) SecondaryViewportRelativeNV 2
47 10: TypePointer Output 9
48 11(gl_SecondaryViewportMaskNV): 10(ptr) Variable Output
51 14: TypePointer Output 6(int)
53 17: TypeVector 16(float) 4
54 18: TypePointer Output 17(fvec4)
55 19(gl_SecondaryPositionNV): 18(ptr) Variable Output
56 20: TypeArray 16(float) 8
57 21(gl_PerVertex): TypeStruct 17(fvec4) 16(float) 20 20
58 22: TypePointer Output 21(gl_PerVertex)
59 23: 22(ptr) Variable Output
60 26(gl_Layer): 14(ptr) Variable Output
61 4(main): 2 Function None 3
63 15: 14(ptr) AccessChain 11(gl_SecondaryViewportMaskNV) 12
65 24: 18(ptr) AccessChain 23 12
67 Store 19(gl_SecondaryPositionNV) 25