commit | 0fb58836c42b9795c99c72b578aa03ab3bf6f17d | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sat Jun 03 05:51:49 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jun 03 05:51:49 2023 +0000 |
tree | aea0c0b7dcda10aed6c60bb804d59fa3797d1ca0 | |
parent | 6bf95bcb4b6a38073b20a2ecf7588050df9e995b [diff] |
Vulkan: Limit maxComputeInvocationsPerWorkgroup with computeSubgroupSize This patch fixes a bug in CreateComputePipeline() on Dawn Vulkan backend by limiting maxComputeInvocationsPerWorkgroup with computeSubgroupSize as Vulkan SPEC requires the total number of invocations per workgroup <= SubgroupSize x maxComputeWorkgroupSubgroups Bug: dawn:1860 Change-Id: Ice5a759a791a23d67d45f5777b70c7954680218b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/135381 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@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.