commit | 51a1e67e802616886be3a46b0f3da2897bf4784c | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Thu Nov 23 10:24:33 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 23 10:24:33 2023 |
tree | ead01998c6aa9669351ba96e5fa5be6879d3d670 | |
parent | a9775a2ac54a1f291e495e913d96b3409543ec02 [diff] |
GraphiteDawn: create device with max supported limits. Previously, we always created Graphite's wgpu::Device with default texture max size = 8192. However a wgpu::Adapter might support a limit larger than that. In order to use that limit we have to explicitly specify it in the DeviceDescriptor. A WebGPU can create a device with texture size limit larger than the default as well. When that happens, if WebGPU created an SI with size=10k, it wouldn't be able to be imported to Graphite because Graphite's device was still using the default limit (8192). Bug: 1502076 Change-Id: Icbdc992f1738509c73533eb6dfc2338fe6ab454d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5055646 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1228365}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.