dawn-cmake/test/tint/expressions
dan sinclair 2bcade246a Update MSL generator to handle casts of packed types.
Currently in the MSL backend we cast int values to uint in order to get
the correct WGSL behaviour for over/under flow. This fails in the case
of host shareable buffers as they use `packed` types which need to get
cast to the non-packed version first.

Bug: tint:1677
Change-Id: I57b70abaa8ca614472a26d63f19c1aef2bd64668
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103986
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-09-29 19:44:58 +00:00
..
binary Update MSL generator to handle casts of packed types. 2022-09-29 19:44:58 +00:00
bitcast tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
index tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
literals tint: HLSL and GLSL backends now emit 0 for inf and nan 2022-09-03 21:43:01 +00:00
splat tint: const eval of binary add 2022-08-04 19:48:27 +00:00
swizzle GLSL: implement host-visible memory padding. 2022-09-13 19:48:51 +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