dawn-cmake/generator/templates/dawn_native
Austin Eng 8411a12ab1 Add a mechanism for finding the best tier for a set of limits
Multiple groups of limits may be defined via macros.
ApplyLimitTiers degrades the incoming limits such that
each limit value within a group is clamped to the
best possible tier. A device may be in Tier 2 for one
limit group, but Tier 1 for another limit group.

Also adds equality operators to dawn_native generated structs
for comparison of expected limits in the test.

Bug: dawn:685
Change-Id: Ibdf947f2ccd44f70d66f48bed472ff5681230633
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/64720
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-09-28 01:04:10 +00:00
..
ChainUtils.cpp Add helper functions to iterate over ChainedStructs 2021-04-22 17:49:42 +00:00
ChainUtils.h Add helper functions to iterate over ChainedStructs 2021-04-22 17:49:42 +00:00
ProcTable.cpp Improve validation errors, Part 1 2021-09-23 21:26:33 +00:00
ValidationUtils.cpp Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
ValidationUtils.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
webgpu_absl_format.cpp Improve validation errors, Part 1 2021-09-23 21:26:33 +00:00
webgpu_absl_format.h Improve validation errors, Part 1 2021-09-23 21:26:33 +00:00
wgpu_structs.cpp Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00
wgpu_structs.h Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00