commit | afcef3ee904389edb290ae9ac287a7c89d099f60 | [log] [tgz] |
---|---|---|
author | Hao Li <hao.x.li@intel.com> | Tue Dec 22 06:55:36 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Dec 22 06:55:36 2020 +0000 |
tree | df25e463e9e225e34ba5dd7c23d396402eeff2bd | |
parent | 3272f9da378705afbb507cf8d736100bd927ed83 [diff] |
Query API: Test the accuracy of timestamp compute shader Because the uint64 is not supported on all GPU drivers, we use uint32 and float to simulate the multiplication of uint64, but there is accuracy loss between the results and the expected results computed by uint64. This test checks that the accuracy loss is less than 0.2%. Bug: dawn:434 Change-Id: I6f5c842b6915f101441886bdfa4f9feb2827d174 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34120 Commit-Queue: Hao Li <hao.x.li@intel.com> 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.