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