1617a3babSopenharmony_cispv.450.tesc
2617a3babSopenharmony_ciValidation failed
3617a3babSopenharmony_ci// Module Version 10000
4617a3babSopenharmony_ci// Generated by (magic number): 8000b
5617a3babSopenharmony_ci// Id's are bound by 45
6617a3babSopenharmony_ci
7617a3babSopenharmony_ci                              Capability Tessellation
8617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
9617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
10617a3babSopenharmony_ci                              EntryPoint TessellationControl 4  "main" 15 18 25 32 38 41 44
11617a3babSopenharmony_ci                              ExecutionMode 4 OutputVertices 4
12617a3babSopenharmony_ci                              Source GLSL 450
13617a3babSopenharmony_ci                              Name 4  "main"
14617a3babSopenharmony_ci                              Name 11  "gl_PerVertex"
15617a3babSopenharmony_ci                              MemberName 11(gl_PerVertex) 0  "gl_Position"
16617a3babSopenharmony_ci                              MemberName 11(gl_PerVertex) 1  "gl_PointSize"
17617a3babSopenharmony_ci                              MemberName 11(gl_PerVertex) 2  "gl_ClipDistance"
18617a3babSopenharmony_ci                              MemberName 11(gl_PerVertex) 3  "gl_CullDistance"
19617a3babSopenharmony_ci                              Name 15  "gl_out"
20617a3babSopenharmony_ci                              Name 18  "gl_InvocationID"
21617a3babSopenharmony_ci                              Name 21  "gl_PerVertex"
22617a3babSopenharmony_ci                              MemberName 21(gl_PerVertex) 0  "gl_Position"
23617a3babSopenharmony_ci                              MemberName 21(gl_PerVertex) 1  "gl_PointSize"
24617a3babSopenharmony_ci                              MemberName 21(gl_PerVertex) 2  "gl_ClipDistance"
25617a3babSopenharmony_ci                              MemberName 21(gl_PerVertex) 3  "gl_CullDistance"
26617a3babSopenharmony_ci                              Name 25  "gl_in"
27617a3babSopenharmony_ci                              Name 32  "patchOut"
28617a3babSopenharmony_ci                              Name 33  "S"
29617a3babSopenharmony_ci                              MemberName 33(S) 0  "sMem1"
30617a3babSopenharmony_ci                              MemberName 33(S) 1  "sMem2"
31617a3babSopenharmony_ci                              Name 34  "TheBlock"
32617a3babSopenharmony_ci                              MemberName 34(TheBlock) 0  "bMem1"
33617a3babSopenharmony_ci                              MemberName 34(TheBlock) 1  "bMem2"
34617a3babSopenharmony_ci                              MemberName 34(TheBlock) 2  "s"
35617a3babSopenharmony_ci                              Name 38  "tcBlock"
36617a3babSopenharmony_ci                              Name 39  "SingleBlock"
37617a3babSopenharmony_ci                              MemberName 39(SingleBlock) 0  "bMem1"
38617a3babSopenharmony_ci                              MemberName 39(SingleBlock) 1  "bMem2"
39617a3babSopenharmony_ci                              MemberName 39(SingleBlock) 2  "s"
40617a3babSopenharmony_ci                              Name 41  "singleBlock"
41617a3babSopenharmony_ci                              Name 42  "bn"
42617a3babSopenharmony_ci                              MemberName 42(bn) 0  "v1"
43617a3babSopenharmony_ci                              MemberName 42(bn) 1  "v2"
44617a3babSopenharmony_ci                              MemberName 42(bn) 2  "v3"
45617a3babSopenharmony_ci                              Name 44  ""
46617a3babSopenharmony_ci                              MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
47617a3babSopenharmony_ci                              MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
48617a3babSopenharmony_ci                              MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
49617a3babSopenharmony_ci                              MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
50617a3babSopenharmony_ci                              Decorate 11(gl_PerVertex) Block
51617a3babSopenharmony_ci                              Decorate 18(gl_InvocationID) BuiltIn InvocationId
52617a3babSopenharmony_ci                              MemberDecorate 21(gl_PerVertex) 0 BuiltIn Position
53617a3babSopenharmony_ci                              MemberDecorate 21(gl_PerVertex) 1 BuiltIn PointSize
54617a3babSopenharmony_ci                              MemberDecorate 21(gl_PerVertex) 2 BuiltIn ClipDistance
55617a3babSopenharmony_ci                              MemberDecorate 21(gl_PerVertex) 3 BuiltIn CullDistance
56617a3babSopenharmony_ci                              Decorate 21(gl_PerVertex) Block
57617a3babSopenharmony_ci                              Decorate 32(patchOut) Patch
58617a3babSopenharmony_ci                              Decorate 32(patchOut) Location 1
59617a3babSopenharmony_ci                              MemberDecorate 34(TheBlock) 0 Patch
60617a3babSopenharmony_ci                              MemberDecorate 34(TheBlock) 1 Patch
61617a3babSopenharmony_ci                              MemberDecorate 34(TheBlock) 2 Patch
62617a3babSopenharmony_ci                              Decorate 34(TheBlock) Block
63617a3babSopenharmony_ci                              Decorate 38(tcBlock) Location 12
64617a3babSopenharmony_ci                              MemberDecorate 39(SingleBlock) 0 Patch
65617a3babSopenharmony_ci                              MemberDecorate 39(SingleBlock) 1 Patch
66617a3babSopenharmony_ci                              MemberDecorate 39(SingleBlock) 2 Patch
67617a3babSopenharmony_ci                              Decorate 39(SingleBlock) Block
68617a3babSopenharmony_ci                              Decorate 41(singleBlock) Location 2
69617a3babSopenharmony_ci                              MemberDecorate 42(bn) 0 Patch
70617a3babSopenharmony_ci                              MemberDecorate 42(bn) 0 Location 20
71617a3babSopenharmony_ci                              MemberDecorate 42(bn) 1 Patch
72617a3babSopenharmony_ci                              MemberDecorate 42(bn) 1 Location 24
73617a3babSopenharmony_ci                              MemberDecorate 42(bn) 2 Patch
74617a3babSopenharmony_ci                              MemberDecorate 42(bn) 2 Location 25
75617a3babSopenharmony_ci                              Decorate 42(bn) Block
76617a3babSopenharmony_ci                              Decorate 44 Location 0
77617a3babSopenharmony_ci               2:             TypeVoid
78617a3babSopenharmony_ci               3:             TypeFunction 2
79617a3babSopenharmony_ci               6:             TypeFloat 32
80617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
81617a3babSopenharmony_ci               8:             TypeInt 32 0
82617a3babSopenharmony_ci               9:      8(int) Constant 1
83617a3babSopenharmony_ci              10:             TypeArray 6(float) 9
84617a3babSopenharmony_ci11(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
85617a3babSopenharmony_ci              12:      8(int) Constant 4
86617a3babSopenharmony_ci              13:             TypeArray 11(gl_PerVertex) 12
87617a3babSopenharmony_ci              14:             TypePointer Output 13
88617a3babSopenharmony_ci      15(gl_out):     14(ptr) Variable Output
89617a3babSopenharmony_ci              16:             TypeInt 32 1
90617a3babSopenharmony_ci              17:             TypePointer Input 16(int)
91617a3babSopenharmony_ci18(gl_InvocationID):     17(ptr) Variable Input
92617a3babSopenharmony_ci              20:     16(int) Constant 0
93617a3babSopenharmony_ci21(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
94617a3babSopenharmony_ci              22:      8(int) Constant 32
95617a3babSopenharmony_ci              23:             TypeArray 21(gl_PerVertex) 22
96617a3babSopenharmony_ci              24:             TypePointer Input 23
97617a3babSopenharmony_ci       25(gl_in):     24(ptr) Variable Input
98617a3babSopenharmony_ci              27:             TypePointer Input 7(fvec4)
99617a3babSopenharmony_ci              30:             TypePointer Output 7(fvec4)
100617a3babSopenharmony_ci    32(patchOut):     30(ptr) Variable Output
101617a3babSopenharmony_ci           33(S):             TypeStruct 6(float) 6(float)
102617a3babSopenharmony_ci    34(TheBlock):             TypeStruct 6(float) 6(float) 33(S)
103617a3babSopenharmony_ci              35:      8(int) Constant 2
104617a3babSopenharmony_ci              36:             TypeArray 34(TheBlock) 35
105617a3babSopenharmony_ci              37:             TypePointer Output 36
106617a3babSopenharmony_ci     38(tcBlock):     37(ptr) Variable Output
107617a3babSopenharmony_ci 39(SingleBlock):             TypeStruct 6(float) 6(float) 33(S)
108617a3babSopenharmony_ci              40:             TypePointer Output 39(SingleBlock)
109617a3babSopenharmony_ci 41(singleBlock):     40(ptr) Variable Output
110617a3babSopenharmony_ci          42(bn):             TypeStruct 7(fvec4) 7(fvec4) 7(fvec4)
111617a3babSopenharmony_ci              43:             TypePointer Output 42(bn)
112617a3babSopenharmony_ci              44:     43(ptr) Variable Output
113617a3babSopenharmony_ci         4(main):           2 Function None 3
114617a3babSopenharmony_ci               5:             Label
115617a3babSopenharmony_ci              19:     16(int) Load 18(gl_InvocationID)
116617a3babSopenharmony_ci              26:     16(int) Load 18(gl_InvocationID)
117617a3babSopenharmony_ci              28:     27(ptr) AccessChain 25(gl_in) 26 20
118617a3babSopenharmony_ci              29:    7(fvec4) Load 28
119617a3babSopenharmony_ci              31:     30(ptr) AccessChain 15(gl_out) 19 20
120617a3babSopenharmony_ci                              Store 31 29
121617a3babSopenharmony_ci                              Return
122617a3babSopenharmony_ci                              FunctionEnd
123