OpenGLES: remove texture copy workaround. This path should no longer be necessary, now that Compatibility validates out the cases where multiple views of the same texture are required. Note: it's not possible to turn this into an assert, since (for example) Desktop GL always requires the creation of a new texture view when binding the stencil-only aspect, for example. Compat doesn't need this because validation doesn't allow binding of both depth-only and stencil-only views of the same texture. It might be possible to inspect the bindings at a higher level, and determine create a glTextureView if both depth-only and stencil-only are used. But since the desktop GL backend is not shipping at the moment and this doesn't apply to GLES, this is not a high priority. Change-Id: I01966e3f5fcf48e2751743c0d825653a2b4a53bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190762 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Stephen White <senorblanco@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.