commit | 3272f9da378705afbb507cf8d736100bd927ed83 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Dec 22 00:38:56 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Dec 22 00:38:56 2020 +0000 |
tree | e46b634dee11f5365d5b7ac12daa88d92c1648dc | |
parent | 3af532b8a8302e063847c5d1a5ca210b0170d182 [diff] |
GLES: Fix a bug in the impl of CopyBufferToTexture() with compressed formats In OpenGL ES glPixelStorei() doesn't affect the execution of glCompressedTexSubImage*D(), and GL_UNPACK_COMPRESSED_BLOCK_* is not defined in OpenGL ES, so on the OpenGL ES backends, to implement CopyBufferToTexture() with compressed texture formats, we can only copy the compressed texture data once per compressed block row. With this patch CompressedTextureBCFormatTest/* can pass on Intel Mesa OpenGL ES driver. BUG=dawn:42, dawn:580 TEST=dawn_end2end_tests Change-Id: Ied84a187beaf9105d3664c4e874b3b7ddda4e4b0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36020 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.