dawn-cmake/test/tint/statements/compound_assign/vector
Ben Clayton a92f4259d5 tint/writer/msl: Move packed_vector hacks to transform
Attempting to paper over all the MSL standard library holes for packed_vector in the MSL writer added complexity to the writer, produced messy output, and didn't actually catch all the cases where casts were needed.

Add a new PackedVec3 transform that applies the packed_vector -> vec casts in a smarter, more precise way.

Fixed: tint:1534
Change-Id: I73ce7e5a62fbc9cb04e1093133070f5fb8965dce
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107340
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-10-27 14:36:49 +00:00
..
and.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
and.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
and.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
and.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
and.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
and.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
and.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
divide-scalar.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
divide-scalar.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
divide-scalar.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
divide-scalar.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
divide-scalar.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
divide-scalar.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
divide-scalar.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
divide.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
divide.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
divide.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
divide.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
divide.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
divide.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
divide.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
minus-scalar.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
minus-scalar.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
minus-scalar.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
minus-scalar.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
minus-scalar.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
minus-scalar.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
minus-scalar.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
minus.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
minus.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
minus.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
minus.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
minus.wgsl.expected.msl tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
minus.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
minus.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
modulo-scalar.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
modulo-scalar.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
modulo-scalar.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
modulo-scalar.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
modulo-scalar.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
modulo-scalar.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
modulo-scalar.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
modulo.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
modulo.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
modulo.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
modulo.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
modulo.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
modulo.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
modulo.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
or.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
or.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
or.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
or.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
or.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
or.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
or.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
plus-scalar.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
plus-scalar.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
plus-scalar.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
plus-scalar.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
plus-scalar.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
plus-scalar.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
plus-scalar.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
plus.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
plus.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
plus.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
plus.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
plus.wgsl.expected.msl tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
plus.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
plus.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
shift_left.wgsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_left.wgsl.expected.dxc.hlsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_left.wgsl.expected.fxc.hlsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_left.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
shift_left.wgsl.expected.msl tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
shift_left.wgsl.expected.spvasm Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_left.wgsl.expected.wgsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl.expected.dxc.hlsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl.expected.fxc.hlsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
shift_right.wgsl.expected.msl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl.expected.spvasm Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
shift_right.wgsl.expected.wgsl Add support for >>= and <<=. 2022-08-02 18:18:05 +00:00
times-matrix.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
times-matrix.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times-matrix.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times-matrix.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
times-matrix.wgsl.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
times-matrix.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
times-matrix.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
times-scalar.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
times-scalar.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times-scalar.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times-scalar.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
times-scalar.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
times-scalar.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
times-scalar.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
times.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
times.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
times.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
times.wgsl.expected.msl tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
times.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
times.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
xor.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00
xor.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
xor.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
xor.wgsl.expected.glsl GLSL: Change Add[Spirv]BlockAttribute to support GLSL 2022-09-02 19:19:10 +00:00
xor.wgsl.expected.msl msl: Implement compound assignment 2022-03-31 22:30:10 +00:00
xor.wgsl.expected.spvasm spirv: Implement compound assignment 2022-03-31 22:30:10 +00:00
xor.wgsl.expected.wgsl wgsl: Add support for compound assignment 2022-03-31 22:30:10 +00:00