LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 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 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 74 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame] | 75 | // Generated by (magic number): 80007 |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 76 | // Id's are bound by 34 |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 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" |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 84 | Name 9 "@main(" |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 85 | Name 11 "$Global" |
| 86 | MemberName 11($Global) 0 "pos" |
| 87 | Name 13 "" |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 88 | Name 22 "@position" |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 89 | Name 32 "@entryPointOutput" |
| 90 | MemberDecorate 11($Global) 0 Offset 0 |
| 91 | Decorate 11($Global) Block |
| 92 | Decorate 13 DescriptorSet 0 |
| 93 | Decorate 32(@entryPointOutput) BuiltIn Position |
| 94 | 2: TypeVoid |
| 95 | 3: TypeFunction 2 |
| 96 | 6: TypeFloat 32 |
| 97 | 7: TypeVector 6(float) 4 |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 98 | 8: TypeFunction 7(fvec4) |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 99 | 11($Global): TypeStruct 7(fvec4) |
| 100 | 12: TypePointer Uniform 11($Global) |
| 101 | 13: 12(ptr) Variable Uniform |
| 102 | 14: TypeInt 32 1 |
| 103 | 15: 14(int) Constant 0 |
| 104 | 16: TypePointer Uniform 7(fvec4) |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 105 | 21: TypePointer Function 7(fvec4) |
| 106 | 24: TypeInt 32 0 |
| 107 | 25: 24(int) Constant 1 |
| 108 | 26: TypePointer Function 6(float) |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 109 | 31: TypePointer Output 7(fvec4) |
| 110 | 32(@entryPointOutput): 31(ptr) Variable Output |
| 111 | 4(main): 2 Function None 3 |
| 112 | 5: Label |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 113 | 22(@position): 21(ptr) Variable Function |
| 114 | 23: 7(fvec4) FunctionCall 9(@main() |
| 115 | Store 22(@position) 23 |
| 116 | 27: 26(ptr) AccessChain 22(@position) 25 |
| 117 | 28: 6(float) Load 27 |
| 118 | 29: 6(float) FNegate 28 |
| 119 | 30: 26(ptr) AccessChain 22(@position) 25 |
| 120 | Store 30 29 |
| 121 | 33: 7(fvec4) Load 22(@position) |
| 122 | Store 32(@entryPointOutput) 33 |
LoopDawg | b22c069 | 2017-12-06 16:52:03 -0700 | [diff] [blame] | 123 | Return |
| 124 | FunctionEnd |
John Kessenich | b3cff2f | 2017-12-21 12:17:25 -0700 | [diff] [blame] | 125 | 9(@main(): 7(fvec4) Function None 8 |
| 126 | 10: Label |
| 127 | 17: 16(ptr) AccessChain 13 15 |
| 128 | 18: 7(fvec4) Load 17 |
| 129 | ReturnValue 18 |
| 130 | FunctionEnd |