dawn-cmake/generator/templates
Corentin Wallez 8f93871dff Add default values to dawn.json for dawncpp.h
This adds almost all default values in descriptors that are present in
WebGPU to the C++ interface for Dawn.

This also fixes the indentation of dawncpp.h both by reindenting the
template, and making the indentation counting in generator_lib.py more
precise.

BUG=dawn:22

Change-Id: I9a852d26f78a3349f3d6eee7237407d1cf8ca426
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8680
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2019-07-08 19:20:22 +00:00
..
dawn_native Nuke Builders part 4: headers, proctable and miscreferences 2019-04-01 21:48:38 +00:00
dawn_wire dawn.json: Use void* instead of uint8_t* for data pointers 2019-06-06 16:19:15 +00:00
opengl Remove glad and replace it with our own GL header 2019-06-17 09:17:29 +00:00
api.c Capitalize C types dawn -> Dawn 2019-03-11 16:52:42 +00:00
api.h Implement CreateBufferMappedAsync in dawn_wire and dawn_native 2019-06-14 17:35: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 Add default values to dawn.json for dawncpp.h 2019-07-08 19:20:22 +00:00
mock_api.cpp Implement CreateBufferMappedAsync in dawn_wire and dawn_native 2019-06-14 17:35:56 +00:00
mock_api.h Implement CreateBufferMappedAsync in dawn_wire and dawn_native 2019-06-14 17:35:56 +00:00