mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-27 14:05:44 +00:00
Allocating buffers with sizes close to UINT64_MAX caused issues in all Vulkan drivers. See https://gitlab.khronos.org/vulkan/vulkan/issues/1904 for more context. Do early validation to prevent such cases from reaching the driver. Bug: dawn:241 Fixed: dawn:241 Change-Id: I7edbb25999b4c11767047518b69edc1fa624cd3b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14641 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>