commit | f91b4d8cc43045aca8b2c64620356b6b78ea58a1 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Tue Mar 26 08:14:00 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 26 08:14:00 2024 +0000 |
tree | f85d3bf883fb31edcd12524e20abe7de06ac2e38 | |
parent | a18d1234f36d2c919105d4f52edf6d19dbaed127 [diff] |
[Static samplers] Add ability to chain static sampler in binding layout This CL adds the ability to chain a static sampler in a sampler binding layout, as well as initial validation and testing of static samplers: * They can be chained only if the relevant feature is enabled * If a static sampler is chained, it must contain a valid sampler object Nothing yet uses static samplers - that will be for followup CLs. Followup work will also add validation of the sampler object against the type specified in the sampler binding layout and tests of this validation. Change-Id: Ie5379590e36ab741ed659a07f92907ff471d6227 Bug: dawn:2463 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/179704 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Nicolette Prevost <nicolettep@google.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.