mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
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>