steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 1 | hlsl.structbuffer.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:12 Function Definition: @main(u1; ( temp 4-component vector of float) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 6 | 0:12 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 7 | 0:12 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 8 | 0:? Sequence |
| 9 | 0:13 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 10 | 0:13 move second child to first child ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 11 | 0:13 'mydata' ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 12 | 0:13 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 13 | 0:13 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 14 | 0:13 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 15 | 0:13 Constant: |
| 16 | 0:13 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 17 | 0:13 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 18 | 0:17 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 19 | 0:17 move second child to first child ( temp uint) |
| 20 | 0:17 'size' ( temp uint) |
| 21 | 0:17 array length ( temp uint) |
| 22 | 0:17 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 23 | 0:17 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 24 | 0:17 Constant: |
| 25 | 0:17 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 26 | 0:17 move second child to first child ( temp uint) |
| 27 | 0:17 'stride' ( temp uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 28 | 0:17 Constant: |
| 29 | 0:17 32 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 30 | 0:19 Test condition and select ( temp void) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 31 | 0:19 Condition |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 32 | 0:19 test: direct index for structure ( temp bool) |
| 33 | 0:19 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 34 | 0:19 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 35 | 0:19 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 36 | 0:19 Constant: |
| 37 | 0:19 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 38 | 0:19 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 39 | 0:19 Constant: |
| 40 | 0:19 1 (const int) |
| 41 | 0:19 true case |
| 42 | 0:20 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 43 | 0:? Construct vec4 ( temp 4-component vector of float) |
| 44 | 0:20 add ( temp 3-component vector of float) |
| 45 | 0:20 color: direct index for structure ( temp 3-component vector of float) |
| 46 | 0:20 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 47 | 0:20 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 48 | 0:20 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 49 | 0:20 Constant: |
| 50 | 0:20 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 51 | 0:20 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 52 | 0:20 Constant: |
| 53 | 0:20 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 54 | 0:20 indirect index (layout( row_major std430) buffer float) |
| 55 | 0:20 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of float) |
| 56 | 0:20 'sbuf2' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of float @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 57 | 0:20 Constant: |
| 58 | 0:20 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 59 | 0:20 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 60 | 0:20 Constant: |
| 61 | 0:20 0.000000 |
| 62 | 0:19 false case |
| 63 | 0:22 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 64 | 0:22 Construct vec4 ( temp 4-component vector of float) |
| 65 | 0:22 add ( temp float) |
| 66 | 0:22 add ( temp float) |
| 67 | 0:22 direct index ( temp float) |
| 68 | 0:22 color: direct index for structure ( temp 3-component vector of float) |
| 69 | 0:22 'mydata' ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 70 | 0:22 Constant: |
| 71 | 0:22 0 (const int) |
| 72 | 0:22 Constant: |
| 73 | 0:22 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 74 | 0:22 Convert uint to float ( temp float) |
| 75 | 0:22 'size' ( temp uint) |
| 76 | 0:22 Convert uint to float ( temp float) |
| 77 | 0:22 'stride' ( temp uint) |
| 78 | 0:12 Function Definition: main( ( temp void) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 79 | 0:12 Function Parameters: |
| 80 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 81 | 0:12 move second child to first child ( temp uint) |
| 82 | 0:? 'pos' ( temp uint) |
John Kessenich | 54596ff | 2017-06-20 03:20:59 -0600 | [diff] [blame] | 83 | 0:? 'pos' (layout( location=0) flat in uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 84 | 0:12 move second child to first child ( temp 4-component vector of float) |
| 85 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 86 | 0:12 Function Call: @main(u1; ( temp 4-component vector of float) |
| 87 | 0:? 'pos' ( temp uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 88 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 89 | 0:? 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
| 90 | 0:? 'sbuf2' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of float @data}) |
| 91 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
John Kessenich | 54596ff | 2017-06-20 03:20:59 -0600 | [diff] [blame] | 92 | 0:? 'pos' (layout( location=0) flat in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 93 | |
| 94 | |
| 95 | Linked fragment stage: |
| 96 | |
| 97 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 98 | Shader version: 500 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 99 | gl_FragCoord origin is upper left |
| 100 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 101 | 0:12 Function Definition: @main(u1; ( temp 4-component vector of float) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 102 | 0:12 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 103 | 0:12 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 104 | 0:? Sequence |
| 105 | 0:13 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 106 | 0:13 move second child to first child ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 107 | 0:13 'mydata' ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 108 | 0:13 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 109 | 0:13 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 110 | 0:13 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 111 | 0:13 Constant: |
| 112 | 0:13 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 113 | 0:13 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 114 | 0:17 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 115 | 0:17 move second child to first child ( temp uint) |
| 116 | 0:17 'size' ( temp uint) |
| 117 | 0:17 array length ( temp uint) |
| 118 | 0:17 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 119 | 0:17 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 120 | 0:17 Constant: |
| 121 | 0:17 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 122 | 0:17 move second child to first child ( temp uint) |
| 123 | 0:17 'stride' ( temp uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 124 | 0:17 Constant: |
| 125 | 0:17 32 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 126 | 0:19 Test condition and select ( temp void) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 127 | 0:19 Condition |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 128 | 0:19 test: direct index for structure ( temp bool) |
| 129 | 0:19 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 130 | 0:19 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 131 | 0:19 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 132 | 0:19 Constant: |
| 133 | 0:19 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 134 | 0:19 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 135 | 0:19 Constant: |
| 136 | 0:19 1 (const int) |
| 137 | 0:19 true case |
| 138 | 0:20 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 139 | 0:? Construct vec4 ( temp 4-component vector of float) |
| 140 | 0:20 add ( temp 3-component vector of float) |
| 141 | 0:20 color: direct index for structure ( temp 3-component vector of float) |
| 142 | 0:20 indirect index (layout( row_major std430) buffer structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 143 | 0:20 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
| 144 | 0:20 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 145 | 0:20 Constant: |
| 146 | 0:20 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 147 | 0:20 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 148 | 0:20 Constant: |
| 149 | 0:20 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 150 | 0:20 indirect index (layout( row_major std430) buffer float) |
| 151 | 0:20 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of float) |
| 152 | 0:20 'sbuf2' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of float @data}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 153 | 0:20 Constant: |
| 154 | 0:20 0 (const uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 155 | 0:20 'pos' ( in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 156 | 0:20 Constant: |
| 157 | 0:20 0.000000 |
| 158 | 0:19 false case |
| 159 | 0:22 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 160 | 0:22 Construct vec4 ( temp 4-component vector of float) |
| 161 | 0:22 add ( temp float) |
| 162 | 0:22 add ( temp float) |
| 163 | 0:22 direct index ( temp float) |
| 164 | 0:22 color: direct index for structure ( temp 3-component vector of float) |
| 165 | 0:22 'mydata' ( temp structure{ temp 3-component vector of float color, temp bool test, temp bool test2}) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 166 | 0:22 Constant: |
| 167 | 0:22 0 (const int) |
| 168 | 0:22 Constant: |
| 169 | 0:22 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 170 | 0:22 Convert uint to float ( temp float) |
| 171 | 0:22 'size' ( temp uint) |
| 172 | 0:22 Convert uint to float ( temp float) |
| 173 | 0:22 'stride' ( temp uint) |
| 174 | 0:12 Function Definition: main( ( temp void) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 175 | 0:12 Function Parameters: |
| 176 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 177 | 0:12 move second child to first child ( temp uint) |
| 178 | 0:? 'pos' ( temp uint) |
John Kessenich | 54596ff | 2017-06-20 03:20:59 -0600 | [diff] [blame] | 179 | 0:? 'pos' (layout( location=0) flat in uint) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 180 | 0:12 move second child to first child ( temp 4-component vector of float) |
| 181 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
| 182 | 0:12 Function Call: @main(u1; ( temp 4-component vector of float) |
| 183 | 0:? 'pos' ( temp uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 184 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 185 | 0:? 'sbuf' (layout( binding=10 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of structure{ temp 3-component vector of float color, temp bool test, temp bool test2} @data}) |
| 186 | 0:? 'sbuf2' (layout( row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of float @data}) |
| 187 | 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) |
John Kessenich | 54596ff | 2017-06-20 03:20:59 -0600 | [diff] [blame] | 188 | 0:? 'pos' (layout( location=0) flat in uint) |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 189 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 190 | // Module Version 10000 |
John Kessenich | 71b5da6 | 2018-02-06 08:06:36 -0700 | [diff] [blame^] | 191 | // Generated by (magic number): 80004 |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 192 | // Id's are bound by 96 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 193 | |
| 194 | Capability Shader |
| 195 | 1: ExtInstImport "GLSL.std.450" |
| 196 | MemoryModel Logical GLSL450 |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 197 | EntryPoint Fragment 4 "main" 89 92 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 198 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 199 | Source HLSL 500 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 200 | Name 4 "main" |
| 201 | Name 12 "@main(u1;" |
| 202 | Name 11 "pos" |
| 203 | Name 16 "sb_t" |
| 204 | MemberName 16(sb_t) 0 "color" |
| 205 | MemberName 16(sb_t) 1 "test" |
| 206 | MemberName 16(sb_t) 2 "test2" |
| 207 | Name 18 "mydata" |
| 208 | Name 19 "sb_t" |
| 209 | MemberName 19(sb_t) 0 "color" |
| 210 | MemberName 19(sb_t) 1 "test" |
| 211 | MemberName 19(sb_t) 2 "test2" |
| 212 | Name 21 "sbuf" |
steve-lunarg | dd8287a | 2017-02-23 18:04:12 -0700 | [diff] [blame] | 213 | MemberName 21(sbuf) 0 "@data" |
| 214 | Name 23 "sbuf" |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 215 | Name 43 "size" |
| 216 | Name 45 "stride" |
steve-lunarg | dd8287a | 2017-02-23 18:04:12 -0700 | [diff] [blame] | 217 | Name 59 "sbuf2" |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 218 | MemberName 59(sbuf2) 0 "@data" |
| 219 | Name 61 "sbuf2" |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 220 | Name 87 "pos" |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 221 | Name 89 "pos" |
| 222 | Name 92 "@entryPointOutput" |
| 223 | Name 93 "param" |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 224 | MemberDecorate 19(sb_t) 0 Offset 0 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 225 | MemberDecorate 19(sb_t) 1 Offset 12 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 226 | MemberDecorate 19(sb_t) 2 Offset 16 |
| 227 | Decorate 20 ArrayStride 32 |
| 228 | MemberDecorate 21(sbuf) 0 NonWritable |
| 229 | MemberDecorate 21(sbuf) 0 Offset 0 |
| 230 | Decorate 21(sbuf) BufferBlock |
steve-lunarg | dd8287a | 2017-02-23 18:04:12 -0700 | [diff] [blame] | 231 | Decorate 23(sbuf) DescriptorSet 0 |
| 232 | Decorate 23(sbuf) Binding 10 |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 233 | Decorate 58 ArrayStride 4 |
| 234 | MemberDecorate 59(sbuf2) 0 NonWritable |
| 235 | MemberDecorate 59(sbuf2) 0 Offset 0 |
| 236 | Decorate 59(sbuf2) BufferBlock |
| 237 | Decorate 61(sbuf2) DescriptorSet 0 |
John Kessenich | 54596ff | 2017-06-20 03:20:59 -0600 | [diff] [blame] | 238 | Decorate 89(pos) Flat |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 239 | Decorate 89(pos) Location 0 |
| 240 | Decorate 92(@entryPointOutput) Location 0 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 241 | 2: TypeVoid |
| 242 | 3: TypeFunction 2 |
| 243 | 6: TypeInt 32 0 |
| 244 | 7: TypePointer Function 6(int) |
| 245 | 8: TypeFloat 32 |
| 246 | 9: TypeVector 8(float) 4 |
| 247 | 10: TypeFunction 9(fvec4) 7(ptr) |
| 248 | 14: TypeVector 8(float) 3 |
| 249 | 15: TypeBool |
| 250 | 16(sb_t): TypeStruct 14(fvec3) 15(bool) 15(bool) |
| 251 | 17: TypePointer Function 16(sb_t) |
| 252 | 19(sb_t): TypeStruct 14(fvec3) 6(int) 6(int) |
| 253 | 20: TypeRuntimeArray 19(sb_t) |
| 254 | 21(sbuf): TypeStruct 20 |
| 255 | 22: TypePointer Uniform 21(sbuf) |
steve-lunarg | dd8287a | 2017-02-23 18:04:12 -0700 | [diff] [blame] | 256 | 23(sbuf): 22(ptr) Variable Uniform |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 257 | 24: TypeInt 32 1 |
| 258 | 25: 24(int) Constant 0 |
| 259 | 27: TypePointer Uniform 19(sb_t) |
| 260 | 31: TypePointer Function 14(fvec3) |
| 261 | 34: 24(int) Constant 1 |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 262 | 35: 6(int) Constant 0 |
| 263 | 37: TypePointer Function 15(bool) |
| 264 | 40: 24(int) Constant 2 |
| 265 | 46: 6(int) Constant 32 |
| 266 | 48: TypePointer Uniform 6(int) |
| 267 | 55: TypePointer Uniform 14(fvec3) |
| 268 | 58: TypeRuntimeArray 8(float) |
| 269 | 59(sbuf2): TypeStruct 58 |
| 270 | 60: TypePointer Uniform 59(sbuf2) |
| 271 | 61(sbuf2): 60(ptr) Variable Uniform |
| 272 | 63: TypePointer Uniform 8(float) |
| 273 | 68: 8(float) Constant 0 |
| 274 | 75: TypePointer Function 8(float) |
| 275 | 88: TypePointer Input 6(int) |
| 276 | 89(pos): 88(ptr) Variable Input |
| 277 | 91: TypePointer Output 9(fvec4) |
| 278 | 92(@entryPointOutput): 91(ptr) Variable Output |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 279 | 4(main): 2 Function None 3 |
| 280 | 5: Label |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 281 | 87(pos): 7(ptr) Variable Function |
| 282 | 93(param): 7(ptr) Variable Function |
| 283 | 90: 6(int) Load 89(pos) |
| 284 | Store 87(pos) 90 |
| 285 | 94: 6(int) Load 87(pos) |
| 286 | Store 93(param) 94 |
| 287 | 95: 9(fvec4) FunctionCall 12(@main(u1;) 93(param) |
| 288 | Store 92(@entryPointOutput) 95 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 289 | Return |
| 290 | FunctionEnd |
| 291 | 12(@main(u1;): 9(fvec4) Function None 10 |
| 292 | 11(pos): 7(ptr) FunctionParameter |
| 293 | 13: Label |
| 294 | 18(mydata): 17(ptr) Variable Function |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 295 | 43(size): 7(ptr) Variable Function |
| 296 | 45(stride): 7(ptr) Variable Function |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 297 | 26: 6(int) Load 11(pos) |
steve-lunarg | dd8287a | 2017-02-23 18:04:12 -0700 | [diff] [blame] | 298 | 28: 27(ptr) AccessChain 23(sbuf) 25 26 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 299 | 29: 19(sb_t) Load 28 |
| 300 | 30: 14(fvec3) CompositeExtract 29 0 |
| 301 | 32: 31(ptr) AccessChain 18(mydata) 25 |
| 302 | Store 32 30 |
| 303 | 33: 6(int) CompositeExtract 29 1 |
John Kessenich | 80f92a1 | 2017-05-19 23:00:13 -0600 | [diff] [blame] | 304 | 36: 15(bool) INotEqual 33 35 |
| 305 | 38: 37(ptr) AccessChain 18(mydata) 34 |
| 306 | Store 38 36 |
| 307 | 39: 6(int) CompositeExtract 29 2 |
| 308 | 41: 15(bool) INotEqual 39 35 |
| 309 | 42: 37(ptr) AccessChain 18(mydata) 40 |
| 310 | Store 42 41 |
| 311 | 44: 24(int) ArrayLength 23(sbuf) 0 |
| 312 | Store 43(size) 44 |
| 313 | Store 45(stride) 46 |
| 314 | 47: 6(int) Load 11(pos) |
| 315 | 49: 48(ptr) AccessChain 23(sbuf) 25 47 34 |
| 316 | 50: 6(int) Load 49 |
| 317 | 51: 15(bool) INotEqual 50 35 |
| 318 | SelectionMerge 53 None |
| 319 | BranchConditional 51 52 74 |
| 320 | 52: Label |
| 321 | 54: 6(int) Load 11(pos) |
| 322 | 56: 55(ptr) AccessChain 23(sbuf) 25 54 25 |
| 323 | 57: 14(fvec3) Load 56 |
| 324 | 62: 6(int) Load 11(pos) |
| 325 | 64: 63(ptr) AccessChain 61(sbuf2) 25 62 |
| 326 | 65: 8(float) Load 64 |
| 327 | 66: 14(fvec3) CompositeConstruct 65 65 65 |
| 328 | 67: 14(fvec3) FAdd 57 66 |
| 329 | 69: 8(float) CompositeExtract 67 0 |
| 330 | 70: 8(float) CompositeExtract 67 1 |
| 331 | 71: 8(float) CompositeExtract 67 2 |
| 332 | 72: 9(fvec4) CompositeConstruct 69 70 71 68 |
| 333 | ReturnValue 72 |
| 334 | 74: Label |
| 335 | 76: 75(ptr) AccessChain 18(mydata) 25 35 |
| 336 | 77: 8(float) Load 76 |
| 337 | 78: 6(int) Load 43(size) |
| 338 | 79: 8(float) ConvertUToF 78 |
| 339 | 80: 8(float) FAdd 77 79 |
| 340 | 81: 6(int) Load 45(stride) |
| 341 | 82: 8(float) ConvertUToF 81 |
| 342 | 83: 8(float) FAdd 80 82 |
| 343 | 84: 9(fvec4) CompositeConstruct 83 83 83 83 |
| 344 | ReturnValue 84 |
| 345 | 53: Label |
| 346 | 86: 9(fvec4) Undef |
| 347 | ReturnValue 86 |
steve-lunarg | 5da1f03 | 2017-02-12 17:50:28 -0700 | [diff] [blame] | 348 | FunctionEnd |