From 38ba51ce7ad82a4b4935ca5e71ea1570e2dd9ca3 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Thu, 30 Jul 2020 09:15:27 +0000 Subject: [PATCH] Make shim headers at that point to Emscripten's headers live at ; this makes it so projects don't have to ifdef which #include path to use. Bug: dawn:160 Change-Id: I39efee44447470551a78db0abd062f4a2fe9083a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/26020 Reviewed-by: Austin Eng Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/include/webgpu/webgpu.h | 1 + src/include/webgpu/webgpu_cpp.h | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/include/webgpu/webgpu.h create mode 100644 src/include/webgpu/webgpu_cpp.h diff --git a/src/include/webgpu/webgpu.h b/src/include/webgpu/webgpu.h new file mode 100644 index 0000000000..4a29d37346 --- /dev/null +++ b/src/include/webgpu/webgpu.h @@ -0,0 +1 @@ +#include "dawn/webgpu.h" diff --git a/src/include/webgpu/webgpu_cpp.h b/src/include/webgpu/webgpu_cpp.h new file mode 100644 index 0000000000..5bbd869b94 --- /dev/null +++ b/src/include/webgpu/webgpu_cpp.h @@ -0,0 +1 @@ +#include