mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-28 22:45:53 +00:00
2D Array texture might corrupt on some devices, making out-of-bound texture access and memory information leak from another texture. This is a critical security issue. This change aim at mitigating the security issue via allocating sufficent extra memory for each texture allocation for 2D array texture on such devices. Bug: dawn:949 Change-Id: I3629eeb13be872b2107effa55539e5c24522d0fc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96220 Commit-Queue: Yunchao He <yunchao.he@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>