mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 20:31:20 +00:00
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>