John Kessenich | 8f9fdc9 | 2017-03-30 16:22:26 -0600 | [diff] [blame] | 1 | hlsl.namespace.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
John Kessenich | 8f9fdc9 | 2017-03-30 16:22:26 -0600 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
| 5 | 0:5 Function Definition: N1::getVec( ( temp 4-component vector of float) |
| 6 | 0:5 Function Parameters: |
| 7 | 0:? Sequence |
| 8 | 0:5 Branch: Return with expression |
| 9 | 0:5 'v1' ( global 4-component vector of float) |
| 10 | 0:10 Function Definition: N2::getVec( ( temp 4-component vector of float) |
| 11 | 0:10 Function Parameters: |
| 12 | 0:? Sequence |
| 13 | 0:10 Branch: Return with expression |
| 14 | 0:10 'v2' ( global 4-component vector of float) |
| 15 | 0:12 Function Definition: N2::N3::getVec( ( temp 4-component vector of float) |
| 16 | 0:12 Function Parameters: |
| 17 | 0:? Sequence |
| 18 | 0:12 Branch: Return with expression |
| 19 | 0:12 'v2' ( global 4-component vector of float) |
| 20 | 0:15 Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float) |
| 21 | 0:15 Function Parameters: |
| 22 | 0:15 '@this' ( temp structure{}) |
| 23 | 0:? Sequence |
| 24 | 0:15 Branch: Return with expression |
| 25 | 0:15 'v2' ( global 4-component vector of float) |
| 26 | 0:21 Function Definition: @main( ( temp 4-component vector of float) |
| 27 | 0:21 Function Parameters: |
| 28 | 0:? Sequence |
| 29 | 0:22 Branch: Return with expression |
| 30 | 0:22 add ( temp 4-component vector of float) |
| 31 | 0:22 add ( temp 4-component vector of float) |
| 32 | 0:22 add ( temp 4-component vector of float) |
| 33 | 0:22 Function Call: N1::getVec( ( temp 4-component vector of float) |
| 34 | 0:22 Function Call: N2::getVec( ( temp 4-component vector of float) |
| 35 | 0:22 Function Call: N2::N3::getVec( ( temp 4-component vector of float) |
| 36 | 0:22 vector-scale ( temp 4-component vector of float) |
| 37 | 0:22 Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float) |
| 38 | 0:22 'N2::gf' ( global float) |
| 39 | 0:21 Function Definition: main( ( temp void) |
| 40 | 0:21 Function Parameters: |
| 41 | 0:? Sequence |
| 42 | 0:21 move second child to first child ( temp 4-component vector of float) |
| 43 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 44 | 0:21 Function Call: @main( ( temp 4-component vector of float) |
| 45 | 0:? Linker Objects |
| 46 | 0:? 'v1' ( global 4-component vector of float) |
| 47 | 0:? 'v2' ( global 4-component vector of float) |
| 48 | 0:? 'N2::gf' ( global float) |
| 49 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 50 | |
| 51 | |
| 52 | Linked fragment stage: |
| 53 | |
| 54 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 55 | Shader version: 500 |
John Kessenich | 8f9fdc9 | 2017-03-30 16:22:26 -0600 | [diff] [blame] | 56 | gl_FragCoord origin is upper left |
| 57 | 0:? Sequence |
| 58 | 0:5 Function Definition: N1::getVec( ( temp 4-component vector of float) |
| 59 | 0:5 Function Parameters: |
| 60 | 0:? Sequence |
| 61 | 0:5 Branch: Return with expression |
| 62 | 0:5 'v1' ( global 4-component vector of float) |
| 63 | 0:10 Function Definition: N2::getVec( ( temp 4-component vector of float) |
| 64 | 0:10 Function Parameters: |
| 65 | 0:? Sequence |
| 66 | 0:10 Branch: Return with expression |
| 67 | 0:10 'v2' ( global 4-component vector of float) |
| 68 | 0:12 Function Definition: N2::N3::getVec( ( temp 4-component vector of float) |
| 69 | 0:12 Function Parameters: |
| 70 | 0:? Sequence |
| 71 | 0:12 Branch: Return with expression |
| 72 | 0:12 'v2' ( global 4-component vector of float) |
| 73 | 0:15 Function Definition: N2::N3::C1::getVec( ( temp 4-component vector of float) |
| 74 | 0:15 Function Parameters: |
| 75 | 0:15 '@this' ( temp structure{}) |
| 76 | 0:? Sequence |
| 77 | 0:15 Branch: Return with expression |
| 78 | 0:15 'v2' ( global 4-component vector of float) |
| 79 | 0:21 Function Definition: @main( ( temp 4-component vector of float) |
| 80 | 0:21 Function Parameters: |
| 81 | 0:? Sequence |
| 82 | 0:22 Branch: Return with expression |
| 83 | 0:22 add ( temp 4-component vector of float) |
| 84 | 0:22 add ( temp 4-component vector of float) |
| 85 | 0:22 add ( temp 4-component vector of float) |
| 86 | 0:22 Function Call: N1::getVec( ( temp 4-component vector of float) |
| 87 | 0:22 Function Call: N2::getVec( ( temp 4-component vector of float) |
| 88 | 0:22 Function Call: N2::N3::getVec( ( temp 4-component vector of float) |
| 89 | 0:22 vector-scale ( temp 4-component vector of float) |
| 90 | 0:22 Function Call: N2::N3::C1::getVec( ( temp 4-component vector of float) |
| 91 | 0:22 'N2::gf' ( global float) |
| 92 | 0:21 Function Definition: main( ( temp void) |
| 93 | 0:21 Function Parameters: |
| 94 | 0:? Sequence |
| 95 | 0:21 move second child to first child ( temp 4-component vector of float) |
| 96 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 97 | 0:21 Function Call: @main( ( temp 4-component vector of float) |
| 98 | 0:? Linker Objects |
| 99 | 0:? 'v1' ( global 4-component vector of float) |
| 100 | 0:? 'v2' ( global 4-component vector of float) |
| 101 | 0:? 'N2::gf' ( global float) |
| 102 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 103 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 104 | // Module Version 10000 |
John Kessenich | 71b5da6 | 2018-02-06 08:06:36 -0700 | [diff] [blame^] | 105 | // Generated by (magic number): 80004 |
John Kessenich | 8f9fdc9 | 2017-03-30 16:22:26 -0600 | [diff] [blame] | 106 | // Id's are bound by 54 |
| 107 | |
| 108 | Capability Shader |
| 109 | 1: ExtInstImport "GLSL.std.450" |
| 110 | MemoryModel Logical GLSL450 |
| 111 | EntryPoint Fragment 4 "main" 52 |
| 112 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 113 | Source HLSL 500 |
John Kessenich | 8f9fdc9 | 2017-03-30 16:22:26 -0600 | [diff] [blame] | 114 | Name 4 "main" |
| 115 | Name 9 "N1::getVec(" |
| 116 | Name 11 "N2::getVec(" |
| 117 | Name 13 "N2::N3::getVec(" |
| 118 | Name 15 "C1" |
| 119 | Name 19 "N2::N3::C1::getVec(" |
| 120 | Name 18 "@this" |
| 121 | Name 21 "@main(" |
| 122 | Name 24 "v1" |
| 123 | Name 28 "v2" |
| 124 | Name 45 "N2::gf" |
| 125 | Name 52 "@entryPointOutput" |
| 126 | Decorate 52(@entryPointOutput) Location 0 |
| 127 | 2: TypeVoid |
| 128 | 3: TypeFunction 2 |
| 129 | 6: TypeFloat 32 |
| 130 | 7: TypeVector 6(float) 4 |
| 131 | 8: TypeFunction 7(fvec4) |
| 132 | 15(C1): TypeStruct |
| 133 | 16: TypePointer Function 15(C1) |
| 134 | 17: TypeFunction 7(fvec4) 16(ptr) |
| 135 | 23: TypePointer Private 7(fvec4) |
| 136 | 24(v1): 23(ptr) Variable Private |
| 137 | 28(v2): 23(ptr) Variable Private |
| 138 | 44: TypePointer Private 6(float) |
| 139 | 45(N2::gf): 44(ptr) Variable Private |
| 140 | 51: TypePointer Output 7(fvec4) |
| 141 | 52(@entryPointOutput): 51(ptr) Variable Output |
| 142 | 4(main): 2 Function None 3 |
| 143 | 5: Label |
| 144 | 53: 7(fvec4) FunctionCall 21(@main() |
| 145 | Store 52(@entryPointOutput) 53 |
| 146 | Return |
| 147 | FunctionEnd |
| 148 | 9(N1::getVec(): 7(fvec4) Function None 8 |
| 149 | 10: Label |
| 150 | 25: 7(fvec4) Load 24(v1) |
| 151 | ReturnValue 25 |
| 152 | FunctionEnd |
| 153 | 11(N2::getVec(): 7(fvec4) Function None 8 |
| 154 | 12: Label |
| 155 | 29: 7(fvec4) Load 28(v2) |
| 156 | ReturnValue 29 |
| 157 | FunctionEnd |
| 158 | 13(N2::N3::getVec(): 7(fvec4) Function None 8 |
| 159 | 14: Label |
| 160 | 32: 7(fvec4) Load 28(v2) |
| 161 | ReturnValue 32 |
| 162 | FunctionEnd |
| 163 | 19(N2::N3::C1::getVec(): 7(fvec4) Function None 17 |
| 164 | 18(@this): 16(ptr) FunctionParameter |
| 165 | 20: Label |
| 166 | 35: 7(fvec4) Load 28(v2) |
| 167 | ReturnValue 35 |
| 168 | FunctionEnd |
| 169 | 21(@main(): 7(fvec4) Function None 8 |
| 170 | 22: Label |
| 171 | 38: 7(fvec4) FunctionCall 9(N1::getVec() |
| 172 | 39: 7(fvec4) FunctionCall 11(N2::getVec() |
| 173 | 40: 7(fvec4) FAdd 38 39 |
| 174 | 41: 7(fvec4) FunctionCall 13(N2::N3::getVec() |
| 175 | 42: 7(fvec4) FAdd 40 41 |
| 176 | 43: 7(fvec4) FunctionCall 19(N2::N3::C1::getVec() |
| 177 | 46: 6(float) Load 45(N2::gf) |
| 178 | 47: 7(fvec4) VectorTimesScalar 43 46 |
| 179 | 48: 7(fvec4) FAdd 42 47 |
| 180 | ReturnValue 48 |
| 181 | FunctionEnd |