1 hlsl.y-negate-1.vert 2 Shader version: 500 3 0:? Sequence 4 0:7 Function Definition: @main( ( temp 4-component vector of float) 5 0:7 Function Parameters: 6 0:? Sequence 7 0:8 Branch: Return with expression 8 0:8 pos: direct index for structure ( uniform 4-component vector of float) 9 0:8 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 10 0:8 Constant: 11 0:8 0 (const uint) 12 0:7 Function Definition: main( ( temp void) 13 0:7 Function Parameters: 14 0:? Sequence 15 0:7 Sequence 16 0:7 move second child to first child ( temp 4-component vector of float) 17 0:7 '@position' ( temp 4-component vector of float) 18 0:7 Function Call: @main( ( temp 4-component vector of float) 19 0:7 move second child to first child ( temp float) 20 0:7 direct index ( temp float) 21 0:7 '@position' ( temp 4-component vector of float) 22 0:7 Constant: 23 0:7 1 (const int) 24 0:7 Negate value ( temp float) 25 0:7 direct index ( temp float) 26 0:7 '@position' ( temp 4-component vector of float) 27 0:7 Constant: 28 0:7 1 (const int) 29 0:7 move second child to first child ( temp 4-component vector of float) 30 0:? '@entryPointOutput' ( out 4-component vector of float Position) 31 0:7 '@position' ( temp 4-component vector of float) 32 0:? Linker Objects 33 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 34 0:? '@entryPointOutput' ( out 4-component vector of float Position) 35 36 37 Linked vertex stage: 38 39 40 Shader version: 500 41 0:? Sequence 42 0:7 Function Definition: @main( ( temp 4-component vector of float) 43 0:7 Function Parameters: 44 0:? Sequence 45 0:8 Branch: Return with expression 46 0:8 pos: direct index for structure ( uniform 4-component vector of float) 47 0:8 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 48 0:8 Constant: 49 0:8 0 (const uint) 50 0:7 Function Definition: main( ( temp void) 51 0:7 Function Parameters: 52 0:? Sequence 53 0:7 Sequence 54 0:7 move second child to first child ( temp 4-component vector of float) 55 0:7 '@position' ( temp 4-component vector of float) 56 0:7 Function Call: @main( ( temp 4-component vector of float) 57 0:7 move second child to first child ( temp float) 58 0:7 direct index ( temp float) 59 0:7 '@position' ( temp 4-component vector of float) 60 0:7 Constant: 61 0:7 1 (const int) 62 0:7 Negate value ( temp float) 63 0:7 direct index ( temp float) 64 0:7 '@position' ( temp 4-component vector of float) 65 0:7 Constant: 66 0:7 1 (const int) 67 0:7 move second child to first child ( temp 4-component vector of float) 68 0:? '@entryPointOutput' ( out 4-component vector of float Position) 69 0:7 '@position' ( temp 4-component vector of float) 70 0:? Linker Objects 71 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) 72 0:? '@entryPointOutput' ( out 4-component vector of float Position) 73 74 // Module Version 10000 75 // Generated by (magic number): 80007 76 // Id's are bound by 34 77 78 Capability Shader 79 1: ExtInstImport "GLSL.std.450" 80 MemoryModel Logical GLSL450 81 EntryPoint Vertex 4 "main" 32 82 Source HLSL 500 83 Name 4 "main" 84 Name 9 "@main(" 85 Name 11 "$Global" 86 MemberName 11($Global) 0 "pos" 87 Name 13 "" 88 Name 22 "@position" 89 Name 32 "@entryPointOutput" 90 MemberDecorate 11($Global) 0 Offset 0 91 Decorate 11($Global) Block 92 Decorate 13 DescriptorSet 0 93 Decorate 13 Binding 0 94 Decorate 32(@entryPointOutput) BuiltIn Position 95 2: TypeVoid 96 3: TypeFunction 2 97 6: TypeFloat 32 98 7: TypeVector 6(float) 4 99 8: TypeFunction 7(fvec4) 100 11($Global): TypeStruct 7(fvec4) 101 12: TypePointer Uniform 11($Global) 102 13: 12(ptr) Variable Uniform 103 14: TypeInt 32 1 104 15: 14(int) Constant 0 105 16: TypePointer Uniform 7(fvec4) 106 21: TypePointer Function 7(fvec4) 107 24: TypeInt 32 0 108 25: 24(int) Constant 1 109 26: TypePointer Function 6(float) 110 31: TypePointer Output 7(fvec4) 111 32(@entryPointOutput): 31(ptr) Variable Output 112 4(main): 2 Function None 3 113 5: Label 114 22(@position): 21(ptr) Variable Function 115 23: 7(fvec4) FunctionCall 9(@main() 116 Store 22(@position) 23 117 27: 26(ptr) AccessChain 22(@position) 25 118 28: 6(float) Load 27 119 29: 6(float) FNegate 28 120 30: 26(ptr) AccessChain 22(@position) 25 121 Store 30 29 122 33: 7(fvec4) Load 22(@position) 123 Store 32(@entryPointOutput) 33 124 Return 125 FunctionEnd 126 9(@main(): 7(fvec4) Function None 8 127 10: Label 128 17: 16(ptr) AccessChain 13 15 129 18: 7(fvec4) Load 17 130 ReturnValue 18 131 FunctionEnd 132