commit | ab00dd0725d6f28d8c6cee1c5dbd7887b836af4f | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Jan 10 01:09:28 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 10 01:09:28 2023 +0000 |
tree | 579bd80693d04b9686076dbb22d47223b48044fc | |
parent | 6f6abafbf64e4409f526d26bb1e1b402cf4728e8 [diff] |
Remove ShaderModuleValidationTest.FragmentOutputLocationExceedsMaxColorAttachments This patch removes the test ShaderModuleValidationTest.FragmentOutputLocationExceedsMaxColorAttachments from dawn_unittests because now the emission of the validation errors about the maximum value of fragment output location is delayed from CreateShaderModule() to CreateRenderPipeline(), however this test expects the error will still be reported in CreateShaderModule(). Previously this test can still pass because kMaxColorAttachments is declared as an uint8_t, so it will be added as "\b" (ascii code is 8) in string stream when constructing the shader, then we can still get a shader-creation error because it is not an integer that is inside the bracket of the location() expression. Bug: dawn:986 Change-Id: Iaf03f83b2c27e3d9e986f813b2086726b51a0aeb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116554 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
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.