Simplify resource_table texture checks When checking if the texture kind is filterable in the resource_table transform we don't have to check against all filterable textures, we only have to check to see if the resource table texture is the filterable version of the texture type used in the call. We would have already validated that the type returned from getResource is correct for the texture call, so the type must be correct based on prior checks. Bug: 479179409 Change-Id: I3b3050a1e1c3a8f6f92d9fcd5ce86040f13b6dd3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/310355 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@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.