John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 1 | hlsl.multiEntry.vert |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 2 | Shader version: 500 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 3 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 4 | 0:4 Function Definition: FakeEntrypoint(u1; ( temp 4-component vector of float) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 5 | 0:4 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 6 | 0:4 'Index' ( in uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 7 | 0:? Sequence |
| 8 | 0:5 Branch: Return with expression |
John Kessenich | f36542f | 2017-03-31 14:39:30 -0600 | [diff] [blame] | 9 | 0:5 textureFetch ( temp 4-component vector of float) |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 10 | 0:5 'Position' (layout( rgba32f) uniform textureBuffer) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 11 | 0:5 Convert uint to int ( temp int) |
| 12 | 0:5 'Index' ( in uint) |
| 13 | 0:9 Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 14 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 15 | 0:9 'Index' ( in uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 16 | 0:? Sequence |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 17 | 0:10 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 18 | 0:10 Function Call: FakeEntrypoint(u1; ( temp 4-component vector of float) |
| 19 | 0:10 'Index' ( in uint) |
| 20 | 0:9 Function Definition: RealEntrypoint( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 21 | 0:9 Function Parameters: |
| 22 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 23 | 0:9 move second child to first child ( temp uint) |
| 24 | 0:? 'Index' ( temp uint) |
| 25 | 0:? 'Index' ( in uint VertexIndex) |
| 26 | 0:9 move second child to first child ( temp 4-component vector of float) |
| 27 | 0:? '@entryPointOutput' ( out 4-component vector of float Position) |
| 28 | 0:9 Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float) |
| 29 | 0:? 'Index' ( temp uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 30 | 0:? Linker Objects |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 31 | 0:? 'Position' (layout( rgba32f) uniform textureBuffer) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 32 | 0:? '@entryPointOutput' ( out 4-component vector of float Position) |
| 33 | 0:? 'Index' ( in uint VertexIndex) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 34 | |
| 35 | |
| 36 | Linked vertex stage: |
| 37 | |
| 38 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 39 | Shader version: 500 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 40 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 41 | 0:4 Function Definition: FakeEntrypoint(u1; ( temp 4-component vector of float) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 42 | 0:4 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 43 | 0:4 'Index' ( in uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 44 | 0:? Sequence |
| 45 | 0:5 Branch: Return with expression |
John Kessenich | f36542f | 2017-03-31 14:39:30 -0600 | [diff] [blame] | 46 | 0:5 textureFetch ( temp 4-component vector of float) |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 47 | 0:5 'Position' (layout( rgba32f) uniform textureBuffer) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 48 | 0:5 Convert uint to int ( temp int) |
| 49 | 0:5 'Index' ( in uint) |
| 50 | 0:9 Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 51 | 0:9 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 52 | 0:9 'Index' ( in uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 53 | 0:? Sequence |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 54 | 0:10 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 55 | 0:10 Function Call: FakeEntrypoint(u1; ( temp 4-component vector of float) |
| 56 | 0:10 'Index' ( in uint) |
| 57 | 0:9 Function Definition: RealEntrypoint( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 58 | 0:9 Function Parameters: |
| 59 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 60 | 0:9 move second child to first child ( temp uint) |
| 61 | 0:? 'Index' ( temp uint) |
| 62 | 0:? 'Index' ( in uint VertexIndex) |
| 63 | 0:9 move second child to first child ( temp 4-component vector of float) |
| 64 | 0:? '@entryPointOutput' ( out 4-component vector of float Position) |
| 65 | 0:9 Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float) |
| 66 | 0:? 'Index' ( temp uint) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 67 | 0:? Linker Objects |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 68 | 0:? 'Position' (layout( rgba32f) uniform textureBuffer) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 69 | 0:? '@entryPointOutput' ( out 4-component vector of float Position) |
| 70 | 0:? 'Index' ( in uint VertexIndex) |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 71 | |
| 72 | // Module Version 10000 |
| 73 | // Generated by (magic number): 80001 |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 74 | // Id's are bound by 41 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 75 | |
| 76 | Capability Shader |
| 77 | Capability SampledBuffer |
| 78 | 1: ExtInstImport "GLSL.std.450" |
| 79 | MemoryModel Logical GLSL450 |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 80 | EntryPoint Vertex 4 "RealEntrypoint" 34 37 |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame^] | 81 | Source HLSL 500 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 82 | Name 4 "RealEntrypoint" |
| 83 | Name 12 "FakeEntrypoint(u1;" |
| 84 | Name 11 "Index" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 85 | Name 15 "@RealEntrypoint(u1;" |
| 86 | Name 14 "Index" |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 87 | Name 19 "Position" |
| 88 | Name 27 "param" |
| 89 | Name 32 "Index" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 90 | Name 34 "Index" |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 91 | Name 37 "@entryPointOutput" |
| 92 | Name 38 "param" |
| 93 | Decorate 19(Position) DescriptorSet 0 |
| 94 | Decorate 34(Index) BuiltIn VertexIndex |
| 95 | Decorate 37(@entryPointOutput) BuiltIn Position |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 96 | 2: TypeVoid |
| 97 | 3: TypeFunction 2 |
| 98 | 6: TypeInt 32 0 |
| 99 | 7: TypePointer Function 6(int) |
| 100 | 8: TypeFloat 32 |
| 101 | 9: TypeVector 8(float) 4 |
| 102 | 10: TypeFunction 9(fvec4) 7(ptr) |
John Kessenich | f36542f | 2017-03-31 14:39:30 -0600 | [diff] [blame] | 103 | 17: TypeImage 8(float) Buffer sampled format:Rgba32f |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 104 | 18: TypePointer UniformConstant 17 |
| 105 | 19(Position): 18(ptr) Variable UniformConstant |
| 106 | 22: TypeInt 32 1 |
| 107 | 33: TypePointer Input 6(int) |
| 108 | 34(Index): 33(ptr) Variable Input |
| 109 | 36: TypePointer Output 9(fvec4) |
| 110 | 37(@entryPointOutput): 36(ptr) Variable Output |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 111 | 4(RealEntrypoint): 2 Function None 3 |
| 112 | 5: Label |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 113 | 32(Index): 7(ptr) Variable Function |
| 114 | 38(param): 7(ptr) Variable Function |
| 115 | 35: 6(int) Load 34(Index) |
| 116 | Store 32(Index) 35 |
| 117 | 39: 6(int) Load 32(Index) |
| 118 | Store 38(param) 39 |
| 119 | 40: 9(fvec4) FunctionCall 15(@RealEntrypoint(u1;) 38(param) |
| 120 | Store 37(@entryPointOutput) 40 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 121 | Return |
| 122 | FunctionEnd |
| 123 | 12(FakeEntrypoint(u1;): 9(fvec4) Function None 10 |
| 124 | 11(Index): 7(ptr) FunctionParameter |
| 125 | 13: Label |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 126 | 20: 17 Load 19(Position) |
| 127 | 21: 6(int) Load 11(Index) |
| 128 | 23: 22(int) Bitcast 21 |
| 129 | 24: 9(fvec4) ImageFetch 20 23 |
| 130 | ReturnValue 24 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 131 | FunctionEnd |
| 132 | 15(@RealEntrypoint(u1;): 9(fvec4) Function None 10 |
| 133 | 14(Index): 7(ptr) FunctionParameter |
| 134 | 16: Label |
steve-lunarg | bf1537f | 2017-03-31 17:40:09 -0600 | [diff] [blame] | 135 | 27(param): 7(ptr) Variable Function |
| 136 | 28: 6(int) Load 14(Index) |
| 137 | Store 27(param) 28 |
| 138 | 29: 9(fvec4) FunctionCall 12(FakeEntrypoint(u1;) 27(param) |
| 139 | ReturnValue 29 |
John Kessenich | 07350f3 | 2016-09-02 20:23:27 -0600 | [diff] [blame] | 140 | FunctionEnd |