mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 03:41:34 +00:00
This includes several changes to make dawn.h closer to webgpu.h (apart from the renames and copyright changes): - Make nextInChain follow the same type convention as the rest of the header. - Add defines that allow skipping the procs definition or the functions declaration part of the header. - Sort the methods by name for each object. - Put the callback definition inside extern "C" - Make the enums typedef have the name of the enum twice. BUG=dawn:22 Change-Id: I36e4587d60ca43886636ebd19d54752004f4696d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11903 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>