dawn-cmake/generator/templates
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
..
dawn_native Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00
dawn_wire Fix all GCC 10 warnings 2021-09-23 17:34:53 +00:00
opengl Implement EGLImage external texture API for GL. 2021-06-03 16:19:16 +00:00
.clang-format Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
dawn_proc.c Add Instance and CreateInstance to webgpu.h 2020-01-10 13:06:48 +00:00
dawn_proc_table.h Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
dawn_thread_dispatch_proc.cpp Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
library_webgpu_enum_tables.js Generate multiple variants of webgpu.h header 2021-09-17 19:44:43 +00:00
mock_webgpu.cpp Autogenerate all of the wire callback mocks 2020-12-17 17:59:37 +00:00
mock_webgpu.h Autogenerate all of the wire callback mocks 2020-12-17 17:59:37 +00:00
webgpu.h dawn.json changes to match upstream webgpu.h 2021-09-21 17:36:27 +00:00
webgpu_cpp.cpp Fix all GCC 10 warnings 2021-09-23 17:34:53 +00:00
webgpu_cpp.h Generate multiple variants of webgpu.h header 2021-09-17 19:44:43 +00:00
webgpu_cpp_print.h Add utilities for printing Dawn enums and bitmasks 2021-06-01 18:49:12 +00:00
webgpu_struct_info.json Generate multiple variants of webgpu.h header 2021-09-17 19:44:43 +00:00