commit | 25fe51a2ae1cf99027ee7e815c11c26bb289524b | [log] [tgz] |
---|---|---|
author | Yan Shaobo <shaobo.yan@intel.com> | Mon Jan 24 10:04:24 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 24 10:04:24 2022 +0000 |
tree | fcb756eff0a611f3f0a24cd36cb23f7e393c0c82 | |
parent | 9f12af291895a75310eeed51546c53e1cfa9c03f [diff] |
Suppress D3D12 Debug Layer warning D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET In the end2end test BufferZeroInitTests.PaddingInitialized, the case use drawIndex to access OOB vertexBuffer to see whether the padding part has been set to zero. The case use 'renderPass.SetVertexBuffer(0, vertexBuffer, vertexBufferOffset)' to set the vertexBuffer. But when the vertexBufferOffset == vertexBufferSize, this SetVertexBuffer won't create any vertex buffer view on D3D12 backend. And it turns out input slot 0 has nothing. This warning has been reported by win11 full debug layer. But this behaviour is allowed by WebGPU. So this CL suppress the warning D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET in D3D12 adapter. Bug: dawn:1255 Change-Id: I0dcf816b284cf7d7013f633186d010bae8fa6523 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/77640 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.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.