commit | 8c012e879646b65924817b8dfb75c7073a0b1b02 | [log] [tgz] |
---|---|---|
author | Xinghua Cao <xinghua.cao@intel.com> | Thu Aug 27 02:56:05 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Aug 27 02:56:05 2020 +0000 |
tree | af9347d090336a83ad6cef49075d9ea1178cf481 | |
parent | 8575cb3ec773d43a86fe68eece70ae02cad6cfc5 [diff] |
D3D12: fix shader model comparison D3D12_SHADER_MODEL is encoded as 0xMm with M the major version and m the minor version. After decoding D3D12_SHADER_MODEL to a custom shader model format as Mm, which is a decimal value, it's meaningless to compare these two values. Bug: dawn:426 Change-Id: I3eb9a2a1392307616a5ac4d0aa49790bcc363629 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/27300 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Xinghua Cao <xinghua.cao@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.