dawn-cmake/generator/templates
Austin Eng 4379e8f34f dawn_wire: Only generate has_member for optional members
We were generating has_member for all pointer members which meant
it was possible to incorrectly pass nullptr for required arguments.

Bug: chromium:1009166
Change-Id: I5e32bab5ccae010468e55897ae9840ab8fda684f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11760
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-10-02 06:35:08 +00:00
..
dawn_native Remove Bit from TextureUsageBit and BufferUsageBit 2019-08-27 08:21:39 +00:00
dawn_wire dawn_wire: Only generate has_member for optional members 2019-10-02 06:35:08 +00:00
opengl Rename ContextLost to DeviceLost 2019-08-27 18:10:03 +00:00
api.c Capitalize C types dawn -> Dawn 2019-03-11 16:52:42 +00:00
api.h Rename DeviceErrorCallback to ErrorCallback and add ErrorType arg 2019-08-27 21:41:56 +00:00
apicpp.cpp Implement CreateBufferMapped in dawn_native for MAP_WRITE buffers only. 2019-05-15 18:55:22 +00:00
apicpp.h Use whole size of buffer if binding buffer size is UINT64_MAX 2019-07-17 08:54:19 +00:00
mock_api.cpp Add empty implementations of Push/PopErrorScope 2019-09-04 22:54:03 +00:00
mock_api.h Add empty implementations of Push/PopErrorScope 2019-09-04 22:54:03 +00:00