commit | c9a42f8d192686d585aa439f3363c25273865891 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Wed Nov 08 17:16:28 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 17:16:28 2023 +0000 |
tree | 370f701d490e4543bc52c7dbe6ae916b89ccdd1a | |
parent | 9083b5409a238083f68fd446a0f62c3bcc0e68f3 [diff] |
Fixes validation,error_scope:simple:errorType="out-of-memory";* tests The test was failing because creating the max 2d texture wasn't actually causing an OOM because the device limits are clamped downwards. By exposing an additional tier, the larger image now causes the OOM reliably. - Adds an additional tier for 1d/2d texture dimensions. - Makes sure that OOM error is surfaced instead of internal error in Vulkan's CreateImage. Bug: dawn:1960 Change-Id: Iaabfbf8f319697d0dcab1b8e8d8c3dc1046babcf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159662 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.