dawn-cmake/test/access/var
Ben Clayton 7103f51603 writer/msl: Fix swizzling on packed vectors
Metal 1.x does not support swizzling on packed_vec types.
Use array-index for single element selection (permitted on LHS and RHS of assignment)
Cast the packed_vec to a vec for multiple element swizzles (not permitted as the LHS of an assignment).

Fixed: tint:1249
Change-Id: I70cbb0c22a935b06b3905d24484bdc2edfb95fc2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67060
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-10-20 16:12:33 +00:00
..
matrix.spvasm test: Add some basic vector / matrix access tests 2021-05-17 22:26:57 +00:00
matrix.spvasm.expected.hlsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
matrix.spvasm.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
matrix.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
matrix.spvasm.expected.wgsl spirv-reader: Set workgroup size, but not specializable 2021-06-17 22:40:43 +00:00
matrix.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
matrix.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
matrix.wgsl.expected.msl writer/msl: Fix zero-valued matrix constructors 2021-05-19 11:15:58 +00:00
matrix.wgsl.expected.spvasm test: Add some basic vector / matrix access tests 2021-05-17 22:26:57 +00:00
matrix.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
vector.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
vector.spvasm.expected.hlsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
vector.spvasm.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
vector.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
vector.spvasm.expected.wgsl spirv-reader: Set workgroup size, but not specializable 2021-06-17 22:40:43 +00:00
vector.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00
vector.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
vector.wgsl.expected.msl writer/msl: Fix swizzling on packed vectors 2021-10-20 16:12:33 +00:00
vector.wgsl.expected.spvasm test: Add some basic vector / matrix access tests 2021-05-17 22:26:57 +00:00
vector.wgsl.expected.wgsl validation: compute shader must include 'workgroup_size' in its attributes 2021-06-29 18:39:44 +00:00