1hlsl.y-negate-2.vert 2Shader version: 500 30:? Sequence 40:6 Function Definition: @main(vf4; ( temp void) 50:6 Function Parameters: 60:6 'position' ( out 4-component vector of float) 70:? Sequence 80:7 move second child to first child ( temp 4-component vector of float) 90:7 'position' ( out 4-component vector of float) 100:7 pos: direct index for structure ( uniform 4-component vector of float) 110:7 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 120:7 Constant: 130:7 0 (const uint) 140:6 Function Definition: main( ( temp void) 150:6 Function Parameters: 160:? Sequence 170:6 Function Call: @main(vf4; ( temp void) 180:? 'position' ( temp 4-component vector of float) 190:6 Sequence 200:6 move second child to first child ( temp 4-component vector of float) 210:6 '@position' ( temp 4-component vector of float) 220:? 'position' ( temp 4-component vector of float) 230:6 move second child to first child ( temp float) 240:6 direct index ( temp float) 250:6 '@position' ( temp 4-component vector of float) 260:6 Constant: 270:6 1 (const int) 280:6 Negate value ( temp float) 290:6 direct index ( temp float) 300:6 '@position' ( temp 4-component vector of float) 310:6 Constant: 320:6 1 (const int) 330:6 move second child to first child ( temp 4-component vector of float) 340:? 'position' ( out 4-component vector of float Position) 350:6 '@position' ( temp 4-component vector of float) 360:? Linker Objects 370:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 380:? 'position' ( out 4-component vector of float Position) 39 40 41Linked vertex stage: 42 43 44Shader version: 500 450:? Sequence 460:6 Function Definition: @main(vf4; ( temp void) 470:6 Function Parameters: 480:6 'position' ( out 4-component vector of float) 490:? Sequence 500:7 move second child to first child ( temp 4-component vector of float) 510:7 'position' ( out 4-component vector of float) 520:7 pos: direct index for structure ( uniform 4-component vector of float) 530:7 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 540:7 Constant: 550:7 0 (const uint) 560:6 Function Definition: main( ( temp void) 570:6 Function Parameters: 580:? Sequence 590:6 Function Call: @main(vf4; ( temp void) 600:? 'position' ( temp 4-component vector of float) 610:6 Sequence 620:6 move second child to first child ( temp 4-component vector of float) 630:6 '@position' ( temp 4-component vector of float) 640:? 'position' ( temp 4-component vector of float) 650:6 move second child to first child ( temp float) 660:6 direct index ( temp float) 670:6 '@position' ( temp 4-component vector of float) 680:6 Constant: 690:6 1 (const int) 700:6 Negate value ( temp float) 710:6 direct index ( temp float) 720:6 '@position' ( temp 4-component vector of float) 730:6 Constant: 740:6 1 (const int) 750:6 move second child to first child ( temp 4-component vector of float) 760:? 'position' ( out 4-component vector of float Position) 770:6 '@position' ( temp 4-component vector of float) 780:? Linker Objects 790:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 800:? 'position' ( out 4-component vector of float Position) 81 82// Module Version 10000 83// Generated by (magic number): 8000a 84// Id's are bound by 37 85 86 Capability Shader 87 1: ExtInstImport "GLSL.std.450" 88 MemoryModel Logical GLSL450 89 EntryPoint Vertex 4 "main" 35 90 Source HLSL 500 91 Name 4 "main" 92 Name 11 "@main(vf4;" 93 Name 10 "position" 94 Name 13 "$Global" 95 MemberName 13($Global) 0 "pos" 96 Name 15 "" 97 Name 21 "position" 98 Name 22 "param" 99 Name 25 "@position" 100 Name 35 "position" 101 MemberDecorate 13($Global) 0 Offset 0 102 Decorate 13($Global) Block 103 Decorate 15 DescriptorSet 0 104 Decorate 15 Binding 0 105 Decorate 35(position) BuiltIn Position 106 2: TypeVoid 107 3: TypeFunction 2 108 6: TypeFloat 32 109 7: TypeVector 6(float) 4 110 8: TypePointer Function 7(fvec4) 111 9: TypeFunction 2 8(ptr) 112 13($Global): TypeStruct 7(fvec4) 113 14: TypePointer Uniform 13($Global) 114 15: 14(ptr) Variable Uniform 115 16: TypeInt 32 1 116 17: 16(int) Constant 0 117 18: TypePointer Uniform 7(fvec4) 118 27: TypeInt 32 0 119 28: 27(int) Constant 1 120 29: TypePointer Function 6(float) 121 34: TypePointer Output 7(fvec4) 122 35(position): 34(ptr) Variable Output 123 4(main): 2 Function None 3 124 5: Label 125 21(position): 8(ptr) Variable Function 126 22(param): 8(ptr) Variable Function 127 25(@position): 8(ptr) Variable Function 128 23: 2 FunctionCall 11(@main(vf4;) 22(param) 129 24: 7(fvec4) Load 22(param) 130 Store 21(position) 24 131 26: 7(fvec4) Load 21(position) 132 Store 25(@position) 26 133 30: 29(ptr) AccessChain 25(@position) 28 134 31: 6(float) Load 30 135 32: 6(float) FNegate 31 136 33: 29(ptr) AccessChain 25(@position) 28 137 Store 33 32 138 36: 7(fvec4) Load 25(@position) 139 Store 35(position) 36 140 Return 141 FunctionEnd 142 11(@main(vf4;): 2 Function None 9 143 10(position): 8(ptr) FunctionParameter 144 12: Label 145 19: 18(ptr) AccessChain 15 17 146 20: 7(fvec4) Load 19 147 Store 10(position) 20 148 Return 149 FunctionEnd 150