commit | 038ebe9efa82eaa7f63c89cee1f8ac41b04c6ff7 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Tue Aug 08 16:42:42 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 08 16:42:42 2023 +0000 |
tree | 7895ce294f3cc62c16eaf9f7164feefd29c417ce | |
parent | cc06e477bc011fd8a770d2250ec74f380da8e77a [diff] |
[webgpu-headers] Removes compatibility macros and header for WGPUBool. This change should only land after the following change(s) land: - https://chromium-review.googlesource.com/c/chromium/src/+/4740397 github.com/webgpu-native/webgpu-headers/issues/84 Change-Id: I66b5eb077b678de4eff312b6628f0d9b54871867 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/144205 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/generator/templates/api.h b/generator/templates/api.h index 393e5b4..a0f5821 100644 --- a/generator/templates/api.h +++ b/generator/templates/api.h
@@ -69,14 +69,12 @@ #include <stdint.h> #include <stddef.h> -#include <stdbool.h> {% for constant in by_category["constant"] %} #define {{API}}_{{constant.name.SNAKE_CASE()}} {{constant.value}} {% endfor %} typedef uint32_t {{API}}Flags; -#define WGPU_BREAKING_CHANGE_BOOL typedef uint32_t {{API}}Bool; {% for type in by_category["object"] %}