1617a3babSopenharmony_cilink.vk.pcNamingValid.0.0.vert
2617a3babSopenharmony_ciShader version: 450
3617a3babSopenharmony_ci0:? Sequence
4617a3babSopenharmony_ci0:16  Function Definition: main( ( global void)
5617a3babSopenharmony_ci0:16    Function Parameters: 
6617a3babSopenharmony_ci0:18    Sequence
7617a3babSopenharmony_ci0:18      move second child to first child ( temp highp 4-component vector of float)
8617a3babSopenharmony_ci0:18        'oColor' (layout( location=0) smooth out highp 4-component vector of float)
9617a3babSopenharmony_ci0:18        component-wise multiply ( temp highp 4-component vector of float)
10617a3babSopenharmony_ci0:18          color1: direct index for structure (layout( column_major std430 offset=128) uniform highp 4-component vector of float)
11617a3babSopenharmony_ci0:18            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
12617a3babSopenharmony_ci0:18            Constant:
13617a3babSopenharmony_ci0:18              2 (const int)
14617a3babSopenharmony_ci0:18          Function Call: getColor2( ( global highp 4-component vector of float)
15617a3babSopenharmony_ci0:20      move second child to first child ( temp highp 4-component vector of float)
16617a3babSopenharmony_ci0:20        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
17617a3babSopenharmony_ci0:20          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
18617a3babSopenharmony_ci0:20          Constant:
19617a3babSopenharmony_ci0:20            0 (const uint)
20617a3babSopenharmony_ci0:20        matrix-times-vector ( temp highp 4-component vector of float)
21617a3babSopenharmony_ci0:20          uProj: direct index for structure (layout( column_major std430 offset=64) uniform highp 4X4 matrix of float)
22617a3babSopenharmony_ci0:20            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
23617a3babSopenharmony_ci0:20            Constant:
24617a3babSopenharmony_ci0:20              1 (const int)
25617a3babSopenharmony_ci0:20          Function Call: getWorld( ( global highp 4-component vector of float)
26617a3babSopenharmony_ci0:?   Linker Objects
27617a3babSopenharmony_ci0:?     'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
28617a3babSopenharmony_ci0:?     'oColor' (layout( location=0) smooth out highp 4-component vector of float)
29617a3babSopenharmony_ci0:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
30617a3babSopenharmony_ci
31617a3babSopenharmony_cilink.vk.pcNamingValid.0.1.vert
32617a3babSopenharmony_ciShader version: 450
33617a3babSopenharmony_ci0:? Sequence
34617a3babSopenharmony_ci0:13  Function Definition: getColor2( ( global highp 4-component vector of float)
35617a3babSopenharmony_ci0:13    Function Parameters: 
36617a3babSopenharmony_ci0:15    Sequence
37617a3babSopenharmony_ci0:15      Branch: Return with expression
38617a3babSopenharmony_ci0:15        color2: direct index for structure (layout( column_major std430 offset=144) uniform highp 4-component vector of float)
39617a3babSopenharmony_ci0:15          'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
40617a3babSopenharmony_ci0:15          Constant:
41617a3babSopenharmony_ci0:15            3 (const int)
42617a3babSopenharmony_ci0:18  Function Definition: getWorld( ( global highp 4-component vector of float)
43617a3babSopenharmony_ci0:18    Function Parameters: 
44617a3babSopenharmony_ci0:20    Sequence
45617a3babSopenharmony_ci0:20      Branch: Return with expression
46617a3babSopenharmony_ci0:20        matrix-times-vector ( temp highp 4-component vector of float)
47617a3babSopenharmony_ci0:20          uWorld: direct index for structure (layout( column_major std430 offset=0) uniform highp 4X4 matrix of float)
48617a3babSopenharmony_ci0:20            'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
49617a3babSopenharmony_ci0:20            Constant:
50617a3babSopenharmony_ci0:20              0 (const int)
51617a3babSopenharmony_ci0:20          'P' (layout( location=0) in highp 4-component vector of float)
52617a3babSopenharmony_ci0:?   Linker Objects
53617a3babSopenharmony_ci0:?     'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
54617a3babSopenharmony_ci0:?     'P' (layout( location=0) in highp 4-component vector of float)
55617a3babSopenharmony_ci
56617a3babSopenharmony_ci
57617a3babSopenharmony_ciLinked vertex stage:
58617a3babSopenharmony_ci
59617a3babSopenharmony_ciWARNING: Linking vertex and vertex stages: Matched shader interfaces are using different instance names.
60617a3babSopenharmony_ci    vertex stage: Block: PCBlock Instance: a: ""
61617a3babSopenharmony_ci    vertex stage: Block: PCBlock Instance: b: ""
62617a3babSopenharmony_ci
63617a3babSopenharmony_ciShader version: 450
64617a3babSopenharmony_ci0:? Sequence
65617a3babSopenharmony_ci0:16  Function Definition: main( ( global void)
66617a3babSopenharmony_ci0:16    Function Parameters: 
67617a3babSopenharmony_ci0:18    Sequence
68617a3babSopenharmony_ci0:18      move second child to first child ( temp highp 4-component vector of float)
69617a3babSopenharmony_ci0:18        'oColor' (layout( location=0) smooth out highp 4-component vector of float)
70617a3babSopenharmony_ci0:18        component-wise multiply ( temp highp 4-component vector of float)
71617a3babSopenharmony_ci0:18          color1: direct index for structure (layout( column_major std430 offset=128) uniform highp 4-component vector of float)
72617a3babSopenharmony_ci0:18            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
73617a3babSopenharmony_ci0:18            Constant:
74617a3babSopenharmony_ci0:18              2 (const int)
75617a3babSopenharmony_ci0:18          Function Call: getColor2( ( global highp 4-component vector of float)
76617a3babSopenharmony_ci0:20      move second child to first child ( temp highp 4-component vector of float)
77617a3babSopenharmony_ci0:20        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
78617a3babSopenharmony_ci0:20          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
79617a3babSopenharmony_ci0:20          Constant:
80617a3babSopenharmony_ci0:20            0 (const uint)
81617a3babSopenharmony_ci0:20        matrix-times-vector ( temp highp 4-component vector of float)
82617a3babSopenharmony_ci0:20          uProj: direct index for structure (layout( column_major std430 offset=64) uniform highp 4X4 matrix of float)
83617a3babSopenharmony_ci0:20            'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
84617a3babSopenharmony_ci0:20            Constant:
85617a3babSopenharmony_ci0:20              1 (const int)
86617a3babSopenharmony_ci0:20          Function Call: getWorld( ( global highp 4-component vector of float)
87617a3babSopenharmony_ci0:13  Function Definition: getColor2( ( global highp 4-component vector of float)
88617a3babSopenharmony_ci0:13    Function Parameters: 
89617a3babSopenharmony_ci0:15    Sequence
90617a3babSopenharmony_ci0:15      Branch: Return with expression
91617a3babSopenharmony_ci0:15        color2: direct index for structure (layout( column_major std430 offset=144) uniform highp 4-component vector of float)
92617a3babSopenharmony_ci0:15          'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
93617a3babSopenharmony_ci0:15          Constant:
94617a3babSopenharmony_ci0:15            3 (const int)
95617a3babSopenharmony_ci0:18  Function Definition: getWorld( ( global highp 4-component vector of float)
96617a3babSopenharmony_ci0:18    Function Parameters: 
97617a3babSopenharmony_ci0:20    Sequence
98617a3babSopenharmony_ci0:20      Branch: Return with expression
99617a3babSopenharmony_ci0:20        matrix-times-vector ( temp highp 4-component vector of float)
100617a3babSopenharmony_ci0:20          uWorld: direct index for structure (layout( column_major std430 offset=0) uniform highp 4X4 matrix of float)
101617a3babSopenharmony_ci0:20            'b' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
102617a3babSopenharmony_ci0:20            Constant:
103617a3babSopenharmony_ci0:20              0 (const int)
104617a3babSopenharmony_ci0:20          'P' (layout( location=0) in highp 4-component vector of float)
105617a3babSopenharmony_ci0:?   Linker Objects
106617a3babSopenharmony_ci0:?     'a' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4X4 matrix of float uWorld, layout( column_major std430 offset=64) uniform highp 4X4 matrix of float uProj, layout( column_major std430 offset=128) uniform highp 4-component vector of float color1, layout( column_major std430 offset=144) uniform highp 4-component vector of float color2})
107617a3babSopenharmony_ci0:?     'oColor' (layout( location=0) smooth out highp 4-component vector of float)
108617a3babSopenharmony_ci0:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
109617a3babSopenharmony_ci0:?     'P' (layout( location=0) in highp 4-component vector of float)
110617a3babSopenharmony_ci
111617a3babSopenharmony_ci// Module Version 10000
112617a3babSopenharmony_ci// Generated by (magic number): 8000b
113617a3babSopenharmony_ci// Id's are bound by 53
114617a3babSopenharmony_ci
115617a3babSopenharmony_ci                              Capability Shader
116617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
117617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
118617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 14 31 48
119617a3babSopenharmony_ci                              Source GLSL 450
120617a3babSopenharmony_ci                              Name 4  "main"
121617a3babSopenharmony_ci                              Name 9  "getColor2("
122617a3babSopenharmony_ci                              Name 11  "getWorld("
123617a3babSopenharmony_ci                              Name 14  "oColor"
124617a3babSopenharmony_ci                              Name 16  "PCBlock"
125617a3babSopenharmony_ci                              MemberName 16(PCBlock) 0  "uWorld"
126617a3babSopenharmony_ci                              MemberName 16(PCBlock) 1  "uProj"
127617a3babSopenharmony_ci                              MemberName 16(PCBlock) 2  "color1"
128617a3babSopenharmony_ci                              MemberName 16(PCBlock) 3  "color2"
129617a3babSopenharmony_ci                              Name 18  "a"
130617a3babSopenharmony_ci                              Name 29  "gl_PerVertex"
131617a3babSopenharmony_ci                              MemberName 29(gl_PerVertex) 0  "gl_Position"
132617a3babSopenharmony_ci                              MemberName 29(gl_PerVertex) 1  "gl_PointSize"
133617a3babSopenharmony_ci                              MemberName 29(gl_PerVertex) 2  "gl_ClipDistance"
134617a3babSopenharmony_ci                              MemberName 29(gl_PerVertex) 3  "gl_CullDistance"
135617a3babSopenharmony_ci                              Name 31  ""
136617a3babSopenharmony_ci                              Name 48  "P"
137617a3babSopenharmony_ci                              Decorate 14(oColor) Location 0
138617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 0 ColMajor
139617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 0 Offset 0
140617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 0 MatrixStride 16
141617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 1 ColMajor
142617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 1 Offset 64
143617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 1 MatrixStride 16
144617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 2 Offset 128
145617a3babSopenharmony_ci                              MemberDecorate 16(PCBlock) 3 Offset 144
146617a3babSopenharmony_ci                              Decorate 16(PCBlock) Block
147617a3babSopenharmony_ci                              MemberDecorate 29(gl_PerVertex) 0 BuiltIn Position
148617a3babSopenharmony_ci                              MemberDecorate 29(gl_PerVertex) 1 BuiltIn PointSize
149617a3babSopenharmony_ci                              MemberDecorate 29(gl_PerVertex) 2 BuiltIn ClipDistance
150617a3babSopenharmony_ci                              MemberDecorate 29(gl_PerVertex) 3 BuiltIn CullDistance
151617a3babSopenharmony_ci                              Decorate 29(gl_PerVertex) Block
152617a3babSopenharmony_ci                              Decorate 48(P) Location 0
153617a3babSopenharmony_ci               2:             TypeVoid
154617a3babSopenharmony_ci               3:             TypeFunction 2
155617a3babSopenharmony_ci               6:             TypeFloat 32
156617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
157617a3babSopenharmony_ci               8:             TypeFunction 7(fvec4)
158617a3babSopenharmony_ci              13:             TypePointer Output 7(fvec4)
159617a3babSopenharmony_ci      14(oColor):     13(ptr) Variable Output
160617a3babSopenharmony_ci              15:             TypeMatrix 7(fvec4) 4
161617a3babSopenharmony_ci     16(PCBlock):             TypeStruct 15 15 7(fvec4) 7(fvec4)
162617a3babSopenharmony_ci              17:             TypePointer PushConstant 16(PCBlock)
163617a3babSopenharmony_ci           18(a):     17(ptr) Variable PushConstant
164617a3babSopenharmony_ci              19:             TypeInt 32 1
165617a3babSopenharmony_ci              20:     19(int) Constant 2
166617a3babSopenharmony_ci              21:             TypePointer PushConstant 7(fvec4)
167617a3babSopenharmony_ci              26:             TypeInt 32 0
168617a3babSopenharmony_ci              27:     26(int) Constant 1
169617a3babSopenharmony_ci              28:             TypeArray 6(float) 27
170617a3babSopenharmony_ci29(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 28 28
171617a3babSopenharmony_ci              30:             TypePointer Output 29(gl_PerVertex)
172617a3babSopenharmony_ci              31:     30(ptr) Variable Output
173617a3babSopenharmony_ci              32:     19(int) Constant 0
174617a3babSopenharmony_ci              33:     19(int) Constant 1
175617a3babSopenharmony_ci              34:             TypePointer PushConstant 15
176617a3babSopenharmony_ci              40:     19(int) Constant 3
177617a3babSopenharmony_ci              47:             TypePointer Input 7(fvec4)
178617a3babSopenharmony_ci           48(P):     47(ptr) Variable Input
179617a3babSopenharmony_ci         4(main):           2 Function None 3
180617a3babSopenharmony_ci               5:             Label
181617a3babSopenharmony_ci              22:     21(ptr) AccessChain 18(a) 20
182617a3babSopenharmony_ci              23:    7(fvec4) Load 22
183617a3babSopenharmony_ci              24:    7(fvec4) FunctionCall 9(getColor2()
184617a3babSopenharmony_ci              25:    7(fvec4) FMul 23 24
185617a3babSopenharmony_ci                              Store 14(oColor) 25
186617a3babSopenharmony_ci              35:     34(ptr) AccessChain 18(a) 33
187617a3babSopenharmony_ci              36:          15 Load 35
188617a3babSopenharmony_ci              37:    7(fvec4) FunctionCall 11(getWorld()
189617a3babSopenharmony_ci              38:    7(fvec4) MatrixTimesVector 36 37
190617a3babSopenharmony_ci              39:     13(ptr) AccessChain 31 32
191617a3babSopenharmony_ci                              Store 39 38
192617a3babSopenharmony_ci                              Return
193617a3babSopenharmony_ci                              FunctionEnd
194617a3babSopenharmony_ci   9(getColor2():    7(fvec4) Function None 8
195617a3babSopenharmony_ci              10:             Label
196617a3babSopenharmony_ci              41:     21(ptr) AccessChain 18(a) 40
197617a3babSopenharmony_ci              42:    7(fvec4) Load 41
198617a3babSopenharmony_ci                              ReturnValue 42
199617a3babSopenharmony_ci                              FunctionEnd
200617a3babSopenharmony_ci   11(getWorld():    7(fvec4) Function None 8
201617a3babSopenharmony_ci              12:             Label
202617a3babSopenharmony_ci              45:     34(ptr) AccessChain 18(a) 32
203617a3babSopenharmony_ci              46:          15 Load 45
204617a3babSopenharmony_ci              49:    7(fvec4) Load 48(P)
205617a3babSopenharmony_ci              50:    7(fvec4) MatrixTimesVector 46 49
206617a3babSopenharmony_ci                              ReturnValue 50
207617a3babSopenharmony_ci                              FunctionEnd
208