1617a3babSopenharmony_cihlsl.flattenSubset.frag 2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize 3617a3babSopenharmony_ciShader version: 500 4617a3babSopenharmony_cigl_FragCoord origin is upper left 5617a3babSopenharmony_ci0:? Sequence 6617a3babSopenharmony_ci0:30 Function Definition: @main(vf4; ( temp 4-component vector of float) 7617a3babSopenharmony_ci0:30 Function Parameters: 8617a3babSopenharmony_ci0:30 'vpos' ( in 4-component vector of float) 9617a3babSopenharmony_ci0:? Sequence 10617a3babSopenharmony_ci0:33 move second child to first child ( temp sampler) 11617a3babSopenharmony_ci0:33 ss: direct index for structure ( temp sampler) 12617a3babSopenharmony_ci0:33 s0: direct index for structure ( temp structure{ temp int x, temp int y, temp sampler ss}) 13617a3babSopenharmony_ci0:33 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 14617a3babSopenharmony_ci0:33 Constant: 15617a3babSopenharmony_ci0:33 2 (const int) 16617a3babSopenharmony_ci0:33 Constant: 17617a3babSopenharmony_ci0:33 2 (const int) 18617a3babSopenharmony_ci0:33 'samp' ( uniform sampler) 19617a3babSopenharmony_ci0:34 move second child to first child ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 20617a3babSopenharmony_ci0:34 resources: direct index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 21617a3babSopenharmony_ci0:34 's2' ( temp structure{ temp int a1, temp int a2, temp int a3, temp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a} resources}) 22617a3babSopenharmony_ci0:34 Constant: 23617a3babSopenharmony_ci0:34 5 (const int) 24617a3babSopenharmony_ci0:34 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 25617a3babSopenharmony_ci0:35 Branch: Return with expression 26617a3babSopenharmony_ci0:35 texture ( temp 4-component vector of float) 27617a3babSopenharmony_ci0:35 Construct combined texture-sampler ( temp sampler2D) 28617a3babSopenharmony_ci0:35 'tex' ( uniform texture2D) 29617a3babSopenharmony_ci0:35 ss: direct index for structure ( temp sampler) 30617a3babSopenharmony_ci0:35 s0: direct index for structure ( temp structure{ temp int x, temp int y, temp sampler ss}) 31617a3babSopenharmony_ci0:35 resources: direct index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 32617a3babSopenharmony_ci0:35 's2' ( temp structure{ temp int a1, temp int a2, temp int a3, temp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a} resources}) 33617a3babSopenharmony_ci0:35 Constant: 34617a3babSopenharmony_ci0:35 5 (const int) 35617a3babSopenharmony_ci0:35 Constant: 36617a3babSopenharmony_ci0:35 2 (const int) 37617a3babSopenharmony_ci0:35 Constant: 38617a3babSopenharmony_ci0:35 2 (const int) 39617a3babSopenharmony_ci0:35 Constant: 40617a3babSopenharmony_ci0:35 0.500000 41617a3babSopenharmony_ci0:35 0.500000 42617a3babSopenharmony_ci0:30 Function Definition: main( ( temp void) 43617a3babSopenharmony_ci0:30 Function Parameters: 44617a3babSopenharmony_ci0:? Sequence 45617a3babSopenharmony_ci0:30 move second child to first child ( temp 4-component vector of float) 46617a3babSopenharmony_ci0:? 'vpos' ( temp 4-component vector of float) 47617a3babSopenharmony_ci0:? 'vpos' (layout( location=0) in 4-component vector of float) 48617a3babSopenharmony_ci0:30 move second child to first child ( temp 4-component vector of float) 49617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 50617a3babSopenharmony_ci0:30 Function Call: @main(vf4; ( temp 4-component vector of float) 51617a3babSopenharmony_ci0:? 'vpos' ( temp 4-component vector of float) 52617a3babSopenharmony_ci0:? Linker Objects 53617a3babSopenharmony_ci0:? 'samp' ( uniform sampler) 54617a3babSopenharmony_ci0:? 'tex' ( uniform texture2D) 55617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 56617a3babSopenharmony_ci0:? 'vpos' (layout( location=0) in 4-component vector of float) 57617a3babSopenharmony_ci 58617a3babSopenharmony_ci 59617a3babSopenharmony_ciLinked fragment stage: 60617a3babSopenharmony_ci 61617a3babSopenharmony_ci 62617a3babSopenharmony_ciShader version: 500 63617a3babSopenharmony_cigl_FragCoord origin is upper left 64617a3babSopenharmony_ci0:? Sequence 65617a3babSopenharmony_ci0:30 Function Definition: @main(vf4; ( temp 4-component vector of float) 66617a3babSopenharmony_ci0:30 Function Parameters: 67617a3babSopenharmony_ci0:30 'vpos' ( in 4-component vector of float) 68617a3babSopenharmony_ci0:? Sequence 69617a3babSopenharmony_ci0:33 move second child to first child ( temp sampler) 70617a3babSopenharmony_ci0:33 ss: direct index for structure ( temp sampler) 71617a3babSopenharmony_ci0:33 s0: direct index for structure ( temp structure{ temp int x, temp int y, temp sampler ss}) 72617a3babSopenharmony_ci0:33 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 73617a3babSopenharmony_ci0:33 Constant: 74617a3babSopenharmony_ci0:33 2 (const int) 75617a3babSopenharmony_ci0:33 Constant: 76617a3babSopenharmony_ci0:33 2 (const int) 77617a3babSopenharmony_ci0:33 'samp' ( uniform sampler) 78617a3babSopenharmony_ci0:34 move second child to first child ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 79617a3babSopenharmony_ci0:34 resources: direct index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 80617a3babSopenharmony_ci0:34 's2' ( temp structure{ temp int a1, temp int a2, temp int a3, temp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a} resources}) 81617a3babSopenharmony_ci0:34 Constant: 82617a3babSopenharmony_ci0:34 5 (const int) 83617a3babSopenharmony_ci0:34 's1' ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 84617a3babSopenharmony_ci0:35 Branch: Return with expression 85617a3babSopenharmony_ci0:35 texture ( temp 4-component vector of float) 86617a3babSopenharmony_ci0:35 Construct combined texture-sampler ( temp sampler2D) 87617a3babSopenharmony_ci0:35 'tex' ( uniform texture2D) 88617a3babSopenharmony_ci0:35 ss: direct index for structure ( temp sampler) 89617a3babSopenharmony_ci0:35 s0: direct index for structure ( temp structure{ temp int x, temp int y, temp sampler ss}) 90617a3babSopenharmony_ci0:35 resources: direct index for structure ( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a}) 91617a3babSopenharmony_ci0:35 's2' ( temp structure{ temp int a1, temp int a2, temp int a3, temp int a4, temp int a5, temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int y, temp sampler ss} s0, temp int a} resources}) 92617a3babSopenharmony_ci0:35 Constant: 93617a3babSopenharmony_ci0:35 5 (const int) 94617a3babSopenharmony_ci0:35 Constant: 95617a3babSopenharmony_ci0:35 2 (const int) 96617a3babSopenharmony_ci0:35 Constant: 97617a3babSopenharmony_ci0:35 2 (const int) 98617a3babSopenharmony_ci0:35 Constant: 99617a3babSopenharmony_ci0:35 0.500000 100617a3babSopenharmony_ci0:35 0.500000 101617a3babSopenharmony_ci0:30 Function Definition: main( ( temp void) 102617a3babSopenharmony_ci0:30 Function Parameters: 103617a3babSopenharmony_ci0:? Sequence 104617a3babSopenharmony_ci0:30 move second child to first child ( temp 4-component vector of float) 105617a3babSopenharmony_ci0:? 'vpos' ( temp 4-component vector of float) 106617a3babSopenharmony_ci0:? 'vpos' (layout( location=0) in 4-component vector of float) 107617a3babSopenharmony_ci0:30 move second child to first child ( temp 4-component vector of float) 108617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 109617a3babSopenharmony_ci0:30 Function Call: @main(vf4; ( temp 4-component vector of float) 110617a3babSopenharmony_ci0:? 'vpos' ( temp 4-component vector of float) 111617a3babSopenharmony_ci0:? Linker Objects 112617a3babSopenharmony_ci0:? 'samp' ( uniform sampler) 113617a3babSopenharmony_ci0:? 'tex' ( uniform texture2D) 114617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 115617a3babSopenharmony_ci0:? 'vpos' (layout( location=0) in 4-component vector of float) 116617a3babSopenharmony_ci 117617a3babSopenharmony_ci// Module Version 10000 118617a3babSopenharmony_ci// Generated by (magic number): 8000b 119617a3babSopenharmony_ci// Id's are bound by 54 120617a3babSopenharmony_ci 121617a3babSopenharmony_ci Capability Shader 122617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 123617a3babSopenharmony_ci MemoryModel Logical GLSL450 124617a3babSopenharmony_ci EntryPoint Fragment 4 "main" 47 50 125617a3babSopenharmony_ci ExecutionMode 4 OriginUpperLeft 126617a3babSopenharmony_ci Source HLSL 500 127617a3babSopenharmony_ci Name 4 "main" 128617a3babSopenharmony_ci Name 11 "@main(vf4;" 129617a3babSopenharmony_ci Name 10 "vpos" 130617a3babSopenharmony_ci Name 15 "S0" 131617a3babSopenharmony_ci MemberName 15(S0) 0 "x" 132617a3babSopenharmony_ci MemberName 15(S0) 1 "y" 133617a3babSopenharmony_ci MemberName 15(S0) 2 "ss" 134617a3babSopenharmony_ci Name 16 "S1" 135617a3babSopenharmony_ci MemberName 16(S1) 0 "b" 136617a3babSopenharmony_ci MemberName 16(S1) 1 "samplerState" 137617a3babSopenharmony_ci MemberName 16(S1) 2 "s0" 138617a3babSopenharmony_ci MemberName 16(S1) 3 "a" 139617a3babSopenharmony_ci Name 18 "s1" 140617a3babSopenharmony_ci Name 21 "samp" 141617a3babSopenharmony_ci Name 25 "S2" 142617a3babSopenharmony_ci MemberName 25(S2) 0 "a1" 143617a3babSopenharmony_ci MemberName 25(S2) 1 "a2" 144617a3babSopenharmony_ci MemberName 25(S2) 2 "a3" 145617a3babSopenharmony_ci MemberName 25(S2) 3 "a4" 146617a3babSopenharmony_ci MemberName 25(S2) 4 "a5" 147617a3babSopenharmony_ci MemberName 25(S2) 5 "resources" 148617a3babSopenharmony_ci Name 27 "s2" 149617a3babSopenharmony_ci Name 33 "tex" 150617a3babSopenharmony_ci Name 45 "vpos" 151617a3babSopenharmony_ci Name 47 "vpos" 152617a3babSopenharmony_ci Name 50 "@entryPointOutput" 153617a3babSopenharmony_ci Name 51 "param" 154617a3babSopenharmony_ci Decorate 21(samp) DescriptorSet 0 155617a3babSopenharmony_ci Decorate 21(samp) Binding 0 156617a3babSopenharmony_ci Decorate 33(tex) DescriptorSet 0 157617a3babSopenharmony_ci Decorate 33(tex) Binding 1 158617a3babSopenharmony_ci Decorate 47(vpos) Location 0 159617a3babSopenharmony_ci Decorate 50(@entryPointOutput) Location 0 160617a3babSopenharmony_ci 2: TypeVoid 161617a3babSopenharmony_ci 3: TypeFunction 2 162617a3babSopenharmony_ci 6: TypeFloat 32 163617a3babSopenharmony_ci 7: TypeVector 6(float) 4 164617a3babSopenharmony_ci 8: TypePointer Function 7(fvec4) 165617a3babSopenharmony_ci 9: TypeFunction 7(fvec4) 8(ptr) 166617a3babSopenharmony_ci 13: TypeSampler 167617a3babSopenharmony_ci 14: TypeInt 32 1 168617a3babSopenharmony_ci 15(S0): TypeStruct 14(int) 14(int) 13 169617a3babSopenharmony_ci 16(S1): TypeStruct 6(float) 13 15(S0) 14(int) 170617a3babSopenharmony_ci 17: TypePointer Function 16(S1) 171617a3babSopenharmony_ci 19: 14(int) Constant 2 172617a3babSopenharmony_ci 20: TypePointer UniformConstant 13 173617a3babSopenharmony_ci 21(samp): 20(ptr) Variable UniformConstant 174617a3babSopenharmony_ci 23: TypePointer Function 13 175617a3babSopenharmony_ci 25(S2): TypeStruct 14(int) 14(int) 14(int) 14(int) 14(int) 16(S1) 176617a3babSopenharmony_ci 26: TypePointer Function 25(S2) 177617a3babSopenharmony_ci 28: 14(int) Constant 5 178617a3babSopenharmony_ci 31: TypeImage 6(float) 2D sampled format:Unknown 179617a3babSopenharmony_ci 32: TypePointer UniformConstant 31 180617a3babSopenharmony_ci 33(tex): 32(ptr) Variable UniformConstant 181617a3babSopenharmony_ci 37: TypeSampledImage 31 182617a3babSopenharmony_ci 39: TypeVector 6(float) 2 183617a3babSopenharmony_ci 40: 6(float) Constant 1056964608 184617a3babSopenharmony_ci 41: 39(fvec2) ConstantComposite 40 40 185617a3babSopenharmony_ci 46: TypePointer Input 7(fvec4) 186617a3babSopenharmony_ci 47(vpos): 46(ptr) Variable Input 187617a3babSopenharmony_ci 49: TypePointer Output 7(fvec4) 188617a3babSopenharmony_ci50(@entryPointOutput): 49(ptr) Variable Output 189617a3babSopenharmony_ci 4(main): 2 Function None 3 190617a3babSopenharmony_ci 5: Label 191617a3babSopenharmony_ci 45(vpos): 8(ptr) Variable Function 192617a3babSopenharmony_ci 51(param): 8(ptr) Variable Function 193617a3babSopenharmony_ci 48: 7(fvec4) Load 47(vpos) 194617a3babSopenharmony_ci Store 45(vpos) 48 195617a3babSopenharmony_ci 52: 7(fvec4) Load 45(vpos) 196617a3babSopenharmony_ci Store 51(param) 52 197617a3babSopenharmony_ci 53: 7(fvec4) FunctionCall 11(@main(vf4;) 51(param) 198617a3babSopenharmony_ci Store 50(@entryPointOutput) 53 199617a3babSopenharmony_ci Return 200617a3babSopenharmony_ci FunctionEnd 201617a3babSopenharmony_ci 11(@main(vf4;): 7(fvec4) Function None 9 202617a3babSopenharmony_ci 10(vpos): 8(ptr) FunctionParameter 203617a3babSopenharmony_ci 12: Label 204617a3babSopenharmony_ci 18(s1): 17(ptr) Variable Function 205617a3babSopenharmony_ci 27(s2): 26(ptr) Variable Function 206617a3babSopenharmony_ci 22: 13 Load 21(samp) 207617a3babSopenharmony_ci 24: 23(ptr) AccessChain 18(s1) 19 19 208617a3babSopenharmony_ci Store 24 22 209617a3babSopenharmony_ci 29: 16(S1) Load 18(s1) 210617a3babSopenharmony_ci 30: 17(ptr) AccessChain 27(s2) 28 211617a3babSopenharmony_ci Store 30 29 212617a3babSopenharmony_ci 34: 31 Load 33(tex) 213617a3babSopenharmony_ci 35: 23(ptr) AccessChain 27(s2) 28 19 19 214617a3babSopenharmony_ci 36: 13 Load 35 215617a3babSopenharmony_ci 38: 37 SampledImage 34 36 216617a3babSopenharmony_ci 42: 7(fvec4) ImageSampleImplicitLod 38 41 217617a3babSopenharmony_ci ReturnValue 42 218617a3babSopenharmony_ci FunctionEnd 219