commit | a54554a52ad83c193121115e7efe3fca21a76944 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Mon Nov 13 08:24:12 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 13 08:24:12 2023 +0000 |
tree | 1837e29c5c56d8b7984d80bdd9bc11b657880562 | |
parent | 4a85e5d207b31f69a537fa28f042fef645d26198 [diff] |
Tint/HLSL: Don't pack level in coords for textureLoad on read-write storage textures This patch sets pack_level_in_coords to false for textureLoad() on read-write storage textures as mip levels aren't supported for RWTexture*D.load(). Without this patch when the HLSL shader with RWTexture*D.load() is compiled: - Below warning will be reported by FXC: warning X3206: 'Load': implicit truncation of vector type - Below warning will be reported by DXC: warning: implicit truncation of vector type [-Wconversion] This patch also updates the tint end2end tests by running ./test/run-all.sh with "--generate-expected". Bug: dawn:1972 Change-Id: I7a28b73a214d1363bec0b301b1d0d11ede026d37 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159920 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.