[dawn][native] Quantize timestamp even on 1ns timestamp hardware The timestamp conversion compute shader is also used for quantization so run it if either quantization or conversion is needed. This adds a new capability query on backend devices to let the WebGPU backend tell the frontend that quantization is not needed since it's already taken care of by the inner device. Bug: 502434484 Change-Id: I070f5ed1427395a66e48d2a5d4fc360feedd0f0b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/305815 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.