commit | aefe7d2223a97b0b1580b4f77e2dff40b6c56406 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Wed May 29 12:47:50 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 29 12:47:50 2024 +0000 |
tree | ba2d1c7766708c53a7a416a03affd9d42179ad4c | |
parent | a6d0fce00c2c52555abe2d79630382f6a5193df7 [diff] |
OpenGLES: baseVertex, baseInstance workaround. Use the Tint shader workaround to add baseVertex to gl_BaseVertex. Offset the pointer passed to glVertexAttrib[I]Pointer() by baseVertex or firstInstance, depending on buffer step mode. Split the BaseVertex end2end test into two, since negative BaseVertex is problematic on some platforms. Remove all the other codepaths; always use emulation for now. Remove all dependencies on the GL_ANGLE_base_vertex_base_instance extension. Change-Id: I8965c983ccd5588af28ba88b8e1d0d519b4422cc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190460 Commit-Queue: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@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.