1617a3babSopenharmony_cilink1.vk.frag 2617a3babSopenharmony_ciShader version: 450 3617a3babSopenharmony_cigl_FragCoord origin is upper left 4617a3babSopenharmony_ci0:? Sequence 5617a3babSopenharmony_ci0:16 Function Definition: main( ( global void) 6617a3babSopenharmony_ci0:16 Function Parameters: 7617a3babSopenharmony_ci0:18 Sequence 8617a3babSopenharmony_ci0:18 move second child to first child ( temp highp 4-component vector of float) 9617a3babSopenharmony_ci0:18 'color' (layout( location=0) out highp 4-component vector of float) 10617a3babSopenharmony_ci0:18 Function Call: getColor( ( global highp 4-component vector of float) 11617a3babSopenharmony_ci0:20 move second child to first child ( temp highp int) 12617a3babSopenharmony_ci0:20 direct index ( temp highp int) 13617a3babSopenharmony_ci0:20 'a1' ( global unsized 9-element array of highp int) 14617a3babSopenharmony_ci0:20 Constant: 15617a3babSopenharmony_ci0:20 8 (const int) 16617a3babSopenharmony_ci0:20 Constant: 17617a3babSopenharmony_ci0:20 1 (const int) 18617a3babSopenharmony_ci0:21 move second child to first child ( temp highp int) 19617a3babSopenharmony_ci0:21 direct index ( temp highp int) 20617a3babSopenharmony_ci0:21 'a2' ( global unsized 2-element array of highp int) 21617a3babSopenharmony_ci0:21 Constant: 22617a3babSopenharmony_ci0:21 1 (const int) 23617a3babSopenharmony_ci0:21 Constant: 24617a3babSopenharmony_ci0:21 1 (const int) 25617a3babSopenharmony_ci0:22 move second child to first child ( temp highp int) 26617a3babSopenharmony_ci0:22 indirect index ( temp highp int) 27617a3babSopenharmony_ci0:22 'b' ( global 5-element array of highp int) 28617a3babSopenharmony_ci0:22 'i' ( global highp int) 29617a3babSopenharmony_ci0:22 Constant: 30617a3babSopenharmony_ci0:22 1 (const int) 31617a3babSopenharmony_ci0:23 move second child to first child ( temp highp int) 32617a3babSopenharmony_ci0:23 direct index ( temp highp int) 33617a3babSopenharmony_ci0:23 'c' ( global unsized 4-element array of highp int) 34617a3babSopenharmony_ci0:23 Constant: 35617a3babSopenharmony_ci0:23 3 (const int) 36617a3babSopenharmony_ci0:23 Constant: 37617a3babSopenharmony_ci0:23 1 (const int) 38617a3babSopenharmony_ci0:? Linker Objects 39617a3babSopenharmony_ci0:? 'color' (layout( location=0) out highp 4-component vector of float) 40617a3babSopenharmony_ci0:? 'a1' ( global unsized 9-element array of highp int) 41617a3babSopenharmony_ci0:? 'a2' ( global unsized 2-element array of highp int) 42617a3babSopenharmony_ci0:? 'b' ( global 5-element array of highp int) 43617a3babSopenharmony_ci0:? 'c' ( global unsized 4-element array of highp int) 44617a3babSopenharmony_ci0:? 'i' ( global highp int) 45617a3babSopenharmony_ci0:? 'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430) buffer unsized 1-element array of highp float r}) 46617a3babSopenharmony_ci0:? 'anon@1' (layout( binding=1 column_major std430) buffer block{layout( column_major std430) buffer unsized 1-element array of highp float m}) 47617a3babSopenharmony_ci 48617a3babSopenharmony_cilink2.vk.frag 49617a3babSopenharmony_ciShader version: 450 50617a3babSopenharmony_cigl_FragCoord origin is upper left 51617a3babSopenharmony_ci0:? Sequence 52617a3babSopenharmony_ci0:14 Function Definition: getColor( ( global highp 4-component vector of float) 53617a3babSopenharmony_ci0:14 Function Parameters: 54617a3babSopenharmony_ci0:16 Sequence 55617a3babSopenharmony_ci0:16 move second child to first child ( temp highp int) 56617a3babSopenharmony_ci0:16 direct index ( temp highp int) 57617a3babSopenharmony_ci0:16 'a1' ( global unsized 3-element array of highp int) 58617a3babSopenharmony_ci0:16 Constant: 59617a3babSopenharmony_ci0:16 2 (const int) 60617a3babSopenharmony_ci0:16 Constant: 61617a3babSopenharmony_ci0:16 1 (const int) 62617a3babSopenharmony_ci0:17 move second child to first child ( temp highp int) 63617a3babSopenharmony_ci0:17 direct index ( temp highp int) 64617a3babSopenharmony_ci0:17 'a2' ( global unsized 10-element array of highp int) 65617a3babSopenharmony_ci0:17 Constant: 66617a3babSopenharmony_ci0:17 9 (const int) 67617a3babSopenharmony_ci0:17 Constant: 68617a3babSopenharmony_ci0:17 1 (const int) 69617a3babSopenharmony_ci0:18 move second child to first child ( temp highp int) 70617a3babSopenharmony_ci0:18 direct index ( temp highp int) 71617a3babSopenharmony_ci0:18 'b' ( global unsized 3-element array of highp int) 72617a3babSopenharmony_ci0:18 Constant: 73617a3babSopenharmony_ci0:18 2 (const int) 74617a3babSopenharmony_ci0:18 Constant: 75617a3babSopenharmony_ci0:18 1 (const int) 76617a3babSopenharmony_ci0:19 move second child to first child ( temp highp int) 77617a3babSopenharmony_ci0:19 direct index ( temp highp int) 78617a3babSopenharmony_ci0:19 'c' ( global 7-element array of highp int) 79617a3babSopenharmony_ci0:19 Constant: 80617a3babSopenharmony_ci0:19 3 (const int) 81617a3babSopenharmony_ci0:19 Constant: 82617a3babSopenharmony_ci0:19 1 (const int) 83617a3babSopenharmony_ci0:20 move second child to first child ( temp highp int) 84617a3babSopenharmony_ci0:20 indirect index ( temp highp int) 85617a3babSopenharmony_ci0:20 'c' ( global 7-element array of highp int) 86617a3babSopenharmony_ci0:20 'i' ( global highp int) 87617a3babSopenharmony_ci0:20 Constant: 88617a3babSopenharmony_ci0:20 1 (const int) 89617a3babSopenharmony_ci0:22 Branch: Return with expression 90617a3babSopenharmony_ci0:22 texture ( global highp 4-component vector of float) 91617a3babSopenharmony_ci0:22 's2D' (layout( binding=1) uniform highp sampler2D) 92617a3babSopenharmony_ci0:22 Constant: 93617a3babSopenharmony_ci0:22 0.500000 94617a3babSopenharmony_ci0:22 0.500000 95617a3babSopenharmony_ci0:? Linker Objects 96617a3babSopenharmony_ci0:? 's2D' (layout( binding=1) uniform highp sampler2D) 97617a3babSopenharmony_ci0:? 'a1' ( global unsized 3-element array of highp int) 98617a3babSopenharmony_ci0:? 'a2' ( global unsized 10-element array of highp int) 99617a3babSopenharmony_ci0:? 'b' ( global unsized 3-element array of highp int) 100617a3babSopenharmony_ci0:? 'c' ( global 7-element array of highp int) 101617a3babSopenharmony_ci0:? 'i' ( global highp int) 102617a3babSopenharmony_ci0:? 'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430) buffer unsized 1-element array of highp float r}) 103617a3babSopenharmony_ci0:? 'anon@1' (layout( binding=1 column_major std430) buffer block{layout( column_major std430) buffer 4-element array of highp float m}) 104617a3babSopenharmony_ci 105617a3babSopenharmony_ci 106617a3babSopenharmony_ciLinked fragment stage: 107617a3babSopenharmony_ci 108617a3babSopenharmony_ci 109617a3babSopenharmony_ciShader version: 450 110617a3babSopenharmony_cigl_FragCoord origin is upper left 111617a3babSopenharmony_ci0:? Sequence 112617a3babSopenharmony_ci0:16 Function Definition: main( ( global void) 113617a3babSopenharmony_ci0:16 Function Parameters: 114617a3babSopenharmony_ci0:18 Sequence 115617a3babSopenharmony_ci0:18 move second child to first child ( temp highp 4-component vector of float) 116617a3babSopenharmony_ci0:18 'color' (layout( location=0) out highp 4-component vector of float) 117617a3babSopenharmony_ci0:18 Function Call: getColor( ( global highp 4-component vector of float) 118617a3babSopenharmony_ci0:20 move second child to first child ( temp highp int) 119617a3babSopenharmony_ci0:20 direct index ( temp highp int) 120617a3babSopenharmony_ci0:20 'a1' ( global 9-element array of highp int) 121617a3babSopenharmony_ci0:20 Constant: 122617a3babSopenharmony_ci0:20 8 (const int) 123617a3babSopenharmony_ci0:20 Constant: 124617a3babSopenharmony_ci0:20 1 (const int) 125617a3babSopenharmony_ci0:21 move second child to first child ( temp highp int) 126617a3babSopenharmony_ci0:21 direct index ( temp highp int) 127617a3babSopenharmony_ci0:21 'a2' ( global 10-element array of highp int) 128617a3babSopenharmony_ci0:21 Constant: 129617a3babSopenharmony_ci0:21 1 (const int) 130617a3babSopenharmony_ci0:21 Constant: 131617a3babSopenharmony_ci0:21 1 (const int) 132617a3babSopenharmony_ci0:22 move second child to first child ( temp highp int) 133617a3babSopenharmony_ci0:22 indirect index ( temp highp int) 134617a3babSopenharmony_ci0:22 'b' ( global 5-element array of highp int) 135617a3babSopenharmony_ci0:22 'i' ( global highp int) 136617a3babSopenharmony_ci0:22 Constant: 137617a3babSopenharmony_ci0:22 1 (const int) 138617a3babSopenharmony_ci0:23 move second child to first child ( temp highp int) 139617a3babSopenharmony_ci0:23 direct index ( temp highp int) 140617a3babSopenharmony_ci0:23 'c' ( global 7-element array of highp int) 141617a3babSopenharmony_ci0:23 Constant: 142617a3babSopenharmony_ci0:23 3 (const int) 143617a3babSopenharmony_ci0:23 Constant: 144617a3babSopenharmony_ci0:23 1 (const int) 145617a3babSopenharmony_ci0:14 Function Definition: getColor( ( global highp 4-component vector of float) 146617a3babSopenharmony_ci0:14 Function Parameters: 147617a3babSopenharmony_ci0:16 Sequence 148617a3babSopenharmony_ci0:16 move second child to first child ( temp highp int) 149617a3babSopenharmony_ci0:16 direct index ( temp highp int) 150617a3babSopenharmony_ci0:16 'a1' ( global 3-element array of highp int) 151617a3babSopenharmony_ci0:16 Constant: 152617a3babSopenharmony_ci0:16 2 (const int) 153617a3babSopenharmony_ci0:16 Constant: 154617a3babSopenharmony_ci0:16 1 (const int) 155617a3babSopenharmony_ci0:17 move second child to first child ( temp highp int) 156617a3babSopenharmony_ci0:17 direct index ( temp highp int) 157617a3babSopenharmony_ci0:17 'a2' ( global 10-element array of highp int) 158617a3babSopenharmony_ci0:17 Constant: 159617a3babSopenharmony_ci0:17 9 (const int) 160617a3babSopenharmony_ci0:17 Constant: 161617a3babSopenharmony_ci0:17 1 (const int) 162617a3babSopenharmony_ci0:18 move second child to first child ( temp highp int) 163617a3babSopenharmony_ci0:18 direct index ( temp highp int) 164617a3babSopenharmony_ci0:18 'b' ( global 3-element array of highp int) 165617a3babSopenharmony_ci0:18 Constant: 166617a3babSopenharmony_ci0:18 2 (const int) 167617a3babSopenharmony_ci0:18 Constant: 168617a3babSopenharmony_ci0:18 1 (const int) 169617a3babSopenharmony_ci0:19 move second child to first child ( temp highp int) 170617a3babSopenharmony_ci0:19 direct index ( temp highp int) 171617a3babSopenharmony_ci0:19 'c' ( global 7-element array of highp int) 172617a3babSopenharmony_ci0:19 Constant: 173617a3babSopenharmony_ci0:19 3 (const int) 174617a3babSopenharmony_ci0:19 Constant: 175617a3babSopenharmony_ci0:19 1 (const int) 176617a3babSopenharmony_ci0:20 move second child to first child ( temp highp int) 177617a3babSopenharmony_ci0:20 indirect index ( temp highp int) 178617a3babSopenharmony_ci0:20 'c' ( global 7-element array of highp int) 179617a3babSopenharmony_ci0:20 'i' ( global highp int) 180617a3babSopenharmony_ci0:20 Constant: 181617a3babSopenharmony_ci0:20 1 (const int) 182617a3babSopenharmony_ci0:22 Branch: Return with expression 183617a3babSopenharmony_ci0:22 texture ( global highp 4-component vector of float) 184617a3babSopenharmony_ci0:22 's2D' (layout( binding=1) uniform highp sampler2D) 185617a3babSopenharmony_ci0:22 Constant: 186617a3babSopenharmony_ci0:22 0.500000 187617a3babSopenharmony_ci0:22 0.500000 188617a3babSopenharmony_ci0:? Linker Objects 189617a3babSopenharmony_ci0:? 'color' (layout( location=0) out highp 4-component vector of float) 190617a3babSopenharmony_ci0:? 'a1' ( global 9-element array of highp int) 191617a3babSopenharmony_ci0:? 'a2' ( global 10-element array of highp int) 192617a3babSopenharmony_ci0:? 'b' ( global 5-element array of highp int) 193617a3babSopenharmony_ci0:? 'c' ( global 7-element array of highp int) 194617a3babSopenharmony_ci0:? 'i' ( global highp int) 195617a3babSopenharmony_ci0:? 'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430) buffer unsized 1-element array of highp float r}) 196617a3babSopenharmony_ci0:? 'anon@1' (layout( binding=1 column_major std430) buffer block{layout( column_major std430) buffer 4-element array of highp float m}) 197617a3babSopenharmony_ci0:? 's2D' (layout( binding=1) uniform highp sampler2D) 198617a3babSopenharmony_ci 199617a3babSopenharmony_ci// Module Version 10000 200617a3babSopenharmony_ci// Generated by (magic number): 8000b 201617a3babSopenharmony_ci// Id's are bound by 70 202617a3babSopenharmony_ci 203617a3babSopenharmony_ci Capability Shader 204617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 205617a3babSopenharmony_ci MemoryModel Logical GLSL450 206617a3babSopenharmony_ci EntryPoint Fragment 4 "main" 12 207617a3babSopenharmony_ci ExecutionMode 4 OriginUpperLeft 208617a3babSopenharmony_ci Source GLSL 450 209617a3babSopenharmony_ci Name 4 "main" 210617a3babSopenharmony_ci Name 9 "getColor(" 211617a3babSopenharmony_ci Name 12 "color" 212617a3babSopenharmony_ci Name 19 "a1" 213617a3babSopenharmony_ci Name 27 "a2" 214617a3babSopenharmony_ci Name 32 "b" 215617a3babSopenharmony_ci Name 33 "i" 216617a3babSopenharmony_ci Name 39 "c" 217617a3babSopenharmony_ci Name 53 "s2D" 218617a3babSopenharmony_ci Name 62 "bnameRuntime" 219617a3babSopenharmony_ci MemberName 62(bnameRuntime) 0 "r" 220617a3babSopenharmony_ci Name 64 "" 221617a3babSopenharmony_ci Name 67 "bnameImplicit" 222617a3babSopenharmony_ci MemberName 67(bnameImplicit) 0 "m" 223617a3babSopenharmony_ci Name 69 "" 224617a3babSopenharmony_ci Decorate 12(color) Location 0 225617a3babSopenharmony_ci Decorate 53(s2D) DescriptorSet 0 226617a3babSopenharmony_ci Decorate 53(s2D) Binding 1 227617a3babSopenharmony_ci Decorate 61 ArrayStride 4 228617a3babSopenharmony_ci MemberDecorate 62(bnameRuntime) 0 Offset 0 229617a3babSopenharmony_ci Decorate 62(bnameRuntime) BufferBlock 230617a3babSopenharmony_ci Decorate 64 DescriptorSet 0 231617a3babSopenharmony_ci Decorate 64 Binding 0 232617a3babSopenharmony_ci Decorate 66 ArrayStride 4 233617a3babSopenharmony_ci MemberDecorate 67(bnameImplicit) 0 Offset 0 234617a3babSopenharmony_ci Decorate 67(bnameImplicit) BufferBlock 235617a3babSopenharmony_ci Decorate 69 DescriptorSet 0 236617a3babSopenharmony_ci Decorate 69 Binding 1 237617a3babSopenharmony_ci 2: TypeVoid 238617a3babSopenharmony_ci 3: TypeFunction 2 239617a3babSopenharmony_ci 6: TypeFloat 32 240617a3babSopenharmony_ci 7: TypeVector 6(float) 4 241617a3babSopenharmony_ci 8: TypeFunction 7(fvec4) 242617a3babSopenharmony_ci 11: TypePointer Output 7(fvec4) 243617a3babSopenharmony_ci 12(color): 11(ptr) Variable Output 244617a3babSopenharmony_ci 14: TypeInt 32 1 245617a3babSopenharmony_ci 15: TypeInt 32 0 246617a3babSopenharmony_ci 16: 15(int) Constant 9 247617a3babSopenharmony_ci 17: TypeArray 14(int) 16 248617a3babSopenharmony_ci 18: TypePointer Private 17 249617a3babSopenharmony_ci 19(a1): 18(ptr) Variable Private 250617a3babSopenharmony_ci 20: 14(int) Constant 8 251617a3babSopenharmony_ci 21: 14(int) Constant 1 252617a3babSopenharmony_ci 22: TypePointer Private 14(int) 253617a3babSopenharmony_ci 24: 15(int) Constant 10 254617a3babSopenharmony_ci 25: TypeArray 14(int) 24 255617a3babSopenharmony_ci 26: TypePointer Private 25 256617a3babSopenharmony_ci 27(a2): 26(ptr) Variable Private 257617a3babSopenharmony_ci 29: 15(int) Constant 5 258617a3babSopenharmony_ci 30: TypeArray 14(int) 29 259617a3babSopenharmony_ci 31: TypePointer Private 30 260617a3babSopenharmony_ci 32(b): 31(ptr) Variable Private 261617a3babSopenharmony_ci 33(i): 22(ptr) Variable Private 262617a3babSopenharmony_ci 36: 15(int) Constant 7 263617a3babSopenharmony_ci 37: TypeArray 14(int) 36 264617a3babSopenharmony_ci 38: TypePointer Private 37 265617a3babSopenharmony_ci 39(c): 38(ptr) Variable Private 266617a3babSopenharmony_ci 40: 14(int) Constant 3 267617a3babSopenharmony_ci 42: 14(int) Constant 2 268617a3babSopenharmony_ci 44: 14(int) Constant 9 269617a3babSopenharmony_ci 50: TypeImage 6(float) 2D sampled format:Unknown 270617a3babSopenharmony_ci 51: TypeSampledImage 50 271617a3babSopenharmony_ci 52: TypePointer UniformConstant 51 272617a3babSopenharmony_ci 53(s2D): 52(ptr) Variable UniformConstant 273617a3babSopenharmony_ci 55: TypeVector 6(float) 2 274617a3babSopenharmony_ci 56: 6(float) Constant 1056964608 275617a3babSopenharmony_ci 57: 55(fvec2) ConstantComposite 56 56 276617a3babSopenharmony_ci 61: TypeRuntimeArray 6(float) 277617a3babSopenharmony_ci62(bnameRuntime): TypeStruct 61 278617a3babSopenharmony_ci 63: TypePointer Uniform 62(bnameRuntime) 279617a3babSopenharmony_ci 64: 63(ptr) Variable Uniform 280617a3babSopenharmony_ci 65: 15(int) Constant 4 281617a3babSopenharmony_ci 66: TypeArray 6(float) 65 282617a3babSopenharmony_ci67(bnameImplicit): TypeStruct 66 283617a3babSopenharmony_ci 68: TypePointer Uniform 67(bnameImplicit) 284617a3babSopenharmony_ci 69: 68(ptr) Variable Uniform 285617a3babSopenharmony_ci 4(main): 2 Function None 3 286617a3babSopenharmony_ci 5: Label 287617a3babSopenharmony_ci 13: 7(fvec4) FunctionCall 9(getColor() 288617a3babSopenharmony_ci Store 12(color) 13 289617a3babSopenharmony_ci 23: 22(ptr) AccessChain 19(a1) 20 290617a3babSopenharmony_ci Store 23 21 291617a3babSopenharmony_ci 28: 22(ptr) AccessChain 27(a2) 21 292617a3babSopenharmony_ci Store 28 21 293617a3babSopenharmony_ci 34: 14(int) Load 33(i) 294617a3babSopenharmony_ci 35: 22(ptr) AccessChain 32(b) 34 295617a3babSopenharmony_ci Store 35 21 296617a3babSopenharmony_ci 41: 22(ptr) AccessChain 39(c) 40 297617a3babSopenharmony_ci Store 41 21 298617a3babSopenharmony_ci Return 299617a3babSopenharmony_ci FunctionEnd 300617a3babSopenharmony_ci 9(getColor(): 7(fvec4) Function None 8 301617a3babSopenharmony_ci 10: Label 302617a3babSopenharmony_ci 43: 22(ptr) AccessChain 19(a1) 42 303617a3babSopenharmony_ci Store 43 21 304617a3babSopenharmony_ci 45: 22(ptr) AccessChain 27(a2) 44 305617a3babSopenharmony_ci Store 45 21 306617a3babSopenharmony_ci 46: 22(ptr) AccessChain 32(b) 42 307617a3babSopenharmony_ci Store 46 21 308617a3babSopenharmony_ci 47: 22(ptr) AccessChain 39(c) 40 309617a3babSopenharmony_ci Store 47 21 310617a3babSopenharmony_ci 48: 14(int) Load 33(i) 311617a3babSopenharmony_ci 49: 22(ptr) AccessChain 39(c) 48 312617a3babSopenharmony_ci Store 49 21 313617a3babSopenharmony_ci 54: 51 Load 53(s2D) 314617a3babSopenharmony_ci 58: 7(fvec4) ImageSampleImplicitLod 54 57 315617a3babSopenharmony_ci ReturnValue 58 316617a3babSopenharmony_ci FunctionEnd 317