mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
Random indices were being generated in a manner that assumed the upper bound to a Random::GetUInt call was inclusive. Also, GetUInt64 was being used needlessly when GetUInt32 would suffice. This change addresses both issues. Fixes https://crbug.com/1250904 Change-Id: I9ad8e5beb3b52bcb867aeb745dec520c251cba60 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/64744 Auto-Submit: Alastair Donaldson <afdx@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Alastair Donaldson <afdx@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>