dawn-cmake/src
Ben Clayton bc6d30a2f8 dawn_node: Use IDL default parameter values
If the IDL provides a default value for a interface method parameter, then use that default value if no argument is provided.

Removes a bunch of std::optional<T>'s from the C++ interfaces, and simplifies binding implementations.

Also fix some defaults of buffer size from 0 to kWholeSize. This was partially done in an earlier CL, but it seems I missed a few.

Bug: dawn:1143
Change-Id: Ifc1bb29a5e7ead42dd015d2333c743165f2459a6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65663
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-10-05 19:32:34 +00:00
..
common Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
dawn Fix CMake build failures after recent changes 2021-09-21 01:07:35 +00:00
dawn_native Improve validation errors for Sampler 2021-10-05 01:09:00 +00:00
dawn_node dawn_node: Use IDL default parameter values 2021-10-05 19:32:34 +00:00
dawn_platform Implement AsyncWaitableEvent with std::condition_variable 2021-05-27 00:49:03 +00:00
dawn_wire Add 'reason' argument to device lost callback 2021-09-28 11:52:17 +00:00
fuzzers Enable use_tint_generator by default, disable shader_float16 2021-07-08 18:42:37 +00:00
include Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
tests Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
utils Fix all GCC 10 warnings 2021-09-23 17:34:53 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00