Fix MinBufferSizeDefaultLayoutTests.RenderPassConsidersBothStages This test was passing on SPIRV-Cross due to SPRIV-Cross's overreporting of binding information per entry point. On Tint it was failing, because the resources in the vertex shader were not being referenced, so not being reported. I have corrected the values passed to the utility code that generates the shaders, so that it generates the needed references. I have also slightly tweaked the test, so it will distinguish between failure states better. BUG=tint:716 Change-Id: If88f600a36cba8b580d888e902b8d8102e05bd10 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48520 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.