1spv.multiviewPerViewAttributes.tesc
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 37
5
6                              Capability Tessellation
7                              Capability PerViewAttributesNV
8                              Extension  "SPV_NVX_multiview_per_view_attributes"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint TessellationControl 4  "main" 17 19 31
12                              ExecutionMode 4 OutputVertices 4
13                              Source GLSL 450
14                              SourceExtension  "GL_NVX_multiview_per_view_attributes"
15                              Name 4  "main"
16                              Name 13  "gl_PerVertex"
17                              MemberName 13(gl_PerVertex) 0  "gl_PositionPerViewNV"
18                              MemberName 13(gl_PerVertex) 1  "gl_ViewportMaskPerViewNV"
19                              Name 17  "gl_out"
20                              Name 19  "gl_InvocationID"
21                              Name 27  "gl_PerVertex"
22                              MemberName 27(gl_PerVertex) 0  "gl_Position"
23                              MemberName 27(gl_PerVertex) 1  "gl_PointSize"
24                              MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
25                              MemberName 27(gl_PerVertex) 3  "gl_CullDistance"
26                              MemberName 27(gl_PerVertex) 5  "gl_PositionPerViewNV"
27                              Name 31  "gl_in"
28                              MemberDecorate 13(gl_PerVertex) 0 BuiltIn PositionPerViewNV
29                              MemberDecorate 13(gl_PerVertex) 1 BuiltIn ViewportMaskPerViewNV
30                              Decorate 13(gl_PerVertex) Block
31                              Decorate 19(gl_InvocationID) BuiltIn InvocationId
32                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
33                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
34                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
35                              MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
36                              Decorate 27(gl_PerVertex) Block
37               2:             TypeVoid
38               3:             TypeFunction 2
39               6:             TypeFloat 32
40               7:             TypeVector 6(float) 4
41               8:             TypeInt 32 0
42               9:      8(int) Constant 1
43              10:             TypeArray 7(fvec4) 9
44              11:             TypeInt 32 1
45              12:             TypeArray 11(int) 9
4613(gl_PerVertex):             TypeStruct 10 12
47              14:      8(int) Constant 4
48              15:             TypeArray 13(gl_PerVertex) 14
49              16:             TypePointer Output 15
50      17(gl_out):     16(ptr) Variable Output
51              18:             TypePointer Input 11(int)
5219(gl_InvocationID):     18(ptr) Variable Input
53              21:     11(int) Constant 1
54              22:     11(int) Constant 0
55              23:             TypePointer Output 11(int)
56              26:             TypeArray 6(float) 9
5727(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 26 26 10
58              28:      8(int) Constant 32
59              29:             TypeArray 27(gl_PerVertex) 28
60              30:             TypePointer Input 29
61       31(gl_in):     30(ptr) Variable Input
62              32:             TypePointer Input 7(fvec4)
63              35:             TypePointer Output 7(fvec4)
64         4(main):           2 Function None 3
65               5:             Label
66              20:     11(int) Load 19(gl_InvocationID)
67              24:     23(ptr) AccessChain 17(gl_out) 20 21 22
68                              Store 24 21
69              25:     11(int) Load 19(gl_InvocationID)
70              33:     32(ptr) AccessChain 31(gl_in) 21 22
71              34:    7(fvec4) Load 33
72              36:     35(ptr) AccessChain 17(gl_out) 25 22 22
73                              Store 36 34
74                              Return
75                              FunctionEnd
76