| static matrix<float16_t, 3, 2> m = matrix<float16_t, 3, 2>(vector<float16_t, 2>(float16_t(0.0h), float16_t(1.0h)), vector<float16_t, 2>(float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 2>(float16_t(4.0h), float16_t(5.0h))); |
| RWByteAddressBuffer tint_symbol : register(u0); |
| |
| void tint_symbol_store(uint offset, matrix<float16_t, 3, 2> value) { |
| tint_symbol.Store<vector<float16_t, 2> >((offset + 0u), value[0u]); |
| tint_symbol.Store<vector<float16_t, 2> >((offset + 4u), value[1u]); |
| tint_symbol.Store<vector<float16_t, 2> >((offset + 8u), value[2u]); |
| } |
| |
| [numthreads(1, 1, 1)] |
| void f() { |
| tint_symbol_store(0u, matrix<float16_t, 3, 2>(m)); |
| return; |
| } |