dawn-cmake/docs
Corentin Wallez 1260a53018 Mark descriptor/options as optional for requestDevice/Adapter
These were not marked as optional previously because it would mean that
C++ methods would look like void F(a = null, b, c) which is invalid in C++
because default arguments must be contiguous and at the end of the
signature.

This commit adds a special case when optional=true where no_default=true
still marks the argument as optional, but doesn't produce a C++ default
argument.

Fixed: dawn:1502
Change-Id: I1b648d37edb94b8412109fc0a06a91bbbd31b8c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97002
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2022-07-26 17:36:44 +00:00
..
dawn Mark descriptor/options as optional for requestDevice/Adapter 2022-07-26 17:36:44 +00:00
imgs Shuffle 'docs' directories 2022-01-27 18:33:47 +00:00
tint tint: Clean up legacy type cruft 2022-07-15 17:16:49 +00:00
OWNERS Add top-level OWNERS and scope Tint owners more tightly. 2022-04-07 17:59:14 +00:00
building.md Cleanup duplicate files; Combine README and build docs. 2022-04-28 16:25:43 +00:00
clang-tidy.md [clang-tidy] Add ability to checkout clang-tidy. 2022-05-16 12:58:24 +00:00