commit | ad9d3936ec4f2c431988ff75a77ab67b4eb1e05d | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Aug 01 22:00:01 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 01 22:00:01 2024 +0000 |
tree | e8daef3745f7f439447db5c2459e7d03aaf014ef | |
parent | 904fc2078a8261fc724af9368bebb15de3fe28a1 [diff] |
Only check the color channels available in the current color format This patch optimizes the function `NeedsBigIntClear()` to only check the color channels that are available in the current color format. Bug: dawn:537 Test: dawn_end2end_tests Change-Id: I51b8ed818a247976d07fa281b6f441e59976e8fb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200895 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
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.