1617a3babSopenharmony_cihlsl.targetStruct2.frag 2617a3babSopenharmony_ciShader version: 500 3617a3babSopenharmony_cigl_FragCoord origin is upper left 4617a3babSopenharmony_ci0:? Sequence 5617a3babSopenharmony_ci0:12 Function Definition: @main(struct-PSInput-f1-u11;vf4; ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 6617a3babSopenharmony_ci0:12 Function Parameters: 7617a3babSopenharmony_ci0:12 'input' ( in structure{ temp float interp, temp uint no_interp}) 8617a3babSopenharmony_ci0:12 'po' ( out 4-component vector of float) 9617a3babSopenharmony_ci0:? Sequence 10617a3babSopenharmony_ci0:14 move second child to first child ( temp 4-component vector of float) 11617a3babSopenharmony_ci0:14 o1: direct index for structure ( temp 4-component vector of float) 12617a3babSopenharmony_ci0:14 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 13617a3babSopenharmony_ci0:14 Constant: 14617a3babSopenharmony_ci0:14 0 (const int) 15617a3babSopenharmony_ci0:14 Construct vec4 ( temp 4-component vector of float) 16617a3babSopenharmony_ci0:14 Convert uint to float ( temp float) 17617a3babSopenharmony_ci0:14 no_interp: direct index for structure ( temp uint) 18617a3babSopenharmony_ci0:14 'input' ( in structure{ temp float interp, temp uint no_interp}) 19617a3babSopenharmony_ci0:14 Constant: 20617a3babSopenharmony_ci0:14 1 (const int) 21617a3babSopenharmony_ci0:14 interp: direct index for structure ( temp float) 22617a3babSopenharmony_ci0:14 'input' ( in structure{ temp float interp, temp uint no_interp}) 23617a3babSopenharmony_ci0:14 Constant: 24617a3babSopenharmony_ci0:14 0 (const int) 25617a3babSopenharmony_ci0:14 Constant: 26617a3babSopenharmony_ci0:14 0.000000 27617a3babSopenharmony_ci0:14 Constant: 28617a3babSopenharmony_ci0:14 1.000000 29617a3babSopenharmony_ci0:15 move second child to first child ( temp 4-component vector of float) 30617a3babSopenharmony_ci0:15 o2: direct index for structure ( temp 4-component vector of float) 31617a3babSopenharmony_ci0:15 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 32617a3babSopenharmony_ci0:15 Constant: 33617a3babSopenharmony_ci0:15 1 (const int) 34617a3babSopenharmony_ci0:15 Constant: 35617a3babSopenharmony_ci0:15 1.000000 36617a3babSopenharmony_ci0:15 1.000000 37617a3babSopenharmony_ci0:15 1.000000 38617a3babSopenharmony_ci0:15 1.000000 39617a3babSopenharmony_ci0:16 move second child to first child ( temp 4-component vector of float) 40617a3babSopenharmony_ci0:16 'po' ( out 4-component vector of float) 41617a3babSopenharmony_ci0:16 Constant: 42617a3babSopenharmony_ci0:16 0.000000 43617a3babSopenharmony_ci0:16 0.000000 44617a3babSopenharmony_ci0:16 0.000000 45617a3babSopenharmony_ci0:16 0.000000 46617a3babSopenharmony_ci0:18 Branch: Return with expression 47617a3babSopenharmony_ci0:18 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 48617a3babSopenharmony_ci0:12 Function Definition: main( ( temp void) 49617a3babSopenharmony_ci0:12 Function Parameters: 50617a3babSopenharmony_ci0:? Sequence 51617a3babSopenharmony_ci0:12 Sequence 52617a3babSopenharmony_ci0:12 move second child to first child ( temp float) 53617a3babSopenharmony_ci0:12 interp: direct index for structure ( temp float) 54617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 55617a3babSopenharmony_ci0:12 Constant: 56617a3babSopenharmony_ci0:12 0 (const int) 57617a3babSopenharmony_ci0:? 'input.interp' (layout( location=0) in float) 58617a3babSopenharmony_ci0:12 move second child to first child ( temp uint) 59617a3babSopenharmony_ci0:12 no_interp: direct index for structure ( temp uint) 60617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 61617a3babSopenharmony_ci0:12 Constant: 62617a3babSopenharmony_ci0:12 1 (const int) 63617a3babSopenharmony_ci0:? 'input.no_interp' (layout( location=1) flat in uint) 64617a3babSopenharmony_ci0:12 Sequence 65617a3babSopenharmony_ci0:12 move second child to first child ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 66617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 67617a3babSopenharmony_ci0:12 Function Call: @main(struct-PSInput-f1-u11;vf4; ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 68617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 69617a3babSopenharmony_ci0:? 'po' ( temp 4-component vector of float) 70617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 71617a3babSopenharmony_ci0:? '@entryPointOutput.o1' (layout( location=2) out 4-component vector of float) 72617a3babSopenharmony_ci0:12 o1: direct index for structure ( temp 4-component vector of float) 73617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 74617a3babSopenharmony_ci0:12 Constant: 75617a3babSopenharmony_ci0:12 0 (const int) 76617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 77617a3babSopenharmony_ci0:? '@entryPointOutput.o2' (layout( location=3) out 4-component vector of float) 78617a3babSopenharmony_ci0:12 o2: direct index for structure ( temp 4-component vector of float) 79617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 80617a3babSopenharmony_ci0:12 Constant: 81617a3babSopenharmony_ci0:12 1 (const int) 82617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 83617a3babSopenharmony_ci0:? 'po' (layout( location=0) out 4-component vector of float) 84617a3babSopenharmony_ci0:? 'po' ( temp 4-component vector of float) 85617a3babSopenharmony_ci0:? Linker Objects 86617a3babSopenharmony_ci0:? '@entryPointOutput.o1' (layout( location=2) out 4-component vector of float) 87617a3babSopenharmony_ci0:? '@entryPointOutput.o2' (layout( location=3) out 4-component vector of float) 88617a3babSopenharmony_ci0:? 'input.interp' (layout( location=0) in float) 89617a3babSopenharmony_ci0:? 'input.no_interp' (layout( location=1) flat in uint) 90617a3babSopenharmony_ci0:? 'po' (layout( location=0) out 4-component vector of float) 91617a3babSopenharmony_ci 92617a3babSopenharmony_ci 93617a3babSopenharmony_ciLinked fragment stage: 94617a3babSopenharmony_ci 95617a3babSopenharmony_ci 96617a3babSopenharmony_ciShader version: 500 97617a3babSopenharmony_cigl_FragCoord origin is upper left 98617a3babSopenharmony_ci0:? Sequence 99617a3babSopenharmony_ci0:12 Function Definition: @main(struct-PSInput-f1-u11;vf4; ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 100617a3babSopenharmony_ci0:12 Function Parameters: 101617a3babSopenharmony_ci0:12 'input' ( in structure{ temp float interp, temp uint no_interp}) 102617a3babSopenharmony_ci0:12 'po' ( out 4-component vector of float) 103617a3babSopenharmony_ci0:? Sequence 104617a3babSopenharmony_ci0:14 move second child to first child ( temp 4-component vector of float) 105617a3babSopenharmony_ci0:14 o1: direct index for structure ( temp 4-component vector of float) 106617a3babSopenharmony_ci0:14 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 107617a3babSopenharmony_ci0:14 Constant: 108617a3babSopenharmony_ci0:14 0 (const int) 109617a3babSopenharmony_ci0:14 Construct vec4 ( temp 4-component vector of float) 110617a3babSopenharmony_ci0:14 Convert uint to float ( temp float) 111617a3babSopenharmony_ci0:14 no_interp: direct index for structure ( temp uint) 112617a3babSopenharmony_ci0:14 'input' ( in structure{ temp float interp, temp uint no_interp}) 113617a3babSopenharmony_ci0:14 Constant: 114617a3babSopenharmony_ci0:14 1 (const int) 115617a3babSopenharmony_ci0:14 interp: direct index for structure ( temp float) 116617a3babSopenharmony_ci0:14 'input' ( in structure{ temp float interp, temp uint no_interp}) 117617a3babSopenharmony_ci0:14 Constant: 118617a3babSopenharmony_ci0:14 0 (const int) 119617a3babSopenharmony_ci0:14 Constant: 120617a3babSopenharmony_ci0:14 0.000000 121617a3babSopenharmony_ci0:14 Constant: 122617a3babSopenharmony_ci0:14 1.000000 123617a3babSopenharmony_ci0:15 move second child to first child ( temp 4-component vector of float) 124617a3babSopenharmony_ci0:15 o2: direct index for structure ( temp 4-component vector of float) 125617a3babSopenharmony_ci0:15 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 126617a3babSopenharmony_ci0:15 Constant: 127617a3babSopenharmony_ci0:15 1 (const int) 128617a3babSopenharmony_ci0:15 Constant: 129617a3babSopenharmony_ci0:15 1.000000 130617a3babSopenharmony_ci0:15 1.000000 131617a3babSopenharmony_ci0:15 1.000000 132617a3babSopenharmony_ci0:15 1.000000 133617a3babSopenharmony_ci0:16 move second child to first child ( temp 4-component vector of float) 134617a3babSopenharmony_ci0:16 'po' ( out 4-component vector of float) 135617a3babSopenharmony_ci0:16 Constant: 136617a3babSopenharmony_ci0:16 0.000000 137617a3babSopenharmony_ci0:16 0.000000 138617a3babSopenharmony_ci0:16 0.000000 139617a3babSopenharmony_ci0:16 0.000000 140617a3babSopenharmony_ci0:18 Branch: Return with expression 141617a3babSopenharmony_ci0:18 'pso' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 142617a3babSopenharmony_ci0:12 Function Definition: main( ( temp void) 143617a3babSopenharmony_ci0:12 Function Parameters: 144617a3babSopenharmony_ci0:? Sequence 145617a3babSopenharmony_ci0:12 Sequence 146617a3babSopenharmony_ci0:12 move second child to first child ( temp float) 147617a3babSopenharmony_ci0:12 interp: direct index for structure ( temp float) 148617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 149617a3babSopenharmony_ci0:12 Constant: 150617a3babSopenharmony_ci0:12 0 (const int) 151617a3babSopenharmony_ci0:? 'input.interp' (layout( location=0) in float) 152617a3babSopenharmony_ci0:12 move second child to first child ( temp uint) 153617a3babSopenharmony_ci0:12 no_interp: direct index for structure ( temp uint) 154617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 155617a3babSopenharmony_ci0:12 Constant: 156617a3babSopenharmony_ci0:12 1 (const int) 157617a3babSopenharmony_ci0:? 'input.no_interp' (layout( location=1) flat in uint) 158617a3babSopenharmony_ci0:12 Sequence 159617a3babSopenharmony_ci0:12 move second child to first child ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 160617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 161617a3babSopenharmony_ci0:12 Function Call: @main(struct-PSInput-f1-u11;vf4; ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 162617a3babSopenharmony_ci0:? 'input' ( temp structure{ temp float interp, temp uint no_interp}) 163617a3babSopenharmony_ci0:? 'po' ( temp 4-component vector of float) 164617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 165617a3babSopenharmony_ci0:? '@entryPointOutput.o1' (layout( location=2) out 4-component vector of float) 166617a3babSopenharmony_ci0:12 o1: direct index for structure ( temp 4-component vector of float) 167617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 168617a3babSopenharmony_ci0:12 Constant: 169617a3babSopenharmony_ci0:12 0 (const int) 170617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 171617a3babSopenharmony_ci0:? '@entryPointOutput.o2' (layout( location=3) out 4-component vector of float) 172617a3babSopenharmony_ci0:12 o2: direct index for structure ( temp 4-component vector of float) 173617a3babSopenharmony_ci0:12 'flattenTemp' ( temp structure{ temp 4-component vector of float o1, temp 4-component vector of float o2}) 174617a3babSopenharmony_ci0:12 Constant: 175617a3babSopenharmony_ci0:12 1 (const int) 176617a3babSopenharmony_ci0:12 move second child to first child ( temp 4-component vector of float) 177617a3babSopenharmony_ci0:? 'po' (layout( location=0) out 4-component vector of float) 178617a3babSopenharmony_ci0:? 'po' ( temp 4-component vector of float) 179617a3babSopenharmony_ci0:? Linker Objects 180617a3babSopenharmony_ci0:? '@entryPointOutput.o1' (layout( location=2) out 4-component vector of float) 181617a3babSopenharmony_ci0:? '@entryPointOutput.o2' (layout( location=3) out 4-component vector of float) 182617a3babSopenharmony_ci0:? 'input.interp' (layout( location=0) in float) 183617a3babSopenharmony_ci0:? 'input.no_interp' (layout( location=1) flat in uint) 184617a3babSopenharmony_ci0:? 'po' (layout( location=0) out 4-component vector of float) 185617a3babSopenharmony_ci 186617a3babSopenharmony_ci// Module Version 10000 187617a3babSopenharmony_ci// Generated by (magic number): 8000b 188617a3babSopenharmony_ci// Id's are bound by 65 189617a3babSopenharmony_ci 190617a3babSopenharmony_ci Capability Shader 191617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 192617a3babSopenharmony_ci MemoryModel Logical GLSL450 193617a3babSopenharmony_ci EntryPoint Fragment 4 "main" 42 46 57 60 63 194617a3babSopenharmony_ci ExecutionMode 4 OriginUpperLeft 195617a3babSopenharmony_ci Source HLSL 500 196617a3babSopenharmony_ci Name 4 "main" 197617a3babSopenharmony_ci Name 8 "PSInput" 198617a3babSopenharmony_ci MemberName 8(PSInput) 0 "interp" 199617a3babSopenharmony_ci MemberName 8(PSInput) 1 "no_interp" 200617a3babSopenharmony_ci Name 12 "PSOutput" 201617a3babSopenharmony_ci MemberName 12(PSOutput) 0 "o1" 202617a3babSopenharmony_ci MemberName 12(PSOutput) 1 "o2" 203617a3babSopenharmony_ci Name 16 "@main(struct-PSInput-f1-u11;vf4;" 204617a3babSopenharmony_ci Name 14 "input" 205617a3babSopenharmony_ci Name 15 "po" 206617a3babSopenharmony_ci Name 19 "pso" 207617a3babSopenharmony_ci Name 40 "input" 208617a3babSopenharmony_ci Name 42 "input.interp" 209617a3babSopenharmony_ci Name 46 "input.no_interp" 210617a3babSopenharmony_ci Name 49 "flattenTemp" 211617a3babSopenharmony_ci Name 50 "po" 212617a3babSopenharmony_ci Name 51 "param" 213617a3babSopenharmony_ci Name 53 "param" 214617a3babSopenharmony_ci Name 57 "@entryPointOutput.o1" 215617a3babSopenharmony_ci Name 60 "@entryPointOutput.o2" 216617a3babSopenharmony_ci Name 63 "po" 217617a3babSopenharmony_ci Decorate 42(input.interp) Location 0 218617a3babSopenharmony_ci Decorate 46(input.no_interp) Flat 219617a3babSopenharmony_ci Decorate 46(input.no_interp) Location 1 220617a3babSopenharmony_ci Decorate 57(@entryPointOutput.o1) Location 2 221617a3babSopenharmony_ci Decorate 60(@entryPointOutput.o2) Location 3 222617a3babSopenharmony_ci Decorate 63(po) Location 0 223617a3babSopenharmony_ci 2: TypeVoid 224617a3babSopenharmony_ci 3: TypeFunction 2 225617a3babSopenharmony_ci 6: TypeFloat 32 226617a3babSopenharmony_ci 7: TypeInt 32 0 227617a3babSopenharmony_ci 8(PSInput): TypeStruct 6(float) 7(int) 228617a3babSopenharmony_ci 9: TypePointer Function 8(PSInput) 229617a3babSopenharmony_ci 10: TypeVector 6(float) 4 230617a3babSopenharmony_ci 11: TypePointer Function 10(fvec4) 231617a3babSopenharmony_ci 12(PSOutput): TypeStruct 10(fvec4) 10(fvec4) 232617a3babSopenharmony_ci 13: TypeFunction 12(PSOutput) 9(ptr) 11(ptr) 233617a3babSopenharmony_ci 18: TypePointer Function 12(PSOutput) 234617a3babSopenharmony_ci 20: TypeInt 32 1 235617a3babSopenharmony_ci 21: 20(int) Constant 0 236617a3babSopenharmony_ci 22: 20(int) Constant 1 237617a3babSopenharmony_ci 23: TypePointer Function 7(int) 238617a3babSopenharmony_ci 27: TypePointer Function 6(float) 239617a3babSopenharmony_ci 30: 6(float) Constant 0 240617a3babSopenharmony_ci 31: 6(float) Constant 1065353216 241617a3babSopenharmony_ci 34: 10(fvec4) ConstantComposite 31 31 31 31 242617a3babSopenharmony_ci 36: 10(fvec4) ConstantComposite 30 30 30 30 243617a3babSopenharmony_ci 41: TypePointer Input 6(float) 244617a3babSopenharmony_ci42(input.interp): 41(ptr) Variable Input 245617a3babSopenharmony_ci 45: TypePointer Input 7(int) 246617a3babSopenharmony_ci46(input.no_interp): 45(ptr) Variable Input 247617a3babSopenharmony_ci 56: TypePointer Output 10(fvec4) 248617a3babSopenharmony_ci57(@entryPointOutput.o1): 56(ptr) Variable Output 249617a3babSopenharmony_ci60(@entryPointOutput.o2): 56(ptr) Variable Output 250617a3babSopenharmony_ci 63(po): 56(ptr) Variable Output 251617a3babSopenharmony_ci 4(main): 2 Function None 3 252617a3babSopenharmony_ci 5: Label 253617a3babSopenharmony_ci 40(input): 9(ptr) Variable Function 254617a3babSopenharmony_ci 49(flattenTemp): 18(ptr) Variable Function 255617a3babSopenharmony_ci 50(po): 11(ptr) Variable Function 256617a3babSopenharmony_ci 51(param): 9(ptr) Variable Function 257617a3babSopenharmony_ci 53(param): 11(ptr) Variable Function 258617a3babSopenharmony_ci 43: 6(float) Load 42(input.interp) 259617a3babSopenharmony_ci 44: 27(ptr) AccessChain 40(input) 21 260617a3babSopenharmony_ci Store 44 43 261617a3babSopenharmony_ci 47: 7(int) Load 46(input.no_interp) 262617a3babSopenharmony_ci 48: 23(ptr) AccessChain 40(input) 22 263617a3babSopenharmony_ci Store 48 47 264617a3babSopenharmony_ci 52: 8(PSInput) Load 40(input) 265617a3babSopenharmony_ci Store 51(param) 52 266617a3babSopenharmony_ci 54:12(PSOutput) FunctionCall 16(@main(struct-PSInput-f1-u11;vf4;) 51(param) 53(param) 267617a3babSopenharmony_ci 55: 10(fvec4) Load 53(param) 268617a3babSopenharmony_ci Store 50(po) 55 269617a3babSopenharmony_ci Store 49(flattenTemp) 54 270617a3babSopenharmony_ci 58: 11(ptr) AccessChain 49(flattenTemp) 21 271617a3babSopenharmony_ci 59: 10(fvec4) Load 58 272617a3babSopenharmony_ci Store 57(@entryPointOutput.o1) 59 273617a3babSopenharmony_ci 61: 11(ptr) AccessChain 49(flattenTemp) 22 274617a3babSopenharmony_ci 62: 10(fvec4) Load 61 275617a3babSopenharmony_ci Store 60(@entryPointOutput.o2) 62 276617a3babSopenharmony_ci 64: 10(fvec4) Load 50(po) 277617a3babSopenharmony_ci Store 63(po) 64 278617a3babSopenharmony_ci Return 279617a3babSopenharmony_ci FunctionEnd 280617a3babSopenharmony_ci16(@main(struct-PSInput-f1-u11;vf4;):12(PSOutput) Function None 13 281617a3babSopenharmony_ci 14(input): 9(ptr) FunctionParameter 282617a3babSopenharmony_ci 15(po): 11(ptr) FunctionParameter 283617a3babSopenharmony_ci 17: Label 284617a3babSopenharmony_ci 19(pso): 18(ptr) Variable Function 285617a3babSopenharmony_ci 24: 23(ptr) AccessChain 14(input) 22 286617a3babSopenharmony_ci 25: 7(int) Load 24 287617a3babSopenharmony_ci 26: 6(float) ConvertUToF 25 288617a3babSopenharmony_ci 28: 27(ptr) AccessChain 14(input) 21 289617a3babSopenharmony_ci 29: 6(float) Load 28 290617a3babSopenharmony_ci 32: 10(fvec4) CompositeConstruct 26 29 30 31 291617a3babSopenharmony_ci 33: 11(ptr) AccessChain 19(pso) 21 292617a3babSopenharmony_ci Store 33 32 293617a3babSopenharmony_ci 35: 11(ptr) AccessChain 19(pso) 22 294617a3babSopenharmony_ci Store 35 34 295617a3babSopenharmony_ci Store 15(po) 36 296617a3babSopenharmony_ci 37:12(PSOutput) Load 19(pso) 297617a3babSopenharmony_ci ReturnValue 37 298617a3babSopenharmony_ci FunctionEnd 299