1spv.stereoViewRendering.tesc
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 38
5
6                              Capability Geometry
7                              Capability Tessellation
8                              Capability ShaderViewportIndexLayerNV
9                              Capability ShaderViewportMaskNV
10                              Capability ShaderStereoViewNV
11                              Extension  "SPV_EXT_shader_viewport_index_layer"
12                              Extension  "SPV_NV_stereo_view_rendering"
13                              Extension  "SPV_NV_viewport_array2"
14               1:             ExtInstImport  "GLSL.std.450"
15                              MemoryModel Logical GLSL450
16                              EntryPoint TessellationControl 4  "main" 16 18 31 37
17                              ExecutionMode 4 OutputVertices 4
18                              Source GLSL 450
19                              SourceExtension  "GL_NV_stereo_view_rendering"
20                              SourceExtension  "GL_NV_viewport_array2"
21                              Name 4  "main"
22                              Name 12  "gl_PerVertex"
23                              MemberName 12(gl_PerVertex) 0  "gl_SecondaryPositionNV"
24                              MemberName 12(gl_PerVertex) 1  "gl_SecondaryViewportMaskNV"
25                              Name 16  "gl_out"
26                              Name 18  "gl_InvocationID"
27                              Name 27  "gl_PerVertex"
28                              MemberName 27(gl_PerVertex) 0  "gl_Position"
29                              MemberName 27(gl_PerVertex) 1  "gl_PointSize"
30                              MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
31                              MemberName 27(gl_PerVertex) 3  "gl_CullDistance"
32                              MemberName 27(gl_PerVertex) 4  "gl_SecondaryPositionNV"
33                              Name 31  "gl_in"
34                              Name 37  "gl_Layer"
35                              MemberDecorate 12(gl_PerVertex) 0 BuiltIn SecondaryPositionNV
36                              MemberDecorate 12(gl_PerVertex) 1 BuiltIn SecondaryViewportMaskNV
37                              Decorate 12(gl_PerVertex) Block
38                              Decorate 18(gl_InvocationID) BuiltIn InvocationId
39                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
40                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
41                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
42                              MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
43                              Decorate 27(gl_PerVertex) Block
44                              Decorate 37(gl_Layer) BuiltIn Layer
45                              Decorate 37(gl_Layer) ViewportRelativeNV
46                              Decorate 37(gl_Layer) SecondaryViewportRelativeNV 1
47               2:             TypeVoid
48               3:             TypeFunction 2
49               6:             TypeFloat 32
50               7:             TypeVector 6(float) 4
51               8:             TypeInt 32 1
52               9:             TypeInt 32 0
53              10:      9(int) Constant 2
54              11:             TypeArray 8(int) 10
5512(gl_PerVertex):             TypeStruct 7(fvec4) 11
56              13:      9(int) Constant 4
57              14:             TypeArray 12(gl_PerVertex) 13
58              15:             TypePointer Output 14
59      16(gl_out):     15(ptr) Variable Output
60              17:             TypePointer Input 8(int)
6118(gl_InvocationID):     17(ptr) Variable Input
62              20:      8(int) Constant 1
63              21:      8(int) Constant 0
64              22:             TypePointer Output 8(int)
65              25:      9(int) Constant 1
66              26:             TypeArray 6(float) 25
6727(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 26 26 7(fvec4)
68              28:      9(int) Constant 32
69              29:             TypeArray 27(gl_PerVertex) 28
70              30:             TypePointer Input 29
71       31(gl_in):     30(ptr) Variable Input
72              32:             TypePointer Input 7(fvec4)
73              35:             TypePointer Output 7(fvec4)
74    37(gl_Layer):     22(ptr) Variable Output
75         4(main):           2 Function None 3
76               5:             Label
77              19:      8(int) Load 18(gl_InvocationID)
78              23:     22(ptr) AccessChain 16(gl_out) 19 20 21
79                              Store 23 20
80              24:      8(int) Load 18(gl_InvocationID)
81              33:     32(ptr) AccessChain 31(gl_in) 20 21
82              34:    7(fvec4) Load 33
83              36:     35(ptr) AccessChain 16(gl_out) 24 21
84                              Store 36 34
85                              Return
86                              FunctionEnd
87