Ben Clayton
009d129103
reader/spirv: Decompose arrays with strides
...
Transform any SPIR-V that has an array with a custom stride:
@stride(S) array<T, N>
into:
struct strided_arr {
@size(S) er : T;
};
array<strided_arr, N>
Also remove any @stride decorations that match the default array stride.
Bug: tint:1394
Bug: tint:1381
Change-Id: I8be8f3a76c5335fdb2bc5183388366091dbc7642
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78781
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-02-04 15:39:34 +00:00
..
2022-01-20 22:11:07 +00:00
2022-01-28 22:36:58 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-28 22:36:58 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-28 22:36:58 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2021-06-02 17:23:03 +00:00
2022-01-28 22:36:58 +00:00
2021-07-05 15:20:57 +00:00
2021-06-18 09:47:23 +00:00
2021-06-10 17:34:44 +00:00
2022-01-19 18:11:17 +00:00
2022-01-20 22:11:07 +00:00
2022-01-28 22:36:58 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-20 22:11:07 +00:00
2022-01-19 22:46:57 +00:00
2022-01-28 22:36:58 +00:00
2021-07-05 15:20:57 +00:00
2021-06-16 09:19:36 +00:00
2021-06-02 17:23:03 +00:00
2022-01-19 22:46:57 +00:00
2022-01-19 22:46:57 +00:00
2022-01-28 22:36:58 +00:00
2021-07-05 15:20:57 +00:00
2021-06-16 09:19:36 +00:00
2021-06-02 17:23:03 +00:00
2022-01-19 22:46:57 +00:00
2022-01-19 22:46:57 +00:00
2022-01-28 22:36:58 +00:00
2021-09-02 13:49:59 +00:00
2021-09-02 13:49:59 +00:00
2021-09-02 13:49:59 +00:00
2022-01-19 22:46:57 +00:00
2022-02-04 15:39:34 +00:00
2022-02-04 15:39:34 +00:00
2022-02-04 15:39:34 +00:00
2022-02-04 15:39:34 +00:00
2022-02-04 15:39:34 +00:00
2022-02-04 15:39:34 +00:00
2022-01-19 22:46:57 +00:00
2022-01-28 22:36:58 +00:00
2021-07-05 15:20:57 +00:00
2021-07-30 18:59:06 +00:00
2021-06-01 12:08:20 +00:00
2022-01-19 22:46:57 +00:00