1617a3babSopenharmony_cihlsl.boolConv.vert 2617a3babSopenharmony_ciShader version: 500 3617a3babSopenharmony_ci0:? Sequence 4617a3babSopenharmony_ci0:1 Sequence 5617a3babSopenharmony_ci0:1 move second child to first child ( temp bool) 6617a3babSopenharmony_ci0:1 'b' ( global bool) 7617a3babSopenharmony_ci0:1 Constant: 8617a3babSopenharmony_ci0:1 true (const bool) 9617a3babSopenharmony_ci0:3 Function Definition: @main( ( temp 4-component vector of float) 10617a3babSopenharmony_ci0:3 Function Parameters: 11617a3babSopenharmony_ci0:? Sequence 12617a3babSopenharmony_ci0:4 Sequence 13617a3babSopenharmony_ci0:4 move second child to first child ( temp int) 14617a3babSopenharmony_ci0:4 'r' ( temp int) 15617a3babSopenharmony_ci0:4 Constant: 16617a3babSopenharmony_ci0:4 0 (const int) 17617a3babSopenharmony_ci0:6 add second child into first child ( temp int) 18617a3babSopenharmony_ci0:6 'r' ( temp int) 19617a3babSopenharmony_ci0:6 add ( temp int) 20617a3babSopenharmony_ci0:6 Convert bool to int ( temp int) 21617a3babSopenharmony_ci0:6 'a' ( global bool) 22617a3babSopenharmony_ci0:6 Convert bool to int ( temp int) 23617a3babSopenharmony_ci0:6 'b' ( global bool) 24617a3babSopenharmony_ci0:7 add second child into first child ( temp int) 25617a3babSopenharmony_ci0:7 'r' ( temp int) 26617a3babSopenharmony_ci0:7 subtract ( temp int) 27617a3babSopenharmony_ci0:7 Convert bool to int ( temp int) 28617a3babSopenharmony_ci0:7 'a' ( global bool) 29617a3babSopenharmony_ci0:7 Convert bool to int ( temp int) 30617a3babSopenharmony_ci0:7 'b' ( global bool) 31617a3babSopenharmony_ci0:8 add second child into first child ( temp int) 32617a3babSopenharmony_ci0:8 'r' ( temp int) 33617a3babSopenharmony_ci0:8 component-wise multiply ( temp int) 34617a3babSopenharmony_ci0:8 Convert bool to int ( temp int) 35617a3babSopenharmony_ci0:8 'a' ( global bool) 36617a3babSopenharmony_ci0:8 Convert bool to int ( temp int) 37617a3babSopenharmony_ci0:8 'b' ( global bool) 38617a3babSopenharmony_ci0:9 add second child into first child ( temp int) 39617a3babSopenharmony_ci0:9 'r' ( temp int) 40617a3babSopenharmony_ci0:9 divide ( temp int) 41617a3babSopenharmony_ci0:9 Convert bool to int ( temp int) 42617a3babSopenharmony_ci0:9 'a' ( global bool) 43617a3babSopenharmony_ci0:9 Convert bool to int ( temp int) 44617a3babSopenharmony_ci0:9 'b' ( global bool) 45617a3babSopenharmony_ci0:10 add second child into first child ( temp int) 46617a3babSopenharmony_ci0:10 'r' ( temp int) 47617a3babSopenharmony_ci0:10 mod ( temp int) 48617a3babSopenharmony_ci0:10 Convert bool to int ( temp int) 49617a3babSopenharmony_ci0:10 'a' ( global bool) 50617a3babSopenharmony_ci0:10 Convert bool to int ( temp int) 51617a3babSopenharmony_ci0:10 'b' ( global bool) 52617a3babSopenharmony_ci0:12 add second child into first child ( temp int) 53617a3babSopenharmony_ci0:12 'r' ( temp int) 54617a3babSopenharmony_ci0:12 bitwise and ( temp int) 55617a3babSopenharmony_ci0:12 Convert bool to int ( temp int) 56617a3babSopenharmony_ci0:12 'a' ( global bool) 57617a3babSopenharmony_ci0:12 Convert bool to int ( temp int) 58617a3babSopenharmony_ci0:12 'b' ( global bool) 59617a3babSopenharmony_ci0:13 add second child into first child ( temp int) 60617a3babSopenharmony_ci0:13 'r' ( temp int) 61617a3babSopenharmony_ci0:13 inclusive-or ( temp int) 62617a3babSopenharmony_ci0:13 Convert bool to int ( temp int) 63617a3babSopenharmony_ci0:13 'a' ( global bool) 64617a3babSopenharmony_ci0:13 Convert bool to int ( temp int) 65617a3babSopenharmony_ci0:13 'b' ( global bool) 66617a3babSopenharmony_ci0:14 add second child into first child ( temp int) 67617a3babSopenharmony_ci0:14 'r' ( temp int) 68617a3babSopenharmony_ci0:14 exclusive-or ( temp int) 69617a3babSopenharmony_ci0:14 Convert bool to int ( temp int) 70617a3babSopenharmony_ci0:14 'a' ( global bool) 71617a3babSopenharmony_ci0:14 Convert bool to int ( temp int) 72617a3babSopenharmony_ci0:14 'b' ( global bool) 73617a3babSopenharmony_ci0:16 add second child into first child ( temp int) 74617a3babSopenharmony_ci0:16 'r' ( temp int) 75617a3babSopenharmony_ci0:16 left-shift ( temp int) 76617a3babSopenharmony_ci0:16 Convert bool to int ( temp int) 77617a3babSopenharmony_ci0:16 'a' ( global bool) 78617a3babSopenharmony_ci0:16 Convert bool to int ( temp int) 79617a3babSopenharmony_ci0:16 'b' ( global bool) 80617a3babSopenharmony_ci0:17 add second child into first child ( temp int) 81617a3babSopenharmony_ci0:17 'r' ( temp int) 82617a3babSopenharmony_ci0:17 right-shift ( temp int) 83617a3babSopenharmony_ci0:17 Convert bool to int ( temp int) 84617a3babSopenharmony_ci0:17 'a' ( global bool) 85617a3babSopenharmony_ci0:17 Convert bool to int ( temp int) 86617a3babSopenharmony_ci0:17 'b' ( global bool) 87617a3babSopenharmony_ci0:19 Branch: Return with expression 88617a3babSopenharmony_ci0:19 Construct vec4 ( temp 4-component vector of float) 89617a3babSopenharmony_ci0:19 Convert int to float ( temp float) 90617a3babSopenharmony_ci0:19 'r' ( temp int) 91617a3babSopenharmony_ci0:3 Function Definition: main( ( temp void) 92617a3babSopenharmony_ci0:3 Function Parameters: 93617a3babSopenharmony_ci0:? Sequence 94617a3babSopenharmony_ci0:3 move second child to first child ( temp 4-component vector of float) 95617a3babSopenharmony_ci0:? '@entryPointOutput' ( out 4-component vector of float Position) 96617a3babSopenharmony_ci0:3 Function Call: @main( ( temp 4-component vector of float) 97617a3babSopenharmony_ci0:? Linker Objects 98617a3babSopenharmony_ci0:? 'a' ( global bool) 99617a3babSopenharmony_ci0:? 'b' ( global bool) 100617a3babSopenharmony_ci0:? '@entryPointOutput' ( out 4-component vector of float Position) 101617a3babSopenharmony_ci 102617a3babSopenharmony_ci 103617a3babSopenharmony_ciLinked vertex stage: 104617a3babSopenharmony_ci 105617a3babSopenharmony_ci 106617a3babSopenharmony_ciShader version: 500 107617a3babSopenharmony_ci0:? Sequence 108617a3babSopenharmony_ci0:1 Sequence 109617a3babSopenharmony_ci0:1 move second child to first child ( temp bool) 110617a3babSopenharmony_ci0:1 'b' ( global bool) 111617a3babSopenharmony_ci0:1 Constant: 112617a3babSopenharmony_ci0:1 true (const bool) 113617a3babSopenharmony_ci0:3 Function Definition: @main( ( temp 4-component vector of float) 114617a3babSopenharmony_ci0:3 Function Parameters: 115617a3babSopenharmony_ci0:? Sequence 116617a3babSopenharmony_ci0:4 Sequence 117617a3babSopenharmony_ci0:4 move second child to first child ( temp int) 118617a3babSopenharmony_ci0:4 'r' ( temp int) 119617a3babSopenharmony_ci0:4 Constant: 120617a3babSopenharmony_ci0:4 0 (const int) 121617a3babSopenharmony_ci0:6 add second child into first child ( temp int) 122617a3babSopenharmony_ci0:6 'r' ( temp int) 123617a3babSopenharmony_ci0:6 add ( temp int) 124617a3babSopenharmony_ci0:6 Convert bool to int ( temp int) 125617a3babSopenharmony_ci0:6 'a' ( global bool) 126617a3babSopenharmony_ci0:6 Convert bool to int ( temp int) 127617a3babSopenharmony_ci0:6 'b' ( global bool) 128617a3babSopenharmony_ci0:7 add second child into first child ( temp int) 129617a3babSopenharmony_ci0:7 'r' ( temp int) 130617a3babSopenharmony_ci0:7 subtract ( temp int) 131617a3babSopenharmony_ci0:7 Convert bool to int ( temp int) 132617a3babSopenharmony_ci0:7 'a' ( global bool) 133617a3babSopenharmony_ci0:7 Convert bool to int ( temp int) 134617a3babSopenharmony_ci0:7 'b' ( global bool) 135617a3babSopenharmony_ci0:8 add second child into first child ( temp int) 136617a3babSopenharmony_ci0:8 'r' ( temp int) 137617a3babSopenharmony_ci0:8 component-wise multiply ( temp int) 138617a3babSopenharmony_ci0:8 Convert bool to int ( temp int) 139617a3babSopenharmony_ci0:8 'a' ( global bool) 140617a3babSopenharmony_ci0:8 Convert bool to int ( temp int) 141617a3babSopenharmony_ci0:8 'b' ( global bool) 142617a3babSopenharmony_ci0:9 add second child into first child ( temp int) 143617a3babSopenharmony_ci0:9 'r' ( temp int) 144617a3babSopenharmony_ci0:9 divide ( temp int) 145617a3babSopenharmony_ci0:9 Convert bool to int ( temp int) 146617a3babSopenharmony_ci0:9 'a' ( global bool) 147617a3babSopenharmony_ci0:9 Convert bool to int ( temp int) 148617a3babSopenharmony_ci0:9 'b' ( global bool) 149617a3babSopenharmony_ci0:10 add second child into first child ( temp int) 150617a3babSopenharmony_ci0:10 'r' ( temp int) 151617a3babSopenharmony_ci0:10 mod ( temp int) 152617a3babSopenharmony_ci0:10 Convert bool to int ( temp int) 153617a3babSopenharmony_ci0:10 'a' ( global bool) 154617a3babSopenharmony_ci0:10 Convert bool to int ( temp int) 155617a3babSopenharmony_ci0:10 'b' ( global bool) 156617a3babSopenharmony_ci0:12 add second child into first child ( temp int) 157617a3babSopenharmony_ci0:12 'r' ( temp int) 158617a3babSopenharmony_ci0:12 bitwise and ( temp int) 159617a3babSopenharmony_ci0:12 Convert bool to int ( temp int) 160617a3babSopenharmony_ci0:12 'a' ( global bool) 161617a3babSopenharmony_ci0:12 Convert bool to int ( temp int) 162617a3babSopenharmony_ci0:12 'b' ( global bool) 163617a3babSopenharmony_ci0:13 add second child into first child ( temp int) 164617a3babSopenharmony_ci0:13 'r' ( temp int) 165617a3babSopenharmony_ci0:13 inclusive-or ( temp int) 166617a3babSopenharmony_ci0:13 Convert bool to int ( temp int) 167617a3babSopenharmony_ci0:13 'a' ( global bool) 168617a3babSopenharmony_ci0:13 Convert bool to int ( temp int) 169617a3babSopenharmony_ci0:13 'b' ( global bool) 170617a3babSopenharmony_ci0:14 add second child into first child ( temp int) 171617a3babSopenharmony_ci0:14 'r' ( temp int) 172617a3babSopenharmony_ci0:14 exclusive-or ( temp int) 173617a3babSopenharmony_ci0:14 Convert bool to int ( temp int) 174617a3babSopenharmony_ci0:14 'a' ( global bool) 175617a3babSopenharmony_ci0:14 Convert bool to int ( temp int) 176617a3babSopenharmony_ci0:14 'b' ( global bool) 177617a3babSopenharmony_ci0:16 add second child into first child ( temp int) 178617a3babSopenharmony_ci0:16 'r' ( temp int) 179617a3babSopenharmony_ci0:16 left-shift ( temp int) 180617a3babSopenharmony_ci0:16 Convert bool to int ( temp int) 181617a3babSopenharmony_ci0:16 'a' ( global bool) 182617a3babSopenharmony_ci0:16 Convert bool to int ( temp int) 183617a3babSopenharmony_ci0:16 'b' ( global bool) 184617a3babSopenharmony_ci0:17 add second child into first child ( temp int) 185617a3babSopenharmony_ci0:17 'r' ( temp int) 186617a3babSopenharmony_ci0:17 right-shift ( temp int) 187617a3babSopenharmony_ci0:17 Convert bool to int ( temp int) 188617a3babSopenharmony_ci0:17 'a' ( global bool) 189617a3babSopenharmony_ci0:17 Convert bool to int ( temp int) 190617a3babSopenharmony_ci0:17 'b' ( global bool) 191617a3babSopenharmony_ci0:19 Branch: Return with expression 192617a3babSopenharmony_ci0:19 Construct vec4 ( temp 4-component vector of float) 193617a3babSopenharmony_ci0:19 Convert int to float ( temp float) 194617a3babSopenharmony_ci0:19 'r' ( temp int) 195617a3babSopenharmony_ci0:3 Function Definition: main( ( temp void) 196617a3babSopenharmony_ci0:3 Function Parameters: 197617a3babSopenharmony_ci0:? Sequence 198617a3babSopenharmony_ci0:3 move second child to first child ( temp 4-component vector of float) 199617a3babSopenharmony_ci0:? '@entryPointOutput' ( out 4-component vector of float Position) 200617a3babSopenharmony_ci0:3 Function Call: @main( ( temp 4-component vector of float) 201617a3babSopenharmony_ci0:? Linker Objects 202617a3babSopenharmony_ci0:? 'a' ( global bool) 203617a3babSopenharmony_ci0:? 'b' ( global bool) 204617a3babSopenharmony_ci0:? '@entryPointOutput' ( out 4-component vector of float Position) 205617a3babSopenharmony_ci 206617a3babSopenharmony_ci// Module Version 10000 207617a3babSopenharmony_ci// Generated by (magic number): 8000b 208617a3babSopenharmony_ci// Id's are bound by 99 209617a3babSopenharmony_ci 210617a3babSopenharmony_ci Capability Shader 211617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 212617a3babSopenharmony_ci MemoryModel Logical GLSL450 213617a3babSopenharmony_ci EntryPoint Vertex 4 "main" 97 214617a3babSopenharmony_ci Source HLSL 500 215617a3babSopenharmony_ci Name 4 "main" 216617a3babSopenharmony_ci Name 9 "@main(" 217617a3babSopenharmony_ci Name 13 "b" 218617a3babSopenharmony_ci Name 17 "r" 219617a3babSopenharmony_ci Name 19 "a" 220617a3babSopenharmony_ci Name 97 "@entryPointOutput" 221617a3babSopenharmony_ci Decorate 97(@entryPointOutput) BuiltIn Position 222617a3babSopenharmony_ci 2: TypeVoid 223617a3babSopenharmony_ci 3: TypeFunction 2 224617a3babSopenharmony_ci 6: TypeFloat 32 225617a3babSopenharmony_ci 7: TypeVector 6(float) 4 226617a3babSopenharmony_ci 8: TypeFunction 7(fvec4) 227617a3babSopenharmony_ci 11: TypeBool 228617a3babSopenharmony_ci 12: TypePointer Private 11(bool) 229617a3babSopenharmony_ci 13(b): 12(ptr) Variable Private 230617a3babSopenharmony_ci 14: 11(bool) ConstantTrue 231617a3babSopenharmony_ci 15: TypeInt 32 1 232617a3babSopenharmony_ci 16: TypePointer Function 15(int) 233617a3babSopenharmony_ci 18: 15(int) Constant 0 234617a3babSopenharmony_ci 19(a): 12(ptr) Variable Private 235617a3babSopenharmony_ci 21: 15(int) Constant 1 236617a3babSopenharmony_ci 96: TypePointer Output 7(fvec4) 237617a3babSopenharmony_ci97(@entryPointOutput): 96(ptr) Variable Output 238617a3babSopenharmony_ci 4(main): 2 Function None 3 239617a3babSopenharmony_ci 5: Label 240617a3babSopenharmony_ci Store 13(b) 14 241617a3babSopenharmony_ci 98: 7(fvec4) FunctionCall 9(@main() 242617a3babSopenharmony_ci Store 97(@entryPointOutput) 98 243617a3babSopenharmony_ci Return 244617a3babSopenharmony_ci FunctionEnd 245617a3babSopenharmony_ci 9(@main(): 7(fvec4) Function None 8 246617a3babSopenharmony_ci 10: Label 247617a3babSopenharmony_ci 17(r): 16(ptr) Variable Function 248617a3babSopenharmony_ci Store 17(r) 18 249617a3babSopenharmony_ci 20: 11(bool) Load 19(a) 250617a3babSopenharmony_ci 22: 15(int) Select 20 21 18 251617a3babSopenharmony_ci 23: 11(bool) Load 13(b) 252617a3babSopenharmony_ci 24: 15(int) Select 23 21 18 253617a3babSopenharmony_ci 25: 15(int) IAdd 22 24 254617a3babSopenharmony_ci 26: 15(int) Load 17(r) 255617a3babSopenharmony_ci 27: 15(int) IAdd 26 25 256617a3babSopenharmony_ci Store 17(r) 27 257617a3babSopenharmony_ci 28: 11(bool) Load 19(a) 258617a3babSopenharmony_ci 29: 15(int) Select 28 21 18 259617a3babSopenharmony_ci 30: 11(bool) Load 13(b) 260617a3babSopenharmony_ci 31: 15(int) Select 30 21 18 261617a3babSopenharmony_ci 32: 15(int) ISub 29 31 262617a3babSopenharmony_ci 33: 15(int) Load 17(r) 263617a3babSopenharmony_ci 34: 15(int) IAdd 33 32 264617a3babSopenharmony_ci Store 17(r) 34 265617a3babSopenharmony_ci 35: 11(bool) Load 19(a) 266617a3babSopenharmony_ci 36: 15(int) Select 35 21 18 267617a3babSopenharmony_ci 37: 11(bool) Load 13(b) 268617a3babSopenharmony_ci 38: 15(int) Select 37 21 18 269617a3babSopenharmony_ci 39: 15(int) IMul 36 38 270617a3babSopenharmony_ci 40: 15(int) Load 17(r) 271617a3babSopenharmony_ci 41: 15(int) IAdd 40 39 272617a3babSopenharmony_ci Store 17(r) 41 273617a3babSopenharmony_ci 42: 11(bool) Load 19(a) 274617a3babSopenharmony_ci 43: 15(int) Select 42 21 18 275617a3babSopenharmony_ci 44: 11(bool) Load 13(b) 276617a3babSopenharmony_ci 45: 15(int) Select 44 21 18 277617a3babSopenharmony_ci 46: 15(int) SDiv 43 45 278617a3babSopenharmony_ci 47: 15(int) Load 17(r) 279617a3babSopenharmony_ci 48: 15(int) IAdd 47 46 280617a3babSopenharmony_ci Store 17(r) 48 281617a3babSopenharmony_ci 49: 11(bool) Load 19(a) 282617a3babSopenharmony_ci 50: 15(int) Select 49 21 18 283617a3babSopenharmony_ci 51: 11(bool) Load 13(b) 284617a3babSopenharmony_ci 52: 15(int) Select 51 21 18 285617a3babSopenharmony_ci 53: 15(int) SMod 50 52 286617a3babSopenharmony_ci 54: 15(int) Load 17(r) 287617a3babSopenharmony_ci 55: 15(int) IAdd 54 53 288617a3babSopenharmony_ci Store 17(r) 55 289617a3babSopenharmony_ci 56: 11(bool) Load 19(a) 290617a3babSopenharmony_ci 57: 15(int) Select 56 21 18 291617a3babSopenharmony_ci 58: 11(bool) Load 13(b) 292617a3babSopenharmony_ci 59: 15(int) Select 58 21 18 293617a3babSopenharmony_ci 60: 15(int) BitwiseAnd 57 59 294617a3babSopenharmony_ci 61: 15(int) Load 17(r) 295617a3babSopenharmony_ci 62: 15(int) IAdd 61 60 296617a3babSopenharmony_ci Store 17(r) 62 297617a3babSopenharmony_ci 63: 11(bool) Load 19(a) 298617a3babSopenharmony_ci 64: 15(int) Select 63 21 18 299617a3babSopenharmony_ci 65: 11(bool) Load 13(b) 300617a3babSopenharmony_ci 66: 15(int) Select 65 21 18 301617a3babSopenharmony_ci 67: 15(int) BitwiseOr 64 66 302617a3babSopenharmony_ci 68: 15(int) Load 17(r) 303617a3babSopenharmony_ci 69: 15(int) IAdd 68 67 304617a3babSopenharmony_ci Store 17(r) 69 305617a3babSopenharmony_ci 70: 11(bool) Load 19(a) 306617a3babSopenharmony_ci 71: 15(int) Select 70 21 18 307617a3babSopenharmony_ci 72: 11(bool) Load 13(b) 308617a3babSopenharmony_ci 73: 15(int) Select 72 21 18 309617a3babSopenharmony_ci 74: 15(int) BitwiseXor 71 73 310617a3babSopenharmony_ci 75: 15(int) Load 17(r) 311617a3babSopenharmony_ci 76: 15(int) IAdd 75 74 312617a3babSopenharmony_ci Store 17(r) 76 313617a3babSopenharmony_ci 77: 11(bool) Load 19(a) 314617a3babSopenharmony_ci 78: 15(int) Select 77 21 18 315617a3babSopenharmony_ci 79: 11(bool) Load 13(b) 316617a3babSopenharmony_ci 80: 15(int) Select 79 21 18 317617a3babSopenharmony_ci 81: 15(int) ShiftLeftLogical 78 80 318617a3babSopenharmony_ci 82: 15(int) Load 17(r) 319617a3babSopenharmony_ci 83: 15(int) IAdd 82 81 320617a3babSopenharmony_ci Store 17(r) 83 321617a3babSopenharmony_ci 84: 11(bool) Load 19(a) 322617a3babSopenharmony_ci 85: 15(int) Select 84 21 18 323617a3babSopenharmony_ci 86: 11(bool) Load 13(b) 324617a3babSopenharmony_ci 87: 15(int) Select 86 21 18 325617a3babSopenharmony_ci 88: 15(int) ShiftRightArithmetic 85 87 326617a3babSopenharmony_ci 89: 15(int) Load 17(r) 327617a3babSopenharmony_ci 90: 15(int) IAdd 89 88 328617a3babSopenharmony_ci Store 17(r) 90 329617a3babSopenharmony_ci 91: 15(int) Load 17(r) 330617a3babSopenharmony_ci 92: 6(float) ConvertSToF 91 331617a3babSopenharmony_ci 93: 7(fvec4) CompositeConstruct 92 92 92 92 332617a3babSopenharmony_ci ReturnValue 93 333617a3babSopenharmony_ci FunctionEnd 334