1617a3babSopenharmony_cispv.multiviewPerViewAttributes.tesc
2617a3babSopenharmony_ci// Module Version 10000
3617a3babSopenharmony_ci// Generated by (magic number): 8000b
4617a3babSopenharmony_ci// Id's are bound by 41
5617a3babSopenharmony_ci
6617a3babSopenharmony_ci                              Capability Tessellation
7617a3babSopenharmony_ci                              Capability PerViewAttributesNV
8617a3babSopenharmony_ci                              Extension  "SPV_NVX_multiview_per_view_attributes"
9617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
10617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
11617a3babSopenharmony_ci                              EntryPoint TessellationControl 4  "main" 17 19 31
12617a3babSopenharmony_ci                              ExecutionMode 4 OutputVertices 4
13617a3babSopenharmony_ci                              Source GLSL 450
14617a3babSopenharmony_ci                              SourceExtension  "GL_NVX_multiview_per_view_attributes"
15617a3babSopenharmony_ci                              Name 4  "main"
16617a3babSopenharmony_ci                              Name 13  "gl_PerVertex"
17617a3babSopenharmony_ci                              MemberName 13(gl_PerVertex) 0  "gl_PositionPerViewNV"
18617a3babSopenharmony_ci                              MemberName 13(gl_PerVertex) 1  "gl_ViewportMaskPerViewNV"
19617a3babSopenharmony_ci                              Name 17  "gl_out"
20617a3babSopenharmony_ci                              Name 19  "gl_InvocationID"
21617a3babSopenharmony_ci                              Name 27  "gl_PerVertex"
22617a3babSopenharmony_ci                              MemberName 27(gl_PerVertex) 0  "gl_Position"
23617a3babSopenharmony_ci                              MemberName 27(gl_PerVertex) 1  "gl_PointSize"
24617a3babSopenharmony_ci                              MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
25617a3babSopenharmony_ci                              MemberName 27(gl_PerVertex) 3  "gl_CullDistance"
26617a3babSopenharmony_ci                              MemberName 27(gl_PerVertex) 4  "gl_PositionPerViewNV"
27617a3babSopenharmony_ci                              Name 31  "gl_in"
28617a3babSopenharmony_ci                              MemberDecorate 13(gl_PerVertex) 0 BuiltIn PositionPerViewNV
29617a3babSopenharmony_ci                              MemberDecorate 13(gl_PerVertex) 1 BuiltIn ViewportMaskPerViewNV
30617a3babSopenharmony_ci                              Decorate 13(gl_PerVertex) Block
31617a3babSopenharmony_ci                              Decorate 19(gl_InvocationID) BuiltIn InvocationId
32617a3babSopenharmony_ci                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
33617a3babSopenharmony_ci                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
34617a3babSopenharmony_ci                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
35617a3babSopenharmony_ci                              MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
36617a3babSopenharmony_ci                              MemberDecorate 27(gl_PerVertex) 4 BuiltIn PositionPerViewNV
37617a3babSopenharmony_ci                              Decorate 27(gl_PerVertex) Block
38617a3babSopenharmony_ci               2:             TypeVoid
39617a3babSopenharmony_ci               3:             TypeFunction 2
40617a3babSopenharmony_ci               6:             TypeFloat 32
41617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
42617a3babSopenharmony_ci               8:             TypeInt 32 0
43617a3babSopenharmony_ci               9:      8(int) Constant 1
44617a3babSopenharmony_ci              10:             TypeArray 7(fvec4) 9
45617a3babSopenharmony_ci              11:             TypeInt 32 1
46617a3babSopenharmony_ci              12:             TypeArray 11(int) 9
47617a3babSopenharmony_ci13(gl_PerVertex):             TypeStruct 10 12
48617a3babSopenharmony_ci              14:      8(int) Constant 4
49617a3babSopenharmony_ci              15:             TypeArray 13(gl_PerVertex) 14
50617a3babSopenharmony_ci              16:             TypePointer Output 15
51617a3babSopenharmony_ci      17(gl_out):     16(ptr) Variable Output
52617a3babSopenharmony_ci              18:             TypePointer Input 11(int)
53617a3babSopenharmony_ci19(gl_InvocationID):     18(ptr) Variable Input
54617a3babSopenharmony_ci              21:     11(int) Constant 1
55617a3babSopenharmony_ci              22:     11(int) Constant 0
56617a3babSopenharmony_ci              23:             TypePointer Output 11(int)
57617a3babSopenharmony_ci              26:             TypeArray 6(float) 9
58617a3babSopenharmony_ci27(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 26 26 10
59617a3babSopenharmony_ci              28:      8(int) Constant 32
60617a3babSopenharmony_ci              29:             TypeArray 27(gl_PerVertex) 28
61617a3babSopenharmony_ci              30:             TypePointer Input 29
62617a3babSopenharmony_ci       31(gl_in):     30(ptr) Variable Input
63617a3babSopenharmony_ci              32:             TypePointer Input 7(fvec4)
64617a3babSopenharmony_ci              35:     11(int) Constant 4
65617a3babSopenharmony_ci              39:             TypePointer Output 7(fvec4)
66617a3babSopenharmony_ci         4(main):           2 Function None 3
67617a3babSopenharmony_ci               5:             Label
68617a3babSopenharmony_ci              20:     11(int) Load 19(gl_InvocationID)
69617a3babSopenharmony_ci              24:     23(ptr) AccessChain 17(gl_out) 20 21 22
70617a3babSopenharmony_ci                              Store 24 21
71617a3babSopenharmony_ci              25:     11(int) Load 19(gl_InvocationID)
72617a3babSopenharmony_ci              33:     32(ptr) AccessChain 31(gl_in) 21 22
73617a3babSopenharmony_ci              34:    7(fvec4) Load 33
74617a3babSopenharmony_ci              36:     32(ptr) AccessChain 31(gl_in) 21 35 22
75617a3babSopenharmony_ci              37:    7(fvec4) Load 36
76617a3babSopenharmony_ci              38:    7(fvec4) FAdd 34 37
77617a3babSopenharmony_ci              40:     39(ptr) AccessChain 17(gl_out) 25 22 22
78617a3babSopenharmony_ci                              Store 40 38
79617a3babSopenharmony_ci                              Return
80617a3babSopenharmony_ci                              FunctionEnd
81