dawn-cmake/tools
Ben Clayton c768e640f4 tint/intrinsics.def: Change language for enums
Previously enum members were added to the global namespace, so that
overload template parameters could be constrained to a single
enum-entry without the need to declare a matcher. While this was a minor
convenience feature, it means that you cannot declare an enum with
members that share the same name as a type. This will be very common for
extensions, like 'f16' where 'f16' is the name of an extension and a
type name.

Change scoping so that enum members need to be fully qualified. Also
change the intrinsic syntax so that enums always need to use a matcher
for enums.

Change-Id: Ided91130e9df537d38dc8ecb41325c0992dea14b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97146
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-07-26 17:49:54 +00:00
..
cfi Add tools/cfi/ignores.txt 2022-07-25 15:56:38 +00:00
memory/asan Fix is_asan build (at least on Mac) 2020-04-06 22:27:02 +00:00
src tint/intrinsics.def: Change language for enums 2022-07-26 17:49:54 +00:00
ubsan gn: Add empty ubsan ignore list 2022-07-07 16:34:01 +00:00
check-no-crlf Kokoro: Ensure that no CRLF creep in 2022-04-08 16:55:56 +00:00
format Update tools/format 2022-04-19 14:44:14 +00:00
lint Fixup CQ and Kokoro lint mismatches. 2022-04-13 16:14:26 +00:00
roll-all roll-all: Fix args for GNU find(1) 2020-11-25 21:08:37 +00:00
run tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00
setup-build tools/setup-build: Properly emit release GN args 2022-05-25 22:47:23 +00:00
tint-generate-coverage Document the process of generating code coverage 2021-11-23 17:57:37 +00:00