dawn-cmake/test/tint/builtins/insertBits/scalar
Zhaoming Jiang 4f3f45c00f Tint/transform: Fix insertBits polyfill for HLSL
This CL fix insertBits polyfill to handle with the left-shifting
behavior in HLSL, i.e. `(1u << 32u) == (1u << 0u) == 1u` where we want
the result to be `0u`.

Fixed: tint:1743
Change-Id: Ibb82abe4ab2f76dbb0fa06057fb19f15f961d969
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108166
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-11-09 01:54:08 +00:00
..
i32.spvasm
i32.spvasm.expected.dxc.hlsl Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
i32.spvasm.expected.fxc.hlsl Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
i32.spvasm.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.spvasm.expected.msl
i32.spvasm.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
i32.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
u32.spvasm
u32.spvasm.expected.dxc.hlsl Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
u32.spvasm.expected.fxc.hlsl Tint/transform: Fix insertBits polyfill for HLSL 2022-11-09 01:54:08 +00:00
u32.spvasm.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
u32.spvasm.expected.msl
u32.spvasm.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
u32.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00