dawn-cmake/test/layout/storage/mat2x2
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
..
stride reader/spirv: Decompose arrays with strides 2022-02-04 15:39:34 +00:00
f32.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
f32.wgsl.expected.glsl GLSL: move entry point handling to CanonicalizeEntryPointIO transform. 2022-01-28 22:36:58 +00:00
f32.wgsl.expected.hlsl reader/spirv: Handle the MatrixStride decoration 2021-07-27 08:17:29 +00:00
f32.wgsl.expected.msl msl: Handle buffer variables in transform 2021-10-28 15:00:39 +00:00
f32.wgsl.expected.spvasm reader/spirv: Handle the MatrixStride decoration 2021-07-27 08:17:29 +00:00
f32.wgsl.expected.wgsl wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00