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