1617a3babSopenharmony_cihlsl.y-negate-3.vert 2617a3babSopenharmony_ciShader version: 500 3617a3babSopenharmony_ci0:? Sequence 4617a3babSopenharmony_ci0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 5617a3babSopenharmony_ci0:11 Function Parameters: 6617a3babSopenharmony_ci0:? Sequence 7617a3babSopenharmony_ci0:14 move second child to first child ( temp 4-component vector of float) 8617a3babSopenharmony_ci0:14 pos: direct index for structure ( temp 4-component vector of float) 9617a3babSopenharmony_ci0:14 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 10617a3babSopenharmony_ci0:14 Constant: 11617a3babSopenharmony_ci0:14 0 (const int) 12617a3babSopenharmony_ci0:14 position: direct index for structure ( uniform 4-component vector of float) 13617a3babSopenharmony_ci0:14 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position}) 14617a3babSopenharmony_ci0:14 Constant: 15617a3babSopenharmony_ci0:14 0 (const uint) 16617a3babSopenharmony_ci0:15 move second child to first child ( temp int) 17617a3babSopenharmony_ci0:15 somethingelse: direct index for structure ( temp int) 18617a3babSopenharmony_ci0:15 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 19617a3babSopenharmony_ci0:15 Constant: 20617a3babSopenharmony_ci0:15 1 (const int) 21617a3babSopenharmony_ci0:15 Constant: 22617a3babSopenharmony_ci0:15 42 (const int) 23617a3babSopenharmony_ci0:17 Branch: Return with expression 24617a3babSopenharmony_ci0:17 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 25617a3babSopenharmony_ci0:11 Function Definition: main( ( temp void) 26617a3babSopenharmony_ci0:11 Function Parameters: 27617a3babSopenharmony_ci0:? Sequence 28617a3babSopenharmony_ci0:11 Sequence 29617a3babSopenharmony_ci0:11 move second child to first child ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 30617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 31617a3babSopenharmony_ci0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 32617a3babSopenharmony_ci0:11 Sequence 33617a3babSopenharmony_ci0:11 move second child to first child ( temp 4-component vector of float) 34617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 35617a3babSopenharmony_ci0:11 pos: direct index for structure ( temp 4-component vector of float) 36617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 37617a3babSopenharmony_ci0:11 Constant: 38617a3babSopenharmony_ci0:11 0 (const int) 39617a3babSopenharmony_ci0:11 move second child to first child ( temp float) 40617a3babSopenharmony_ci0:11 direct index ( temp float) 41617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 42617a3babSopenharmony_ci0:11 Constant: 43617a3babSopenharmony_ci0:11 1 (const int) 44617a3babSopenharmony_ci0:11 Negate value ( temp float) 45617a3babSopenharmony_ci0:11 direct index ( temp float) 46617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 47617a3babSopenharmony_ci0:11 Constant: 48617a3babSopenharmony_ci0:11 1 (const int) 49617a3babSopenharmony_ci0:11 move second child to first child ( temp 4-component vector of float) 50617a3babSopenharmony_ci0:? '@entryPointOutput.pos' ( out 4-component vector of float Position) 51617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 52617a3babSopenharmony_ci0:11 move second child to first child ( temp int) 53617a3babSopenharmony_ci0:? '@entryPointOutput.somethingelse' (layout( location=0) out int) 54617a3babSopenharmony_ci0:11 somethingelse: direct index for structure ( temp int) 55617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 56617a3babSopenharmony_ci0:11 Constant: 57617a3babSopenharmony_ci0:11 1 (const int) 58617a3babSopenharmony_ci0:? Linker Objects 59617a3babSopenharmony_ci0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position}) 60617a3babSopenharmony_ci0:? '@entryPointOutput.pos' ( out 4-component vector of float Position) 61617a3babSopenharmony_ci0:? '@entryPointOutput.somethingelse' (layout( location=0) out int) 62617a3babSopenharmony_ci 63617a3babSopenharmony_ci 64617a3babSopenharmony_ciLinked vertex stage: 65617a3babSopenharmony_ci 66617a3babSopenharmony_ci 67617a3babSopenharmony_ciShader version: 500 68617a3babSopenharmony_ci0:? Sequence 69617a3babSopenharmony_ci0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 70617a3babSopenharmony_ci0:11 Function Parameters: 71617a3babSopenharmony_ci0:? Sequence 72617a3babSopenharmony_ci0:14 move second child to first child ( temp 4-component vector of float) 73617a3babSopenharmony_ci0:14 pos: direct index for structure ( temp 4-component vector of float) 74617a3babSopenharmony_ci0:14 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 75617a3babSopenharmony_ci0:14 Constant: 76617a3babSopenharmony_ci0:14 0 (const int) 77617a3babSopenharmony_ci0:14 position: direct index for structure ( uniform 4-component vector of float) 78617a3babSopenharmony_ci0:14 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position}) 79617a3babSopenharmony_ci0:14 Constant: 80617a3babSopenharmony_ci0:14 0 (const uint) 81617a3babSopenharmony_ci0:15 move second child to first child ( temp int) 82617a3babSopenharmony_ci0:15 somethingelse: direct index for structure ( temp int) 83617a3babSopenharmony_ci0:15 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 84617a3babSopenharmony_ci0:15 Constant: 85617a3babSopenharmony_ci0:15 1 (const int) 86617a3babSopenharmony_ci0:15 Constant: 87617a3babSopenharmony_ci0:15 42 (const int) 88617a3babSopenharmony_ci0:17 Branch: Return with expression 89617a3babSopenharmony_ci0:17 'vsout' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 90617a3babSopenharmony_ci0:11 Function Definition: main( ( temp void) 91617a3babSopenharmony_ci0:11 Function Parameters: 92617a3babSopenharmony_ci0:? Sequence 93617a3babSopenharmony_ci0:11 Sequence 94617a3babSopenharmony_ci0:11 move second child to first child ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 95617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 96617a3babSopenharmony_ci0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 97617a3babSopenharmony_ci0:11 Sequence 98617a3babSopenharmony_ci0:11 move second child to first child ( temp 4-component vector of float) 99617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 100617a3babSopenharmony_ci0:11 pos: direct index for structure ( temp 4-component vector of float) 101617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 102617a3babSopenharmony_ci0:11 Constant: 103617a3babSopenharmony_ci0:11 0 (const int) 104617a3babSopenharmony_ci0:11 move second child to first child ( temp float) 105617a3babSopenharmony_ci0:11 direct index ( temp float) 106617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 107617a3babSopenharmony_ci0:11 Constant: 108617a3babSopenharmony_ci0:11 1 (const int) 109617a3babSopenharmony_ci0:11 Negate value ( temp float) 110617a3babSopenharmony_ci0:11 direct index ( temp float) 111617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 112617a3babSopenharmony_ci0:11 Constant: 113617a3babSopenharmony_ci0:11 1 (const int) 114617a3babSopenharmony_ci0:11 move second child to first child ( temp 4-component vector of float) 115617a3babSopenharmony_ci0:? '@entryPointOutput.pos' ( out 4-component vector of float Position) 116617a3babSopenharmony_ci0:11 '@position' ( temp 4-component vector of float) 117617a3babSopenharmony_ci0:11 move second child to first child ( temp int) 118617a3babSopenharmony_ci0:? '@entryPointOutput.somethingelse' (layout( location=0) out int) 119617a3babSopenharmony_ci0:11 somethingelse: direct index for structure ( temp int) 120617a3babSopenharmony_ci0:11 'flattenTemp' ( temp structure{ temp 4-component vector of float pos, temp int somethingelse}) 121617a3babSopenharmony_ci0:11 Constant: 122617a3babSopenharmony_ci0:11 1 (const int) 123617a3babSopenharmony_ci0:? Linker Objects 124617a3babSopenharmony_ci0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position}) 125617a3babSopenharmony_ci0:? '@entryPointOutput.pos' ( out 4-component vector of float Position) 126617a3babSopenharmony_ci0:? '@entryPointOutput.somethingelse' (layout( location=0) out int) 127617a3babSopenharmony_ci 128617a3babSopenharmony_ci// Module Version 10000 129617a3babSopenharmony_ci// Generated by (magic number): 8000b 130617a3babSopenharmony_ci// Id's are bound by 50 131617a3babSopenharmony_ci 132617a3babSopenharmony_ci Capability Shader 133617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 134617a3babSopenharmony_ci MemoryModel Logical GLSL450 135617a3babSopenharmony_ci EntryPoint Vertex 4 "main" 44 47 136617a3babSopenharmony_ci Source HLSL 500 137617a3babSopenharmony_ci Name 4 "main" 138617a3babSopenharmony_ci Name 9 "VS_OUT" 139617a3babSopenharmony_ci MemberName 9(VS_OUT) 0 "pos" 140617a3babSopenharmony_ci MemberName 9(VS_OUT) 1 "somethingelse" 141617a3babSopenharmony_ci Name 11 "@main(" 142617a3babSopenharmony_ci Name 14 "vsout" 143617a3babSopenharmony_ci Name 16 "$Global" 144617a3babSopenharmony_ci MemberName 16($Global) 0 "position" 145617a3babSopenharmony_ci Name 18 "" 146617a3babSopenharmony_ci Name 31 "flattenTemp" 147617a3babSopenharmony_ci Name 33 "@position" 148617a3babSopenharmony_ci Name 44 "@entryPointOutput.pos" 149617a3babSopenharmony_ci Name 47 "@entryPointOutput.somethingelse" 150617a3babSopenharmony_ci MemberDecorate 16($Global) 0 Offset 0 151617a3babSopenharmony_ci Decorate 16($Global) Block 152617a3babSopenharmony_ci Decorate 18 DescriptorSet 0 153617a3babSopenharmony_ci Decorate 18 Binding 0 154617a3babSopenharmony_ci Decorate 44(@entryPointOutput.pos) BuiltIn Position 155617a3babSopenharmony_ci Decorate 47(@entryPointOutput.somethingelse) Location 0 156617a3babSopenharmony_ci 2: TypeVoid 157617a3babSopenharmony_ci 3: TypeFunction 2 158617a3babSopenharmony_ci 6: TypeFloat 32 159617a3babSopenharmony_ci 7: TypeVector 6(float) 4 160617a3babSopenharmony_ci 8: TypeInt 32 1 161617a3babSopenharmony_ci 9(VS_OUT): TypeStruct 7(fvec4) 8(int) 162617a3babSopenharmony_ci 10: TypeFunction 9(VS_OUT) 163617a3babSopenharmony_ci 13: TypePointer Function 9(VS_OUT) 164617a3babSopenharmony_ci 15: 8(int) Constant 0 165617a3babSopenharmony_ci 16($Global): TypeStruct 7(fvec4) 166617a3babSopenharmony_ci 17: TypePointer Uniform 16($Global) 167617a3babSopenharmony_ci 18: 17(ptr) Variable Uniform 168617a3babSopenharmony_ci 19: TypePointer Uniform 7(fvec4) 169617a3babSopenharmony_ci 22: TypePointer Function 7(fvec4) 170617a3babSopenharmony_ci 24: 8(int) Constant 1 171617a3babSopenharmony_ci 25: 8(int) Constant 42 172617a3babSopenharmony_ci 26: TypePointer Function 8(int) 173617a3babSopenharmony_ci 36: TypeInt 32 0 174617a3babSopenharmony_ci 37: 36(int) Constant 1 175617a3babSopenharmony_ci 38: TypePointer Function 6(float) 176617a3babSopenharmony_ci 43: TypePointer Output 7(fvec4) 177617a3babSopenharmony_ci44(@entryPointOutput.pos): 43(ptr) Variable Output 178617a3babSopenharmony_ci 46: TypePointer Output 8(int) 179617a3babSopenharmony_ci47(@entryPointOutput.somethingelse): 46(ptr) Variable Output 180617a3babSopenharmony_ci 4(main): 2 Function None 3 181617a3babSopenharmony_ci 5: Label 182617a3babSopenharmony_ci 31(flattenTemp): 13(ptr) Variable Function 183617a3babSopenharmony_ci 33(@position): 22(ptr) Variable Function 184617a3babSopenharmony_ci 32: 9(VS_OUT) FunctionCall 11(@main() 185617a3babSopenharmony_ci Store 31(flattenTemp) 32 186617a3babSopenharmony_ci 34: 22(ptr) AccessChain 31(flattenTemp) 15 187617a3babSopenharmony_ci 35: 7(fvec4) Load 34 188617a3babSopenharmony_ci Store 33(@position) 35 189617a3babSopenharmony_ci 39: 38(ptr) AccessChain 33(@position) 37 190617a3babSopenharmony_ci 40: 6(float) Load 39 191617a3babSopenharmony_ci 41: 6(float) FNegate 40 192617a3babSopenharmony_ci 42: 38(ptr) AccessChain 33(@position) 37 193617a3babSopenharmony_ci Store 42 41 194617a3babSopenharmony_ci 45: 7(fvec4) Load 33(@position) 195617a3babSopenharmony_ci Store 44(@entryPointOutput.pos) 45 196617a3babSopenharmony_ci 48: 26(ptr) AccessChain 31(flattenTemp) 24 197617a3babSopenharmony_ci 49: 8(int) Load 48 198617a3babSopenharmony_ci Store 47(@entryPointOutput.somethingelse) 49 199617a3babSopenharmony_ci Return 200617a3babSopenharmony_ci FunctionEnd 201617a3babSopenharmony_ci 11(@main(): 9(VS_OUT) Function None 10 202617a3babSopenharmony_ci 12: Label 203617a3babSopenharmony_ci 14(vsout): 13(ptr) Variable Function 204617a3babSopenharmony_ci 20: 19(ptr) AccessChain 18 15 205617a3babSopenharmony_ci 21: 7(fvec4) Load 20 206617a3babSopenharmony_ci 23: 22(ptr) AccessChain 14(vsout) 15 207617a3babSopenharmony_ci Store 23 21 208617a3babSopenharmony_ci 27: 26(ptr) AccessChain 14(vsout) 24 209617a3babSopenharmony_ci Store 27 25 210617a3babSopenharmony_ci 28: 9(VS_OUT) Load 14(vsout) 211617a3babSopenharmony_ci ReturnValue 28 212617a3babSopenharmony_ci FunctionEnd 213