commit | be6fb2a8d2f3c574ef0b3ced7b19c3a6541ece35 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Fri Jun 17 12:48:46 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 17 12:48:46 2022 +0000 |
tree | bef6fe2ddee74e09a14671d2dc85209365dd1907 | |
parent | 65d61d76a3c1ca808e17c94cea35dbb90d717997 [diff] |
tint: Fix emitting vector constant in HLSL writer This patch fix the issue that HLSL generator emit wrong constant element index for vectors with all elements being the same, which may cause error when emitting a matrix constant with sub columns having identical elements. Corresponding unit test is implemented. Bug: tint:1588 Change-Id: Ia40b3f1a676d84aadaa5ce900677547fb15abe7f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94041 Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.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.