1617a3babSopenharmony_cihlsl.multiEntry.vert
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_ci0:? Sequence
4617a3babSopenharmony_ci0:4  Function Definition: FakeEntrypoint(u1; ( temp 4-component vector of float)
5617a3babSopenharmony_ci0:4    Function Parameters: 
6617a3babSopenharmony_ci0:4      'Index' ( in uint)
7617a3babSopenharmony_ci0:?     Sequence
8617a3babSopenharmony_ci0:5      Branch: Return with expression
9617a3babSopenharmony_ci0:5        textureFetch ( temp 4-component vector of float)
10617a3babSopenharmony_ci0:5          'Position' (layout( rgba32f) uniform textureBuffer)
11617a3babSopenharmony_ci0:5          Convert uint to int ( temp int)
12617a3babSopenharmony_ci0:5            'Index' ( in uint)
13617a3babSopenharmony_ci0:9  Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float)
14617a3babSopenharmony_ci0:9    Function Parameters: 
15617a3babSopenharmony_ci0:9      'Index' ( in uint)
16617a3babSopenharmony_ci0:?     Sequence
17617a3babSopenharmony_ci0:10      Branch: Return with expression
18617a3babSopenharmony_ci0:10        Function Call: FakeEntrypoint(u1; ( temp 4-component vector of float)
19617a3babSopenharmony_ci0:10          'Index' ( in uint)
20617a3babSopenharmony_ci0:9  Function Definition: RealEntrypoint( ( temp void)
21617a3babSopenharmony_ci0:9    Function Parameters: 
22617a3babSopenharmony_ci0:?     Sequence
23617a3babSopenharmony_ci0:9      move second child to first child ( temp uint)
24617a3babSopenharmony_ci0:?         'Index' ( temp uint)
25617a3babSopenharmony_ci0:?         'Index' ( in uint VertexIndex)
26617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
27617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
28617a3babSopenharmony_ci0:9        Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float)
29617a3babSopenharmony_ci0:?           'Index' ( temp uint)
30617a3babSopenharmony_ci0:?   Linker Objects
31617a3babSopenharmony_ci0:?     'Position' (layout( rgba32f) uniform textureBuffer)
32617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
33617a3babSopenharmony_ci0:?     'Index' ( in uint VertexIndex)
34617a3babSopenharmony_ci
35617a3babSopenharmony_ci
36617a3babSopenharmony_ciLinked vertex stage:
37617a3babSopenharmony_ci
38617a3babSopenharmony_ci
39617a3babSopenharmony_ciShader version: 500
40617a3babSopenharmony_ci0:? Sequence
41617a3babSopenharmony_ci0:4  Function Definition: FakeEntrypoint(u1; ( temp 4-component vector of float)
42617a3babSopenharmony_ci0:4    Function Parameters: 
43617a3babSopenharmony_ci0:4      'Index' ( in uint)
44617a3babSopenharmony_ci0:?     Sequence
45617a3babSopenharmony_ci0:5      Branch: Return with expression
46617a3babSopenharmony_ci0:5        textureFetch ( temp 4-component vector of float)
47617a3babSopenharmony_ci0:5          'Position' (layout( rgba32f) uniform textureBuffer)
48617a3babSopenharmony_ci0:5          Convert uint to int ( temp int)
49617a3babSopenharmony_ci0:5            'Index' ( in uint)
50617a3babSopenharmony_ci0:9  Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float)
51617a3babSopenharmony_ci0:9    Function Parameters: 
52617a3babSopenharmony_ci0:9      'Index' ( in uint)
53617a3babSopenharmony_ci0:?     Sequence
54617a3babSopenharmony_ci0:10      Branch: Return with expression
55617a3babSopenharmony_ci0:10        Function Call: FakeEntrypoint(u1; ( temp 4-component vector of float)
56617a3babSopenharmony_ci0:10          'Index' ( in uint)
57617a3babSopenharmony_ci0:9  Function Definition: RealEntrypoint( ( temp void)
58617a3babSopenharmony_ci0:9    Function Parameters: 
59617a3babSopenharmony_ci0:?     Sequence
60617a3babSopenharmony_ci0:9      move second child to first child ( temp uint)
61617a3babSopenharmony_ci0:?         'Index' ( temp uint)
62617a3babSopenharmony_ci0:?         'Index' ( in uint VertexIndex)
63617a3babSopenharmony_ci0:9      move second child to first child ( temp 4-component vector of float)
64617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
65617a3babSopenharmony_ci0:9        Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float)
66617a3babSopenharmony_ci0:?           'Index' ( temp uint)
67617a3babSopenharmony_ci0:?   Linker Objects
68617a3babSopenharmony_ci0:?     'Position' (layout( rgba32f) uniform textureBuffer)
69617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
70617a3babSopenharmony_ci0:?     'Index' ( in uint VertexIndex)
71617a3babSopenharmony_ci
72617a3babSopenharmony_ci// Module Version 10000
73617a3babSopenharmony_ci// Generated by (magic number): 8000b
74617a3babSopenharmony_ci// Id's are bound by 41
75617a3babSopenharmony_ci
76617a3babSopenharmony_ci                              Capability Shader
77617a3babSopenharmony_ci                              Capability SampledBuffer
78617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
79617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
80617a3babSopenharmony_ci                              EntryPoint Vertex 4  "RealEntrypoint" 34 37
81617a3babSopenharmony_ci                              Source HLSL 500
82617a3babSopenharmony_ci                              Name 4  "RealEntrypoint"
83617a3babSopenharmony_ci                              Name 12  "FakeEntrypoint(u1;"
84617a3babSopenharmony_ci                              Name 11  "Index"
85617a3babSopenharmony_ci                              Name 15  "@RealEntrypoint(u1;"
86617a3babSopenharmony_ci                              Name 14  "Index"
87617a3babSopenharmony_ci                              Name 19  "Position"
88617a3babSopenharmony_ci                              Name 27  "param"
89617a3babSopenharmony_ci                              Name 32  "Index"
90617a3babSopenharmony_ci                              Name 34  "Index"
91617a3babSopenharmony_ci                              Name 37  "@entryPointOutput"
92617a3babSopenharmony_ci                              Name 38  "param"
93617a3babSopenharmony_ci                              Decorate 19(Position) DescriptorSet 0
94617a3babSopenharmony_ci                              Decorate 19(Position) Binding 0
95617a3babSopenharmony_ci                              Decorate 34(Index) BuiltIn VertexIndex
96617a3babSopenharmony_ci                              Decorate 37(@entryPointOutput) BuiltIn Position
97617a3babSopenharmony_ci               2:             TypeVoid
98617a3babSopenharmony_ci               3:             TypeFunction 2
99617a3babSopenharmony_ci               6:             TypeInt 32 0
100617a3babSopenharmony_ci               7:             TypePointer Function 6(int)
101617a3babSopenharmony_ci               8:             TypeFloat 32
102617a3babSopenharmony_ci               9:             TypeVector 8(float) 4
103617a3babSopenharmony_ci              10:             TypeFunction 9(fvec4) 7(ptr)
104617a3babSopenharmony_ci              17:             TypeImage 8(float) Buffer sampled format:Rgba32f
105617a3babSopenharmony_ci              18:             TypePointer UniformConstant 17
106617a3babSopenharmony_ci    19(Position):     18(ptr) Variable UniformConstant
107617a3babSopenharmony_ci              22:             TypeInt 32 1
108617a3babSopenharmony_ci              33:             TypePointer Input 6(int)
109617a3babSopenharmony_ci       34(Index):     33(ptr) Variable Input
110617a3babSopenharmony_ci              36:             TypePointer Output 9(fvec4)
111617a3babSopenharmony_ci37(@entryPointOutput):     36(ptr) Variable Output
112617a3babSopenharmony_ci4(RealEntrypoint):           2 Function None 3
113617a3babSopenharmony_ci               5:             Label
114617a3babSopenharmony_ci       32(Index):      7(ptr) Variable Function
115617a3babSopenharmony_ci       38(param):      7(ptr) Variable Function
116617a3babSopenharmony_ci              35:      6(int) Load 34(Index)
117617a3babSopenharmony_ci                              Store 32(Index) 35
118617a3babSopenharmony_ci              39:      6(int) Load 32(Index)
119617a3babSopenharmony_ci                              Store 38(param) 39
120617a3babSopenharmony_ci              40:    9(fvec4) FunctionCall 15(@RealEntrypoint(u1;) 38(param)
121617a3babSopenharmony_ci                              Store 37(@entryPointOutput) 40
122617a3babSopenharmony_ci                              Return
123617a3babSopenharmony_ci                              FunctionEnd
124617a3babSopenharmony_ci12(FakeEntrypoint(u1;):    9(fvec4) Function None 10
125617a3babSopenharmony_ci       11(Index):      7(ptr) FunctionParameter
126617a3babSopenharmony_ci              13:             Label
127617a3babSopenharmony_ci              20:          17 Load 19(Position)
128617a3babSopenharmony_ci              21:      6(int) Load 11(Index)
129617a3babSopenharmony_ci              23:     22(int) Bitcast 21
130617a3babSopenharmony_ci              24:    9(fvec4) ImageFetch 20 23
131617a3babSopenharmony_ci                              ReturnValue 24
132617a3babSopenharmony_ci                              FunctionEnd
133617a3babSopenharmony_ci15(@RealEntrypoint(u1;):    9(fvec4) Function None 10
134617a3babSopenharmony_ci       14(Index):      7(ptr) FunctionParameter
135617a3babSopenharmony_ci              16:             Label
136617a3babSopenharmony_ci       27(param):      7(ptr) Variable Function
137617a3babSopenharmony_ci              28:      6(int) Load 14(Index)
138617a3babSopenharmony_ci                              Store 27(param) 28
139617a3babSopenharmony_ci              29:    9(fvec4) FunctionCall 12(FakeEntrypoint(u1;) 27(param)
140617a3babSopenharmony_ci                              ReturnValue 29
141617a3babSopenharmony_ci                              FunctionEnd
142