John Kessenich | 3494b4d | 2017-05-22 15:00:42 -0600 | [diff] [blame] | 1 | ../Test/hlsl.include.vert |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
Graeme Leese | 182ab46 | 2020-06-22 11:49:38 +0100 | [diff] [blame] | 3 | // Generated by (magic number): 8000a |
John Kessenich | 3494b4d | 2017-05-22 15:00:42 -0600 | [diff] [blame] | 4 | // Id's are bound by 44 |
| 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
| 9 | EntryPoint Vertex 4 "main" 42 |
| 10 | Source HLSL 500 |
| 11 | Name 4 "main" |
| 12 | Name 9 "@main(" |
| 13 | Name 11 "$Global" |
| 14 | MemberName 11($Global) 0 "i1" |
| 15 | MemberName 11($Global) 1 "i2" |
| 16 | MemberName 11($Global) 2 "i4" |
| 17 | MemberName 11($Global) 3 "i3" |
| 18 | MemberName 11($Global) 4 "i6" |
| 19 | MemberName 11($Global) 5 "i5" |
| 20 | Name 13 "" |
| 21 | Name 42 "@entryPointOutput" |
| 22 | MemberDecorate 11($Global) 0 Offset 0 |
| 23 | MemberDecorate 11($Global) 1 Offset 16 |
| 24 | MemberDecorate 11($Global) 2 Offset 32 |
| 25 | MemberDecorate 11($Global) 3 Offset 48 |
| 26 | MemberDecorate 11($Global) 4 Offset 64 |
| 27 | MemberDecorate 11($Global) 5 Offset 80 |
| 28 | Decorate 11($Global) Block |
| 29 | Decorate 13 DescriptorSet 0 |
Jeff Bolz | 0a93cfb | 2018-12-11 20:53:59 -0600 | [diff] [blame] | 30 | Decorate 13 Binding 0 |
John Kessenich | 3494b4d | 2017-05-22 15:00:42 -0600 | [diff] [blame] | 31 | Decorate 42(@entryPointOutput) BuiltIn Position |
| 32 | 2: TypeVoid |
| 33 | 3: TypeFunction 2 |
| 34 | 6: TypeFloat 32 |
| 35 | 7: TypeVector 6(float) 4 |
| 36 | 8: TypeFunction 7(fvec4) |
| 37 | 11($Global): TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) |
| 38 | 12: TypePointer Uniform 11($Global) |
| 39 | 13: 12(ptr) Variable Uniform |
| 40 | 14: TypeInt 32 1 |
| 41 | 15: 14(int) Constant 0 |
| 42 | 16: TypePointer Uniform 7(fvec4) |
| 43 | 19: 14(int) Constant 1 |
| 44 | 23: 14(int) Constant 3 |
| 45 | 27: 14(int) Constant 2 |
| 46 | 31: 14(int) Constant 5 |
| 47 | 35: 14(int) Constant 4 |
| 48 | 41: TypePointer Output 7(fvec4) |
| 49 | 42(@entryPointOutput): 41(ptr) Variable Output |
| 50 | 4(main): 2 Function None 3 |
| 51 | 5: Label |
| 52 | 43: 7(fvec4) FunctionCall 9(@main() |
| 53 | Store 42(@entryPointOutput) 43 |
| 54 | Return |
| 55 | FunctionEnd |
| 56 | 9(@main(): 7(fvec4) Function None 8 |
| 57 | 10: Label |
| 58 | 17: 16(ptr) AccessChain 13 15 |
| 59 | 18: 7(fvec4) Load 17 |
| 60 | 20: 16(ptr) AccessChain 13 19 |
| 61 | 21: 7(fvec4) Load 20 |
| 62 | 22: 7(fvec4) FAdd 18 21 |
| 63 | 24: 16(ptr) AccessChain 13 23 |
| 64 | 25: 7(fvec4) Load 24 |
| 65 | 26: 7(fvec4) FAdd 22 25 |
| 66 | 28: 16(ptr) AccessChain 13 27 |
| 67 | 29: 7(fvec4) Load 28 |
| 68 | 30: 7(fvec4) FAdd 26 29 |
| 69 | 32: 16(ptr) AccessChain 13 31 |
| 70 | 33: 7(fvec4) Load 32 |
| 71 | 34: 7(fvec4) FAdd 30 33 |
| 72 | 36: 16(ptr) AccessChain 13 35 |
| 73 | 37: 7(fvec4) Load 36 |
| 74 | 38: 7(fvec4) FAdd 34 37 |
| 75 | ReturnValue 38 |
| 76 | FunctionEnd |