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