commit | c40f04b85bb5ecfe6dbea51a61037802d88af6af | [log] [tgz] |
---|---|---|
author | Shaobo Yan <shaobo.yan@intel.com> | Fri Jan 07 03:05:27 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 07 03:05:27 2022 +0000 |
tree | f38968cea06505a075aa4c6702590a7817624e19 | |
parent | e009ad7edd6882ca0f749bf1d8d52b844ffb56ae [diff] |
Support *-srgb format as dst formats in CopyTextureForBrowser Dawn allows texture-to-texture copy happens between the textures that formats only have diff on srgb-ness. CopyTextureForBrowser could align on this rule to achieve copying to *-srgb dst texture and keep the bytes the same as copying to non-srgb formats. This CL add support for *-srgb textures as dst textures and using an extra gamma decoding step for this. Bug: dawn:1195 Change-Id: I665dbca473aa84b9d87b7a35c4f90ce1897ade7b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/74580 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.