dawn-cmake/test/tint/expressions
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
..
binary tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
bitcast Update lexer to not include `-` in numbers. 2022-10-26 15:20:47 +00:00
index tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
literals Update lexer to not include `-` in numbers. 2022-10-26 15:20:47 +00:00
splat tint: const eval of binary add 2022-08-04 19:48:27 +00:00
swizzle tint/writer/msl: Move packed_vector hacks to transform 2022-10-27 14:36:49 +00:00
type_conv tint: add missing F16 conversion expression support 2022-09-01 03:08:20 +00:00
type_ctor tint: Add end-to-end tests for expressions using f16 types 2022-08-03 08:45:25 +00:00
unary tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
zero_init When emitting a MSL struct initializer emit the struct name. 2022-08-11 02:28:01 +00:00