1617a3babSopenharmony_cihlsl.specConstant.frag 2617a3babSopenharmony_ciShader version: 500 3617a3babSopenharmony_cigl_FragCoord origin is upper left 4617a3babSopenharmony_ci0:? Sequence 5617a3babSopenharmony_ci0:6 Function Definition: @main( ( temp 4-component vector of float) 6617a3babSopenharmony_ci0:6 Function Parameters: 7617a3babSopenharmony_ci0:? Sequence 8617a3babSopenharmony_ci0:8 Sequence 9617a3babSopenharmony_ci0:8 move second child to first child ( temp uint) 10617a3babSopenharmony_ci0:8 'i' ( temp uint) 11617a3babSopenharmony_ci0:8 Constant: 12617a3babSopenharmony_ci0:8 0 (const uint) 13617a3babSopenharmony_ci0:8 Loop with condition tested first 14617a3babSopenharmony_ci0:8 Loop Condition 15617a3babSopenharmony_ci0:8 Compare Less Than ( temp bool) 16617a3babSopenharmony_ci0:8 'i' ( temp uint) 17617a3babSopenharmony_ci0:8 indirect index ( const uint) 18617a3babSopenharmony_ci0:8 Constant: 19617a3babSopenharmony_ci0:8 10 (const uint) 20617a3babSopenharmony_ci0:8 20 (const uint) 21617a3babSopenharmony_ci0:8 30 (const uint) 22617a3babSopenharmony_ci0:8 40 (const uint) 23617a3babSopenharmony_ci0:8 'index' ( specialization-constant const uint) 24617a3babSopenharmony_ci0:8 2 (const uint) 25617a3babSopenharmony_ci0:8 Loop Body 26617a3babSopenharmony_ci0:9 move second child to first child ( temp 4-component vector of float) 27617a3babSopenharmony_ci0:9 'r' ( temp 4-component vector of float) 28617a3babSopenharmony_ci0:9 Construct vec4 ( temp 4-component vector of float) 29617a3babSopenharmony_ci0:9 Convert uint to float ( temp float) 30617a3babSopenharmony_ci0:9 'i' ( temp uint) 31617a3babSopenharmony_ci0:8 Loop Terminal Expression 32617a3babSopenharmony_ci0:8 Post-Increment ( temp uint) 33617a3babSopenharmony_ci0:8 'i' ( temp uint) 34617a3babSopenharmony_ci0:11 add second child into first child ( temp 4-component vector of float) 35617a3babSopenharmony_ci0:11 'r' ( temp 4-component vector of float) 36617a3babSopenharmony_ci0:11 Convert uint to float ( temp float) 37617a3babSopenharmony_ci0:11 add ( specialization-constant const uint) 38617a3babSopenharmony_ci0:11 'index' ( specialization-constant const uint) 39617a3babSopenharmony_ci0:11 2 (const uint) 40617a3babSopenharmony_ci0:11 'index' ( specialization-constant const uint) 41617a3babSopenharmony_ci0:11 2 (const uint) 42617a3babSopenharmony_ci0:12 add second child into first child ( temp 4-component vector of float) 43617a3babSopenharmony_ci0:12 'r' ( temp 4-component vector of float) 44617a3babSopenharmony_ci0:12 Convert uint to float ( temp float) 45617a3babSopenharmony_ci0:12 component-wise multiply ( specialization-constant const uint) 46617a3babSopenharmony_ci0:12 Constant: 47617a3babSopenharmony_ci0:12 2 (const uint) 48617a3babSopenharmony_ci0:12 'index' ( specialization-constant const uint) 49617a3babSopenharmony_ci0:12 2 (const uint) 50617a3babSopenharmony_ci0:14 Branch: Return with expression 51617a3babSopenharmony_ci0:14 'r' ( temp 4-component vector of float) 52617a3babSopenharmony_ci0:6 Function Definition: main( ( temp void) 53617a3babSopenharmony_ci0:6 Function Parameters: 54617a3babSopenharmony_ci0:? Sequence 55617a3babSopenharmony_ci0:6 move second child to first child ( temp 4-component vector of float) 56617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 57617a3babSopenharmony_ci0:6 Function Call: @main( ( temp 4-component vector of float) 58617a3babSopenharmony_ci0:? Linker Objects 59617a3babSopenharmony_ci0:? 'index' ( specialization-constant const uint) 60617a3babSopenharmony_ci0:? 2 (const uint) 61617a3babSopenharmony_ci0:? 'array' ( const 4-element array of uint) 62617a3babSopenharmony_ci0:? 10 (const uint) 63617a3babSopenharmony_ci0:? 20 (const uint) 64617a3babSopenharmony_ci0:? 30 (const uint) 65617a3babSopenharmony_ci0:? 40 (const uint) 66617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 67617a3babSopenharmony_ci 68617a3babSopenharmony_ci 69617a3babSopenharmony_ciLinked fragment stage: 70617a3babSopenharmony_ci 71617a3babSopenharmony_ci 72617a3babSopenharmony_ciShader version: 500 73617a3babSopenharmony_cigl_FragCoord origin is upper left 74617a3babSopenharmony_ci0:? Sequence 75617a3babSopenharmony_ci0:6 Function Definition: @main( ( temp 4-component vector of float) 76617a3babSopenharmony_ci0:6 Function Parameters: 77617a3babSopenharmony_ci0:? Sequence 78617a3babSopenharmony_ci0:8 Sequence 79617a3babSopenharmony_ci0:8 move second child to first child ( temp uint) 80617a3babSopenharmony_ci0:8 'i' ( temp uint) 81617a3babSopenharmony_ci0:8 Constant: 82617a3babSopenharmony_ci0:8 0 (const uint) 83617a3babSopenharmony_ci0:8 Loop with condition tested first 84617a3babSopenharmony_ci0:8 Loop Condition 85617a3babSopenharmony_ci0:8 Compare Less Than ( temp bool) 86617a3babSopenharmony_ci0:8 'i' ( temp uint) 87617a3babSopenharmony_ci0:8 indirect index ( const uint) 88617a3babSopenharmony_ci0:8 Constant: 89617a3babSopenharmony_ci0:8 10 (const uint) 90617a3babSopenharmony_ci0:8 20 (const uint) 91617a3babSopenharmony_ci0:8 30 (const uint) 92617a3babSopenharmony_ci0:8 40 (const uint) 93617a3babSopenharmony_ci0:8 'index' ( specialization-constant const uint) 94617a3babSopenharmony_ci0:8 2 (const uint) 95617a3babSopenharmony_ci0:8 Loop Body 96617a3babSopenharmony_ci0:9 move second child to first child ( temp 4-component vector of float) 97617a3babSopenharmony_ci0:9 'r' ( temp 4-component vector of float) 98617a3babSopenharmony_ci0:9 Construct vec4 ( temp 4-component vector of float) 99617a3babSopenharmony_ci0:9 Convert uint to float ( temp float) 100617a3babSopenharmony_ci0:9 'i' ( temp uint) 101617a3babSopenharmony_ci0:8 Loop Terminal Expression 102617a3babSopenharmony_ci0:8 Post-Increment ( temp uint) 103617a3babSopenharmony_ci0:8 'i' ( temp uint) 104617a3babSopenharmony_ci0:11 add second child into first child ( temp 4-component vector of float) 105617a3babSopenharmony_ci0:11 'r' ( temp 4-component vector of float) 106617a3babSopenharmony_ci0:11 Convert uint to float ( temp float) 107617a3babSopenharmony_ci0:11 add ( specialization-constant const uint) 108617a3babSopenharmony_ci0:11 'index' ( specialization-constant const uint) 109617a3babSopenharmony_ci0:11 2 (const uint) 110617a3babSopenharmony_ci0:11 'index' ( specialization-constant const uint) 111617a3babSopenharmony_ci0:11 2 (const uint) 112617a3babSopenharmony_ci0:12 add second child into first child ( temp 4-component vector of float) 113617a3babSopenharmony_ci0:12 'r' ( temp 4-component vector of float) 114617a3babSopenharmony_ci0:12 Convert uint to float ( temp float) 115617a3babSopenharmony_ci0:12 component-wise multiply ( specialization-constant const uint) 116617a3babSopenharmony_ci0:12 Constant: 117617a3babSopenharmony_ci0:12 2 (const uint) 118617a3babSopenharmony_ci0:12 'index' ( specialization-constant const uint) 119617a3babSopenharmony_ci0:12 2 (const uint) 120617a3babSopenharmony_ci0:14 Branch: Return with expression 121617a3babSopenharmony_ci0:14 'r' ( temp 4-component vector of float) 122617a3babSopenharmony_ci0:6 Function Definition: main( ( temp void) 123617a3babSopenharmony_ci0:6 Function Parameters: 124617a3babSopenharmony_ci0:? Sequence 125617a3babSopenharmony_ci0:6 move second child to first child ( temp 4-component vector of float) 126617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 127617a3babSopenharmony_ci0:6 Function Call: @main( ( temp 4-component vector of float) 128617a3babSopenharmony_ci0:? Linker Objects 129617a3babSopenharmony_ci0:? 'index' ( specialization-constant const uint) 130617a3babSopenharmony_ci0:? 2 (const uint) 131617a3babSopenharmony_ci0:? 'array' ( const 4-element array of uint) 132617a3babSopenharmony_ci0:? 10 (const uint) 133617a3babSopenharmony_ci0:? 20 (const uint) 134617a3babSopenharmony_ci0:? 30 (const uint) 135617a3babSopenharmony_ci0:? 40 (const uint) 136617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 137617a3babSopenharmony_ci 138617a3babSopenharmony_ci// Module Version 10000 139617a3babSopenharmony_ci// Generated by (magic number): 8000b 140617a3babSopenharmony_ci// Id's are bound by 61 141617a3babSopenharmony_ci 142617a3babSopenharmony_ci Capability Shader 143617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 144617a3babSopenharmony_ci MemoryModel Logical GLSL450 145617a3babSopenharmony_ci EntryPoint Fragment 4 "main" 59 146617a3babSopenharmony_ci ExecutionMode 4 OriginUpperLeft 147617a3babSopenharmony_ci Source HLSL 500 148617a3babSopenharmony_ci Name 4 "main" 149617a3babSopenharmony_ci Name 9 "@main(" 150617a3babSopenharmony_ci Name 13 "i" 151617a3babSopenharmony_ci Name 28 "index" 152617a3babSopenharmony_ci Name 30 "indexable" 153617a3babSopenharmony_ci Name 36 "r" 154617a3babSopenharmony_ci Name 59 "@entryPointOutput" 155617a3babSopenharmony_ci Decorate 28(index) SpecId 0 156617a3babSopenharmony_ci Decorate 59(@entryPointOutput) Location 0 157617a3babSopenharmony_ci 2: TypeVoid 158617a3babSopenharmony_ci 3: TypeFunction 2 159617a3babSopenharmony_ci 6: TypeFloat 32 160617a3babSopenharmony_ci 7: TypeVector 6(float) 4 161617a3babSopenharmony_ci 8: TypeFunction 7(fvec4) 162617a3babSopenharmony_ci 11: TypeInt 32 0 163617a3babSopenharmony_ci 12: TypePointer Function 11(int) 164617a3babSopenharmony_ci 14: 11(int) Constant 0 165617a3babSopenharmony_ci 21: 11(int) Constant 4 166617a3babSopenharmony_ci 22: TypeArray 11(int) 21 167617a3babSopenharmony_ci 23: 11(int) Constant 10 168617a3babSopenharmony_ci 24: 11(int) Constant 20 169617a3babSopenharmony_ci 25: 11(int) Constant 30 170617a3babSopenharmony_ci 26: 11(int) Constant 40 171617a3babSopenharmony_ci 27: 22 ConstantComposite 23 24 25 26 172617a3babSopenharmony_ci 28(index): 11(int) SpecConstant 2 173617a3babSopenharmony_ci 29: TypePointer Function 22 174617a3babSopenharmony_ci 33: TypeBool 175617a3babSopenharmony_ci 35: TypePointer Function 7(fvec4) 176617a3babSopenharmony_ci 41: TypeInt 32 1 177617a3babSopenharmony_ci 42: 41(int) Constant 1 178617a3babSopenharmony_ci 44: 11(int) SpecConstantOp 128 28(index) 28(index) 179617a3babSopenharmony_ci 49: 11(int) Constant 2 180617a3babSopenharmony_ci 50: 11(int) SpecConstantOp 132 49 28(index) 181617a3babSopenharmony_ci 58: TypePointer Output 7(fvec4) 182617a3babSopenharmony_ci59(@entryPointOutput): 58(ptr) Variable Output 183617a3babSopenharmony_ci 4(main): 2 Function None 3 184617a3babSopenharmony_ci 5: Label 185617a3babSopenharmony_ci 60: 7(fvec4) FunctionCall 9(@main() 186617a3babSopenharmony_ci Store 59(@entryPointOutput) 60 187617a3babSopenharmony_ci Return 188617a3babSopenharmony_ci FunctionEnd 189617a3babSopenharmony_ci 9(@main(): 7(fvec4) Function None 8 190617a3babSopenharmony_ci 10: Label 191617a3babSopenharmony_ci 13(i): 12(ptr) Variable Function 192617a3babSopenharmony_ci 30(indexable): 29(ptr) Variable Function 193617a3babSopenharmony_ci 36(r): 35(ptr) Variable Function 194617a3babSopenharmony_ci Store 13(i) 14 195617a3babSopenharmony_ci Branch 15 196617a3babSopenharmony_ci 15: Label 197617a3babSopenharmony_ci LoopMerge 17 18 None 198617a3babSopenharmony_ci Branch 19 199617a3babSopenharmony_ci 19: Label 200617a3babSopenharmony_ci 20: 11(int) Load 13(i) 201617a3babSopenharmony_ci Store 30(indexable) 27 202617a3babSopenharmony_ci 31: 12(ptr) AccessChain 30(indexable) 28(index) 203617a3babSopenharmony_ci 32: 11(int) Load 31 204617a3babSopenharmony_ci 34: 33(bool) ULessThan 20 32 205617a3babSopenharmony_ci BranchConditional 34 16 17 206617a3babSopenharmony_ci 16: Label 207617a3babSopenharmony_ci 37: 11(int) Load 13(i) 208617a3babSopenharmony_ci 38: 6(float) ConvertUToF 37 209617a3babSopenharmony_ci 39: 7(fvec4) CompositeConstruct 38 38 38 38 210617a3babSopenharmony_ci Store 36(r) 39 211617a3babSopenharmony_ci Branch 18 212617a3babSopenharmony_ci 18: Label 213617a3babSopenharmony_ci 40: 11(int) Load 13(i) 214617a3babSopenharmony_ci 43: 11(int) IAdd 40 42 215617a3babSopenharmony_ci Store 13(i) 43 216617a3babSopenharmony_ci Branch 15 217617a3babSopenharmony_ci 17: Label 218617a3babSopenharmony_ci 45: 6(float) ConvertUToF 44 219617a3babSopenharmony_ci 46: 7(fvec4) Load 36(r) 220617a3babSopenharmony_ci 47: 7(fvec4) CompositeConstruct 45 45 45 45 221617a3babSopenharmony_ci 48: 7(fvec4) FAdd 46 47 222617a3babSopenharmony_ci Store 36(r) 48 223617a3babSopenharmony_ci 51: 6(float) ConvertUToF 50 224617a3babSopenharmony_ci 52: 7(fvec4) Load 36(r) 225617a3babSopenharmony_ci 53: 7(fvec4) CompositeConstruct 51 51 51 51 226617a3babSopenharmony_ci 54: 7(fvec4) FAdd 52 53 227617a3babSopenharmony_ci Store 36(r) 54 228617a3babSopenharmony_ci 55: 7(fvec4) Load 36(r) 229617a3babSopenharmony_ci ReturnValue 55 230617a3babSopenharmony_ci FunctionEnd 231