commit | dd817230abc003ee1924056dd813b6b383db4588 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Jan 12 08:10:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 12 08:10:46 2024 +0000 |
tree | eccb579b692243288a58449c20e0662bd2dec3cc | |
parent | f9116da616f933fd96ea97967fa942a8f6f04ea0 [diff] |
Tint/HLSL: Support Shader Model 6.6 Pack/Unpack intrinsics This patch adds the support of Shader Model 6.6 pack/unpack intrinsics to implement the packing and unpacking built-in functions in `packed_4x8_integer_dot_product`. Note that currently we cannot use the HLSL intrinsic `pack_clamp_u8()` because now this function accepts an `int32_t4` as its parameter instead of `uint32_t4` (see below DXC issue: https://github.com/microsoft/DirectXShaderCompiler/issues/5091). Bug: tint:1497 Test: dawn_end2end_tests Change-Id: I00d869d349e7f8bd323a0b091ee417776e68721d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/166824 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
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.