commit | 76ed4bdfd9957bf201c9cb17b37c64260325d303 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Oct 13 00:08:37 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 13 00:08:37 2023 +0000 |
tree | 639f9dca28a2becc15154cba3214d4a99b283e0e | |
parent | c9a050165f783d8cb9870596df0fb3095a10f9e7 [diff] |
Metal: Support larger maxInterStageShader limits This patch adds the support of larger maxInterStageShaderVariables and maxInterStageShaderComponents on Metal. On Apple silicons: - maxInterStageShaderVariables = "Inputs to a fragment function" (range from 60 to 124) - maxInterStageShaderComponents = "Input components to a fragment function" (124) On non-Apple silicons: - maxInterStageShaderVariables = "Inputs to a fragment function" - 4 (every built-in variable will consume an individual inter-stage shader variable according to the experiments) - maxInterStageShaderComponents = maxInterStageShaderVariables * 4 Bug: dawn:685, dawn:1448 Test: dawn_end2end_tests Change-Id: I414a81a61854fe7d230cac1e0200e90c02741bd7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155520 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.