LoopDawg | 307b650 | 2017-07-05 11:33:06 -0600 | [diff] [blame^] | 1 | hlsl.clipdistance-9.vert |
| 2 | Shader version: 500 |
| 3 | 0:? Sequence |
| 4 | 0:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position}) |
| 5 | 0:7 Function Parameters: |
| 6 | 0:7 'clip0' ( out 3-component vector of float) |
| 7 | 0:7 'clip1' ( out float) |
| 8 | 0:? Sequence |
| 9 | 0:9 move second child to first child ( temp 4-component vector of float) |
| 10 | 0:9 Position: direct index for structure ( temp 4-component vector of float) |
| 11 | 0:9 'Output' ( temp structure{ temp 4-component vector of float Position}) |
| 12 | 0:9 Constant: |
| 13 | 0:9 0 (const int) |
| 14 | 0:9 Constant: |
| 15 | 0:9 0.000000 |
| 16 | 0:9 0.000000 |
| 17 | 0:9 0.000000 |
| 18 | 0:9 0.000000 |
| 19 | 0:11 move second child to first child ( temp float) |
| 20 | 0:11 direct index ( temp float) |
| 21 | 0:11 'clip0' ( out 3-component vector of float) |
| 22 | 0:11 Constant: |
| 23 | 0:11 0 (const int) |
| 24 | 0:11 Constant: |
| 25 | 0:11 0.000000 |
| 26 | 0:12 move second child to first child ( temp float) |
| 27 | 0:12 direct index ( temp float) |
| 28 | 0:12 'clip0' ( out 3-component vector of float) |
| 29 | 0:12 Constant: |
| 30 | 0:12 1 (const int) |
| 31 | 0:12 Constant: |
| 32 | 0:12 1.000000 |
| 33 | 0:13 move second child to first child ( temp float) |
| 34 | 0:13 direct index ( temp float) |
| 35 | 0:13 'clip0' ( out 3-component vector of float) |
| 36 | 0:13 Constant: |
| 37 | 0:13 2 (const int) |
| 38 | 0:13 Constant: |
| 39 | 0:13 2.000000 |
| 40 | 0:16 move second child to first child ( temp float) |
| 41 | 0:16 'clip1' ( out float) |
| 42 | 0:16 Constant: |
| 43 | 0:16 3.000000 |
| 44 | 0:18 Branch: Return with expression |
| 45 | 0:18 'Output' ( temp structure{ temp 4-component vector of float Position}) |
| 46 | 0:7 Function Definition: main( ( temp void) |
| 47 | 0:7 Function Parameters: |
| 48 | 0:? Sequence |
| 49 | 0:7 Sequence |
| 50 | 0:7 move second child to first child ( temp 4-component vector of float) |
| 51 | 0:? '@entryPointOutput_Position' ( out 4-component vector of float Position) |
| 52 | 0:7 Position: direct index for structure ( temp 4-component vector of float) |
| 53 | 0:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position}) |
| 54 | 0:? 'clip0' ( temp 3-component vector of float) |
| 55 | 0:? 'clip1' ( temp float) |
| 56 | 0:7 Constant: |
| 57 | 0:7 0 (const int) |
| 58 | 0:? Sequence |
| 59 | 0:7 move second child to first child ( temp float) |
| 60 | 0:7 direct index ( temp float) |
| 61 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 62 | 0:7 Constant: |
| 63 | 0:7 0 (const int) |
| 64 | 0:7 direct index ( temp float) |
| 65 | 0:? 'clip0' ( temp 3-component vector of float) |
| 66 | 0:7 Constant: |
| 67 | 0:7 0 (const int) |
| 68 | 0:7 move second child to first child ( temp float) |
| 69 | 0:7 direct index ( temp float) |
| 70 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 71 | 0:7 Constant: |
| 72 | 0:7 1 (const int) |
| 73 | 0:7 direct index ( temp float) |
| 74 | 0:? 'clip0' ( temp 3-component vector of float) |
| 75 | 0:7 Constant: |
| 76 | 0:7 1 (const int) |
| 77 | 0:7 move second child to first child ( temp float) |
| 78 | 0:7 direct index ( temp float) |
| 79 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 80 | 0:7 Constant: |
| 81 | 0:7 2 (const int) |
| 82 | 0:7 direct index ( temp float) |
| 83 | 0:? 'clip0' ( temp 3-component vector of float) |
| 84 | 0:7 Constant: |
| 85 | 0:7 2 (const int) |
| 86 | 0:? Sequence |
| 87 | 0:7 move second child to first child ( temp float) |
| 88 | 0:7 direct index ( temp float) |
| 89 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 90 | 0:7 Constant: |
| 91 | 0:7 3 (const int) |
| 92 | 0:? 'clip1' ( temp float) |
| 93 | 0:? Linker Objects |
| 94 | 0:? '@entryPointOutput' (layout( location=0) out structure{}) |
| 95 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 96 | |
| 97 | |
| 98 | Linked vertex stage: |
| 99 | |
| 100 | |
| 101 | Shader version: 500 |
| 102 | 0:? Sequence |
| 103 | 0:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position}) |
| 104 | 0:7 Function Parameters: |
| 105 | 0:7 'clip0' ( out 3-component vector of float) |
| 106 | 0:7 'clip1' ( out float) |
| 107 | 0:? Sequence |
| 108 | 0:9 move second child to first child ( temp 4-component vector of float) |
| 109 | 0:9 Position: direct index for structure ( temp 4-component vector of float) |
| 110 | 0:9 'Output' ( temp structure{ temp 4-component vector of float Position}) |
| 111 | 0:9 Constant: |
| 112 | 0:9 0 (const int) |
| 113 | 0:9 Constant: |
| 114 | 0:9 0.000000 |
| 115 | 0:9 0.000000 |
| 116 | 0:9 0.000000 |
| 117 | 0:9 0.000000 |
| 118 | 0:11 move second child to first child ( temp float) |
| 119 | 0:11 direct index ( temp float) |
| 120 | 0:11 'clip0' ( out 3-component vector of float) |
| 121 | 0:11 Constant: |
| 122 | 0:11 0 (const int) |
| 123 | 0:11 Constant: |
| 124 | 0:11 0.000000 |
| 125 | 0:12 move second child to first child ( temp float) |
| 126 | 0:12 direct index ( temp float) |
| 127 | 0:12 'clip0' ( out 3-component vector of float) |
| 128 | 0:12 Constant: |
| 129 | 0:12 1 (const int) |
| 130 | 0:12 Constant: |
| 131 | 0:12 1.000000 |
| 132 | 0:13 move second child to first child ( temp float) |
| 133 | 0:13 direct index ( temp float) |
| 134 | 0:13 'clip0' ( out 3-component vector of float) |
| 135 | 0:13 Constant: |
| 136 | 0:13 2 (const int) |
| 137 | 0:13 Constant: |
| 138 | 0:13 2.000000 |
| 139 | 0:16 move second child to first child ( temp float) |
| 140 | 0:16 'clip1' ( out float) |
| 141 | 0:16 Constant: |
| 142 | 0:16 3.000000 |
| 143 | 0:18 Branch: Return with expression |
| 144 | 0:18 'Output' ( temp structure{ temp 4-component vector of float Position}) |
| 145 | 0:7 Function Definition: main( ( temp void) |
| 146 | 0:7 Function Parameters: |
| 147 | 0:? Sequence |
| 148 | 0:7 Sequence |
| 149 | 0:7 move second child to first child ( temp 4-component vector of float) |
| 150 | 0:? '@entryPointOutput_Position' ( out 4-component vector of float Position) |
| 151 | 0:7 Position: direct index for structure ( temp 4-component vector of float) |
| 152 | 0:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position}) |
| 153 | 0:? 'clip0' ( temp 3-component vector of float) |
| 154 | 0:? 'clip1' ( temp float) |
| 155 | 0:7 Constant: |
| 156 | 0:7 0 (const int) |
| 157 | 0:? Sequence |
| 158 | 0:7 move second child to first child ( temp float) |
| 159 | 0:7 direct index ( temp float) |
| 160 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 161 | 0:7 Constant: |
| 162 | 0:7 0 (const int) |
| 163 | 0:7 direct index ( temp float) |
| 164 | 0:? 'clip0' ( temp 3-component vector of float) |
| 165 | 0:7 Constant: |
| 166 | 0:7 0 (const int) |
| 167 | 0:7 move second child to first child ( temp float) |
| 168 | 0:7 direct index ( temp float) |
| 169 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 170 | 0:7 Constant: |
| 171 | 0:7 1 (const int) |
| 172 | 0:7 direct index ( temp float) |
| 173 | 0:? 'clip0' ( temp 3-component vector of float) |
| 174 | 0:7 Constant: |
| 175 | 0:7 1 (const int) |
| 176 | 0:7 move second child to first child ( temp float) |
| 177 | 0:7 direct index ( temp float) |
| 178 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 179 | 0:7 Constant: |
| 180 | 0:7 2 (const int) |
| 181 | 0:7 direct index ( temp float) |
| 182 | 0:? 'clip0' ( temp 3-component vector of float) |
| 183 | 0:7 Constant: |
| 184 | 0:7 2 (const int) |
| 185 | 0:? Sequence |
| 186 | 0:7 move second child to first child ( temp float) |
| 187 | 0:7 direct index ( temp float) |
| 188 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 189 | 0:7 Constant: |
| 190 | 0:7 3 (const int) |
| 191 | 0:? 'clip1' ( temp float) |
| 192 | 0:? Linker Objects |
| 193 | 0:? '@entryPointOutput' (layout( location=0) out structure{}) |
| 194 | 0:? 'clip0' ( out 4-element array of float ClipDistance) |
| 195 | |
| 196 | // Module Version 10000 |
| 197 | // Generated by (magic number): 80001 |
| 198 | // Id's are bound by 70 |
| 199 | |
| 200 | Capability Shader |
| 201 | Capability ClipDistance |
| 202 | 1: ExtInstImport "GLSL.std.450" |
| 203 | MemoryModel Logical GLSL450 |
| 204 | EntryPoint Vertex 4 "main" 39 51 69 |
| 205 | Source HLSL 500 |
| 206 | Name 4 "main" |
| 207 | Name 11 "VS_OUTPUT" |
| 208 | MemberName 11(VS_OUTPUT) 0 "Position" |
| 209 | Name 15 "@main(vf3;f1;" |
| 210 | Name 13 "clip0" |
| 211 | Name 14 "clip1" |
| 212 | Name 18 "Output" |
| 213 | Name 39 "@entryPointOutput_Position" |
| 214 | Name 40 "clip0" |
| 215 | Name 41 "clip1" |
| 216 | Name 42 "param" |
| 217 | Name 43 "param" |
| 218 | Name 51 "clip0" |
| 219 | Name 67 "VS_OUTPUT" |
| 220 | Name 69 "@entryPointOutput" |
| 221 | Decorate 39(@entryPointOutput_Position) BuiltIn Position |
| 222 | Decorate 51(clip0) BuiltIn ClipDistance |
| 223 | Decorate 69(@entryPointOutput) Location 0 |
| 224 | 2: TypeVoid |
| 225 | 3: TypeFunction 2 |
| 226 | 6: TypeFloat 32 |
| 227 | 7: TypeVector 6(float) 3 |
| 228 | 8: TypePointer Function 7(fvec3) |
| 229 | 9: TypePointer Function 6(float) |
| 230 | 10: TypeVector 6(float) 4 |
| 231 | 11(VS_OUTPUT): TypeStruct 10(fvec4) |
| 232 | 12: TypeFunction 11(VS_OUTPUT) 8(ptr) 9(ptr) |
| 233 | 17: TypePointer Function 11(VS_OUTPUT) |
| 234 | 19: TypeInt 32 1 |
| 235 | 20: 19(int) Constant 0 |
| 236 | 21: 6(float) Constant 0 |
| 237 | 22: 10(fvec4) ConstantComposite 21 21 21 21 |
| 238 | 23: TypePointer Function 10(fvec4) |
| 239 | 25: TypeInt 32 0 |
| 240 | 26: 25(int) Constant 0 |
| 241 | 28: 6(float) Constant 1065353216 |
| 242 | 29: 25(int) Constant 1 |
| 243 | 31: 6(float) Constant 1073741824 |
| 244 | 32: 25(int) Constant 2 |
| 245 | 34: 6(float) Constant 1077936128 |
| 246 | 38: TypePointer Output 10(fvec4) |
| 247 | 39(@entryPointOutput_Position): 38(ptr) Variable Output |
| 248 | 48: 25(int) Constant 4 |
| 249 | 49: TypeArray 6(float) 48 |
| 250 | 50: TypePointer Output 49 |
| 251 | 51(clip0): 50(ptr) Variable Output |
| 252 | 54: TypePointer Output 6(float) |
| 253 | 56: 19(int) Constant 1 |
| 254 | 60: 19(int) Constant 2 |
| 255 | 64: 19(int) Constant 3 |
| 256 | 67(VS_OUTPUT): TypeStruct |
| 257 | 68: TypePointer Output 67(VS_OUTPUT) |
| 258 | 69(@entryPointOutput): 68(ptr) Variable Output |
| 259 | 4(main): 2 Function None 3 |
| 260 | 5: Label |
| 261 | 40(clip0): 8(ptr) Variable Function |
| 262 | 41(clip1): 9(ptr) Variable Function |
| 263 | 42(param): 8(ptr) Variable Function |
| 264 | 43(param): 9(ptr) Variable Function |
| 265 | 44:11(VS_OUTPUT) FunctionCall 15(@main(vf3;f1;) 42(param) 43(param) |
| 266 | 45: 7(fvec3) Load 42(param) |
| 267 | Store 40(clip0) 45 |
| 268 | 46: 6(float) Load 43(param) |
| 269 | Store 41(clip1) 46 |
| 270 | 47: 10(fvec4) CompositeExtract 44 0 |
| 271 | Store 39(@entryPointOutput_Position) 47 |
| 272 | 52: 9(ptr) AccessChain 40(clip0) 26 |
| 273 | 53: 6(float) Load 52 |
| 274 | 55: 54(ptr) AccessChain 51(clip0) 20 |
| 275 | Store 55 53 |
| 276 | 57: 9(ptr) AccessChain 40(clip0) 29 |
| 277 | 58: 6(float) Load 57 |
| 278 | 59: 54(ptr) AccessChain 51(clip0) 56 |
| 279 | Store 59 58 |
| 280 | 61: 9(ptr) AccessChain 40(clip0) 32 |
| 281 | 62: 6(float) Load 61 |
| 282 | 63: 54(ptr) AccessChain 51(clip0) 60 |
| 283 | Store 63 62 |
| 284 | 65: 6(float) Load 41(clip1) |
| 285 | 66: 54(ptr) AccessChain 51(clip0) 64 |
| 286 | Store 66 65 |
| 287 | Return |
| 288 | FunctionEnd |
| 289 | 15(@main(vf3;f1;):11(VS_OUTPUT) Function None 12 |
| 290 | 13(clip0): 8(ptr) FunctionParameter |
| 291 | 14(clip1): 9(ptr) FunctionParameter |
| 292 | 16: Label |
| 293 | 18(Output): 17(ptr) Variable Function |
| 294 | 24: 23(ptr) AccessChain 18(Output) 20 |
| 295 | Store 24 22 |
| 296 | 27: 9(ptr) AccessChain 13(clip0) 26 |
| 297 | Store 27 21 |
| 298 | 30: 9(ptr) AccessChain 13(clip0) 29 |
| 299 | Store 30 28 |
| 300 | 33: 9(ptr) AccessChain 13(clip0) 32 |
| 301 | Store 33 31 |
| 302 | Store 14(clip1) 34 |
| 303 | 35:11(VS_OUTPUT) Load 18(Output) |
| 304 | ReturnValue 35 |
| 305 | FunctionEnd |