mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 08:57:26 +00:00
1. Validate the buffer range for both vertex step mode and instance step mode vertex buffers in Draw, 2. Validate the buffer range for instance step mode vertex buffers and the range of index buffer in DrawIndexed, and 3. Add related validation unit tests DrawVertexAndIndexBufferOOBValidationTests, and remove out-of-date vertex buffer robustness tests. Bug: dawn:808 Change-Id: Ic27a95138cb1e21b72a1da392b7828368bfe2010 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56361 Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: Austin Eng <enga@chromium.org>