[dawn] Fix webgpu_cpp.h swizzle equality operators These should only be included in versions of webgpu_cpp.h where TextureComponentSwizzle exists. Forgot to do that in the previous CL, which broke in Emscripten. Tested in a local Emscripten build. Bug: 414312052 Change-Id: I7efe38d25d0f66d7308c58959457d6d71d3f189c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265974 Reviewed-by: James Price <jrprice@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Commit-Queue: 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.