commit | 60ea71311d8d2e04023efdc98ae66c03644af669 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <sunnyps@chromium.org> | Wed Jun 19 01:50:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 19 01:50:46 2024 +0000 |
tree | c7f602c66a043e7b3e033162e76052cc77dfe57e | |
parent | d230450e25edb08eaaf613153fc26d94279a44d3 [diff] |
metal: Minimize sampler and texture state changes Keep track of current texture and sampler bindings for metal to minimize state changes even when bind groups are dirtied. This helps Graphite with Motionmark CSS tagged images test where different YUV textures are drawn with the same samplers, but we use different bind groups. Bug: 347282475 Change-Id: I232191d537f48c77ace8c967f7c49f914530c6f0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/193940 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Auto-Submit: Sunny Sachanandani <sunnyps@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.