commit | bda245ad94fff1d511f0e3425501e1f5e811918a | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Sep 10 07:33:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 10 07:33:19 2024 +0000 |
tree | a32cfdf1e17882bb9a7e47d7abacd7a888c1821f | |
parent | fc3f2e6f80bc245a8777d5b7dd6ff7f99761283d [diff] |
Print all builtins in the error message of inter-stage shader variables This patch adds all the used built-in variables in the error message of the violation of maximum inter-stage shader variables. With this patch the error messages will be as below: - Total vertex output variables count (17 = 17 (user-defined)) exceeds the maximum (16). - Total vertex output variables count (17 = 15 (user-defined) + 2 (clip_distances)) exceeds the maximum (16). - Total fragment input variables count (17 = 17 (user-defined)) exceeds the maximum (16). - Total fragment input variables count (17 = 16 (user-defined) + 1 (front_facing) exceeds the maximum (16). - Total fragment input variables count (17 = 16 (user-defined) + 1 (front_facing|sample_mask) exceeds the maximum (16). - Total fragment input variables count (17 = 16 (user-defined) + 1 (front_facing|sample_mask|sample_index) exceeds the maximum (16). Bug: 364338810 Test: dawn_unittests Change-Id: I0a0ad7fe1bfb13b3a8ff11f4d707f45b167dcba8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/206034 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Gregg Tavares <gman@google.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.