LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 1 | hlsl.y-negate-2.vert |
| 2 | Shader version: 500 |
| 3 | 0:? Sequence |
| 4 | 0:6 Function Definition: @main(vf4; ( temp void) |
| 5 | 0:6 Function Parameters: |
| 6 | 0:6 'position' ( out 4-component vector of float) |
| 7 | 0:? Sequence |
| 8 | 0:7 move second child to first child ( temp 4-component vector of float) |
| 9 | 0:7 'position' ( out 4-component vector of float) |
| 10 | 0:7 pos: direct index for structure ( uniform 4-component vector of float) |
| 11 | 0:7 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) |
| 12 | 0:7 Constant: |
| 13 | 0:7 0 (const uint) |
| 14 | 0:6 Function Definition: main( ( temp void) |
| 15 | 0:6 Function Parameters: |
| 16 | 0:? Sequence |
| 17 | 0:6 Function Call: @main(vf4; ( temp void) |
| 18 | 0:? 'position' ( temp 4-component vector of float) |
| 19 | 0:6 Sequence |
| 20 | 0:6 move second child to first child ( temp 4-component vector of float) |
| 21 | 0:6 '@position' ( temp 4-component vector of float) |
| 22 | 0:? 'position' ( temp 4-component vector of float) |
| 23 | 0:6 move second child to first child ( temp float) |
| 24 | 0:6 direct index ( temp float) |
| 25 | 0:6 '@position' ( temp 4-component vector of float) |
| 26 | 0:6 Constant: |
| 27 | 0:6 1 (const int) |
| 28 | 0:6 Negate value ( temp float) |
| 29 | 0:6 direct index ( temp float) |
| 30 | 0:6 '@position' ( temp 4-component vector of float) |
| 31 | 0:6 Constant: |
| 32 | 0:6 1 (const int) |
| 33 | 0:6 move second child to first child ( temp 4-component vector of float) |
| 34 | 0:? 'position' ( out 4-component vector of float Position) |
| 35 | 0:6 '@position' ( temp 4-component vector of float) |
| 36 | 0:? Linker Objects |
| 37 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) |
| 38 | 0:? 'position' ( out 4-component vector of float Position) |
| 39 | |
| 40 | |
| 41 | Linked vertex stage: |
| 42 | |
| 43 | |
| 44 | Shader version: 500 |
| 45 | 0:? Sequence |
| 46 | 0:6 Function Definition: @main(vf4; ( temp void) |
| 47 | 0:6 Function Parameters: |
| 48 | 0:6 'position' ( out 4-component vector of float) |
| 49 | 0:? Sequence |
| 50 | 0:7 move second child to first child ( temp 4-component vector of float) |
| 51 | 0:7 'position' ( out 4-component vector of float) |
| 52 | 0:7 pos: direct index for structure ( uniform 4-component vector of float) |
| 53 | 0:7 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) |
| 54 | 0:7 Constant: |
| 55 | 0:7 0 (const uint) |
| 56 | 0:6 Function Definition: main( ( temp void) |
| 57 | 0:6 Function Parameters: |
| 58 | 0:? Sequence |
| 59 | 0:6 Function Call: @main(vf4; ( temp void) |
| 60 | 0:? 'position' ( temp 4-component vector of float) |
| 61 | 0:6 Sequence |
| 62 | 0:6 move second child to first child ( temp 4-component vector of float) |
| 63 | 0:6 '@position' ( temp 4-component vector of float) |
| 64 | 0:? 'position' ( temp 4-component vector of float) |
| 65 | 0:6 move second child to first child ( temp float) |
| 66 | 0:6 direct index ( temp float) |
| 67 | 0:6 '@position' ( temp 4-component vector of float) |
| 68 | 0:6 Constant: |
| 69 | 0:6 1 (const int) |
| 70 | 0:6 Negate value ( temp float) |
| 71 | 0:6 direct index ( temp float) |
| 72 | 0:6 '@position' ( temp 4-component vector of float) |
| 73 | 0:6 Constant: |
| 74 | 0:6 1 (const int) |
| 75 | 0:6 move second child to first child ( temp 4-component vector of float) |
| 76 | 0:? 'position' ( out 4-component vector of float Position) |
| 77 | 0:6 '@position' ( temp 4-component vector of float) |
| 78 | 0:? Linker Objects |
| 79 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float pos}) |
| 80 | 0:? 'position' ( out 4-component vector of float Position) |
| 81 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 82 | // Module Version 10000 |
John Kessenich | 71b5da6 | 2018-02-06 08:06:36 -0700 | [diff] [blame^] | 83 | // Generated by (magic number): 80004 |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 84 | // Id's are bound by 37 |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 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" |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 92 | Name 11 "@main(vf4;" |
| 93 | Name 10 "position" |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 94 | Name 13 "$Global" |
| 95 | MemberName 13($Global) 0 "pos" |
| 96 | Name 15 "" |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 97 | Name 21 "position" |
| 98 | Name 22 "param" |
| 99 | Name 25 "@position" |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 100 | Name 35 "position" |
| 101 | MemberDecorate 13($Global) 0 Offset 0 |
| 102 | Decorate 13($Global) Block |
| 103 | Decorate 15 DescriptorSet 0 |
| 104 | Decorate 35(position) BuiltIn Position |
| 105 | 2: TypeVoid |
| 106 | 3: TypeFunction 2 |
| 107 | 6: TypeFloat 32 |
| 108 | 7: TypeVector 6(float) 4 |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 109 | 8: TypePointer Function 7(fvec4) |
| 110 | 9: TypeFunction 2 8(ptr) |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 111 | 13($Global): TypeStruct 7(fvec4) |
| 112 | 14: TypePointer Uniform 13($Global) |
| 113 | 15: 14(ptr) Variable Uniform |
| 114 | 16: TypeInt 32 1 |
| 115 | 17: 16(int) Constant 0 |
| 116 | 18: TypePointer Uniform 7(fvec4) |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 117 | 27: TypeInt 32 0 |
| 118 | 28: 27(int) Constant 1 |
| 119 | 29: TypePointer Function 6(float) |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 120 | 34: TypePointer Output 7(fvec4) |
| 121 | 35(position): 34(ptr) Variable Output |
| 122 | 4(main): 2 Function None 3 |
| 123 | 5: Label |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 124 | 21(position): 8(ptr) Variable Function |
| 125 | 22(param): 8(ptr) Variable Function |
| 126 | 25(@position): 8(ptr) Variable Function |
| 127 | 23: 2 FunctionCall 11(@main(vf4;) 22(param) |
| 128 | 24: 7(fvec4) Load 22(param) |
| 129 | Store 21(position) 24 |
| 130 | 26: 7(fvec4) Load 21(position) |
| 131 | Store 25(@position) 26 |
| 132 | 30: 29(ptr) AccessChain 25(@position) 28 |
| 133 | 31: 6(float) Load 30 |
| 134 | 32: 6(float) FNegate 31 |
| 135 | 33: 29(ptr) AccessChain 25(@position) 28 |
| 136 | Store 33 32 |
| 137 | 36: 7(fvec4) Load 25(@position) |
| 138 | Store 35(position) 36 |
| 139 | Return |
| 140 | FunctionEnd |
| 141 | 11(@main(vf4;): 2 Function None 9 |
| 142 | 10(position): 8(ptr) FunctionParameter |
| 143 | 12: Label |
| 144 | 19: 18(ptr) AccessChain 15 17 |
| 145 | 20: 7(fvec4) Load 19 |
| 146 | Store 10(position) 20 |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 147 | Return |
| 148 | FunctionEnd |