commit | aaaf70aee2093b9243919749be78c300f35fe215 | [log] [tgz] |
---|---|---|
author | Yan <shaobo.yan@intel.com> | Tue Nov 23 02:18:28 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 23 02:18:28 2021 +0000 |
tree | 1cb717b90436a6d53b7939d4e396921a9b599659 | |
parent | 0e9be588dac74f2dbec4b28904edd9d4404c8762 [diff] |
Remove *-srgb formats from CopyTextureForBrowser() supporting lists Current implementation of CopyTextureForBrowser() uses sampler to load and store values in shader to *-srgb format textures. This is the wrong implementation because it cannot reserve the origin bytes. This CL remove *-srgb formats from supporting lists. This CL also refactor CopyTextureForBrowserTest to reduce duplication and prepare for color space conversion test case. Bug: dawn:1195 Change-Id: Ib00d863e99bde8c7bf86fbb8ff93f0c799babe23 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/70040 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@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.