commit | 0376ebe3df6e27499f75c486ece7dda3dec05cd0 | [log] [tgz] |
---|---|---|
author | Rafael Cintron <rafael.cintron@microsoft.com> | Fri Sep 03 17:29:20 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 03 17:29:20 2021 +0000 |
tree | 3becd7b0df886e3152dc976b173a9cfe99d53c49 | |
parent | 10b9cce816a38b37562b819ef8910957d928f45c [diff] |
Handle failed calls to ID3D12CommandQueue::GetTimestampFrequency ID2D12CommandQueue::GetTimestampFrequency returns an error HRESULT when there are bugs in Windows container and vGPU implementations. To workaround, we check the return value during adapter creation and disable the timestamp query extension upon failure. Device creation is still allowed to succeed when the method returns failure. Change-Id: Ie71f8712fc9f4f50e4ce26ecfec929b5b1a126d4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63225 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.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.