1617a3babSopenharmony_cihlsl.synthesizeInput.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:7    Function Parameters: 
7617a3babSopenharmony_ci0:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:8      Branch: Return with expression
10617a3babSopenharmony_ci0:8        Construct vec4 ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:8          Convert uint to float ( temp float)
12617a3babSopenharmony_ci0:8            no_interp: direct index for structure ( temp uint)
13617a3babSopenharmony_ci0:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
14617a3babSopenharmony_ci0:8              Constant:
15617a3babSopenharmony_ci0:8                1 (const int)
16617a3babSopenharmony_ci0:8          interp: direct index for structure ( temp float)
17617a3babSopenharmony_ci0:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
18617a3babSopenharmony_ci0:8            Constant:
19617a3babSopenharmony_ci0:8              0 (const int)
20617a3babSopenharmony_ci0:8          Constant:
21617a3babSopenharmony_ci0:8            0.000000
22617a3babSopenharmony_ci0:8          Constant:
23617a3babSopenharmony_ci0:8            1.000000
24617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
25617a3babSopenharmony_ci0:7    Function Parameters: 
26617a3babSopenharmony_ci0:?     Sequence
27617a3babSopenharmony_ci0:7      Sequence
28617a3babSopenharmony_ci0:7        move second child to first child ( temp float)
29617a3babSopenharmony_ci0:7          interp: direct index for structure ( temp float)
30617a3babSopenharmony_ci0:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
31617a3babSopenharmony_ci0:7            Constant:
32617a3babSopenharmony_ci0:7              0 (const int)
33617a3babSopenharmony_ci0:?           'input.interp' (layout( location=0) in float)
34617a3babSopenharmony_ci0:7        move second child to first child ( temp uint)
35617a3babSopenharmony_ci0:7          no_interp: direct index for structure ( temp uint)
36617a3babSopenharmony_ci0:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
37617a3babSopenharmony_ci0:7            Constant:
38617a3babSopenharmony_ci0:7              1 (const int)
39617a3babSopenharmony_ci0:?           'input.no_interp' (layout( location=1) flat in uint)
40617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
41617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
42617a3babSopenharmony_ci0:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
43617a3babSopenharmony_ci0:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
44617a3babSopenharmony_ci0:?   Linker Objects
45617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
46617a3babSopenharmony_ci0:?     'input.interp' (layout( location=0) in float)
47617a3babSopenharmony_ci0:?     'input.no_interp' (layout( location=1) flat in uint)
48617a3babSopenharmony_ci
49617a3babSopenharmony_ci
50617a3babSopenharmony_ciLinked fragment stage:
51617a3babSopenharmony_ci
52617a3babSopenharmony_ci
53617a3babSopenharmony_ciShader version: 500
54617a3babSopenharmony_cigl_FragCoord origin is upper left
55617a3babSopenharmony_ci0:? Sequence
56617a3babSopenharmony_ci0:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
57617a3babSopenharmony_ci0:7    Function Parameters: 
58617a3babSopenharmony_ci0:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
59617a3babSopenharmony_ci0:?     Sequence
60617a3babSopenharmony_ci0:8      Branch: Return with expression
61617a3babSopenharmony_ci0:8        Construct vec4 ( temp 4-component vector of float)
62617a3babSopenharmony_ci0:8          Convert uint to float ( temp float)
63617a3babSopenharmony_ci0:8            no_interp: direct index for structure ( temp uint)
64617a3babSopenharmony_ci0:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
65617a3babSopenharmony_ci0:8              Constant:
66617a3babSopenharmony_ci0:8                1 (const int)
67617a3babSopenharmony_ci0:8          interp: direct index for structure ( temp float)
68617a3babSopenharmony_ci0:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
69617a3babSopenharmony_ci0:8            Constant:
70617a3babSopenharmony_ci0:8              0 (const int)
71617a3babSopenharmony_ci0:8          Constant:
72617a3babSopenharmony_ci0:8            0.000000
73617a3babSopenharmony_ci0:8          Constant:
74617a3babSopenharmony_ci0:8            1.000000
75617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
76617a3babSopenharmony_ci0:7    Function Parameters: 
77617a3babSopenharmony_ci0:?     Sequence
78617a3babSopenharmony_ci0:7      Sequence
79617a3babSopenharmony_ci0:7        move second child to first child ( temp float)
80617a3babSopenharmony_ci0:7          interp: direct index for structure ( temp float)
81617a3babSopenharmony_ci0:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
82617a3babSopenharmony_ci0:7            Constant:
83617a3babSopenharmony_ci0:7              0 (const int)
84617a3babSopenharmony_ci0:?           'input.interp' (layout( location=0) in float)
85617a3babSopenharmony_ci0:7        move second child to first child ( temp uint)
86617a3babSopenharmony_ci0:7          no_interp: direct index for structure ( temp uint)
87617a3babSopenharmony_ci0:?             'input' ( temp structure{ temp float interp,  temp uint no_interp})
88617a3babSopenharmony_ci0:7            Constant:
89617a3babSopenharmony_ci0:7              1 (const int)
90617a3babSopenharmony_ci0:?           'input.no_interp' (layout( location=1) flat in uint)
91617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
92617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
93617a3babSopenharmony_ci0:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
94617a3babSopenharmony_ci0:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
95617a3babSopenharmony_ci0:?   Linker Objects
96617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
97617a3babSopenharmony_ci0:?     'input.interp' (layout( location=0) in float)
98617a3babSopenharmony_ci0:?     'input.no_interp' (layout( location=1) flat in uint)
99617a3babSopenharmony_ci
100617a3babSopenharmony_ci// Module Version 10000
101617a3babSopenharmony_ci// Generated by (magic number): 8000b
102617a3babSopenharmony_ci// Id's are bound by 44
103617a3babSopenharmony_ci
104617a3babSopenharmony_ci                              Capability Shader
105617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
106617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
107617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 32 36 40
108617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
109617a3babSopenharmony_ci                              Source HLSL 500
110617a3babSopenharmony_ci                              Name 4  "main"
111617a3babSopenharmony_ci                              Name 8  "PSInput"
112617a3babSopenharmony_ci                              MemberName 8(PSInput) 0  "interp"
113617a3babSopenharmony_ci                              MemberName 8(PSInput) 1  "no_interp"
114617a3babSopenharmony_ci                              Name 13  "@main(struct-PSInput-f1-u11;"
115617a3babSopenharmony_ci                              Name 12  "input"
116617a3babSopenharmony_ci                              Name 30  "input"
117617a3babSopenharmony_ci                              Name 32  "input.interp"
118617a3babSopenharmony_ci                              Name 36  "input.no_interp"
119617a3babSopenharmony_ci                              Name 40  "@entryPointOutput"
120617a3babSopenharmony_ci                              Name 41  "param"
121617a3babSopenharmony_ci                              Decorate 32(input.interp) Location 0
122617a3babSopenharmony_ci                              Decorate 36(input.no_interp) Flat
123617a3babSopenharmony_ci                              Decorate 36(input.no_interp) Location 1
124617a3babSopenharmony_ci                              Decorate 40(@entryPointOutput) Location 0
125617a3babSopenharmony_ci               2:             TypeVoid
126617a3babSopenharmony_ci               3:             TypeFunction 2
127617a3babSopenharmony_ci               6:             TypeFloat 32
128617a3babSopenharmony_ci               7:             TypeInt 32 0
129617a3babSopenharmony_ci      8(PSInput):             TypeStruct 6(float) 7(int)
130617a3babSopenharmony_ci               9:             TypePointer Function 8(PSInput)
131617a3babSopenharmony_ci              10:             TypeVector 6(float) 4
132617a3babSopenharmony_ci              11:             TypeFunction 10(fvec4) 9(ptr)
133617a3babSopenharmony_ci              15:             TypeInt 32 1
134617a3babSopenharmony_ci              16:     15(int) Constant 1
135617a3babSopenharmony_ci              17:             TypePointer Function 7(int)
136617a3babSopenharmony_ci              21:     15(int) Constant 0
137617a3babSopenharmony_ci              22:             TypePointer Function 6(float)
138617a3babSopenharmony_ci              25:    6(float) Constant 0
139617a3babSopenharmony_ci              26:    6(float) Constant 1065353216
140617a3babSopenharmony_ci              31:             TypePointer Input 6(float)
141617a3babSopenharmony_ci32(input.interp):     31(ptr) Variable Input
142617a3babSopenharmony_ci              35:             TypePointer Input 7(int)
143617a3babSopenharmony_ci36(input.no_interp):     35(ptr) Variable Input
144617a3babSopenharmony_ci              39:             TypePointer Output 10(fvec4)
145617a3babSopenharmony_ci40(@entryPointOutput):     39(ptr) Variable Output
146617a3babSopenharmony_ci         4(main):           2 Function None 3
147617a3babSopenharmony_ci               5:             Label
148617a3babSopenharmony_ci       30(input):      9(ptr) Variable Function
149617a3babSopenharmony_ci       41(param):      9(ptr) Variable Function
150617a3babSopenharmony_ci              33:    6(float) Load 32(input.interp)
151617a3babSopenharmony_ci              34:     22(ptr) AccessChain 30(input) 21
152617a3babSopenharmony_ci                              Store 34 33
153617a3babSopenharmony_ci              37:      7(int) Load 36(input.no_interp)
154617a3babSopenharmony_ci              38:     17(ptr) AccessChain 30(input) 16
155617a3babSopenharmony_ci                              Store 38 37
156617a3babSopenharmony_ci              42:  8(PSInput) Load 30(input)
157617a3babSopenharmony_ci                              Store 41(param) 42
158617a3babSopenharmony_ci              43:   10(fvec4) FunctionCall 13(@main(struct-PSInput-f1-u11;) 41(param)
159617a3babSopenharmony_ci                              Store 40(@entryPointOutput) 43
160617a3babSopenharmony_ci                              Return
161617a3babSopenharmony_ci                              FunctionEnd
162617a3babSopenharmony_ci13(@main(struct-PSInput-f1-u11;):   10(fvec4) Function None 11
163617a3babSopenharmony_ci       12(input):      9(ptr) FunctionParameter
164617a3babSopenharmony_ci              14:             Label
165617a3babSopenharmony_ci              18:     17(ptr) AccessChain 12(input) 16
166617a3babSopenharmony_ci              19:      7(int) Load 18
167617a3babSopenharmony_ci              20:    6(float) ConvertUToF 19
168617a3babSopenharmony_ci              23:     22(ptr) AccessChain 12(input) 21
169617a3babSopenharmony_ci              24:    6(float) Load 23
170617a3babSopenharmony_ci              27:   10(fvec4) CompositeConstruct 20 24 25 26
171617a3babSopenharmony_ci                              ReturnValue 27
172617a3babSopenharmony_ci                              FunctionEnd
173