Corentin Wallez
1f6c8c4d54
Make dawn_native use the webgpu.h header
...
BUG=dawn:22
Change-Id: I66e2d998f5e09030e40ec88813cd65c492018fd0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12541
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-10-23 11:57:41 +00:00
Kai Ninomiya
93196db8ef
Implement new defaults for Texture::CreateView
...
https://github.com/gpuweb/gpuweb/pull/389 except for removing createDefaultView
https://github.com/gpuweb/gpuweb/pull/407
This will need to slightly change again when
https://github.com/gpuweb/gpuweb/pull/424 lands.
Bug: dawn:214
Change-Id: Id904b55cea6d77fcf7d971bd743468c7d82a9aa8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10440
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
2019-08-26 22:51:19 +00:00
Corentin Wallez
6fee61ca9c
Make Dawn error macro more explicit and have an "error type"
...
The error type will help distinguish between validation errors, context
losts and others which should be handled differently.
Take advantage of advantage of this to change DAWN_RETURN_ERROR to
"return DAWN_FOO_ERROR" to have the return be more explicit. Also
removes usage of DAWN_TRY_ASSERT for more explicit checks.
Change-Id: Icbce16b0c8d8eb084b0af2fc132acee776909a36
2018-09-11 07:55:27 -04:00
Corentin Wallez
49a65d0c0c
dawn_native: Fixup namespace from backend:: to dawn_native::
2018-07-25 11:27:55 +02:00
Corentin Wallez
d37523fbde
Move src/backend to src/dawn_native
2018-07-25 11:27:55 +02:00