diff --git a/generator/templates/dawn/native/api_dawn_native_proc.cpp b/generator/templates/dawn/native/api_dawn_native_proc.cpp index f9147c6d40..e573c11df9 100644 --- a/generator/templates/dawn/native/api_dawn_native_proc.cpp +++ b/generator/templates/dawn/native/api_dawn_native_proc.cpp @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include +#include "dawn/{{metadata.api.lower()}}.h" namespace dawn::native { diff --git a/generator/templates/dawn/wire/WireCmd.h b/generator/templates/dawn/wire/WireCmd.h index f8c2762cf1..23a8685e7d 100644 --- a/generator/templates/dawn/wire/WireCmd.h +++ b/generator/templates/dawn/wire/WireCmd.h @@ -15,7 +15,7 @@ #ifndef DAWNWIRE_WIRECMD_AUTOGEN_H_ #define DAWNWIRE_WIRECMD_AUTOGEN_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/BufferConsumer.h" #include "dawn/wire/ObjectType_autogen.h" diff --git a/generator/templates/mock_api.h b/generator/templates/mock_api.h index 1c0a880f1a..85beb56ec4 100644 --- a/generator/templates/mock_api.h +++ b/generator/templates/mock_api.h @@ -19,8 +19,8 @@ {% set Prefix = metadata.proc_table_prefix %} {% set prefix = Prefix.lower() %} -#include -#include +#include "dawn/{{prefix}}_proc_table.h" +#include "dawn/{{api}}.h" #include #include diff --git a/include/dawn/dawn_wsi.h b/include/dawn/dawn_wsi.h index cf30dffa88..8e937b079d 100644 --- a/include/dawn/dawn_wsi.h +++ b/include/dawn/dawn_wsi.h @@ -15,7 +15,7 @@ #ifndef INCLUDE_DAWN_DAWN_WSI_H_ #define INCLUDE_DAWN_DAWN_WSI_H_ -#include +#include "dawn/webgpu.h" // Error message (or nullptr if there was no error) typedef const char* DawnSwapChainError; diff --git a/include/dawn/native/D3D12Backend.h b/include/dawn/native/D3D12Backend.h index 99a6c62702..58a9f21cf8 100644 --- a/include/dawn/native/D3D12Backend.h +++ b/include/dawn/native/D3D12Backend.h @@ -15,9 +15,6 @@ #ifndef INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ #define INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ -#include -#include - #include #include #include @@ -25,6 +22,9 @@ #include +#include "dawn/dawn_wsi.h" +#include "dawn/native/DawnNative.h" + struct ID3D12Device; struct ID3D12Resource; diff --git a/include/dawn/native/DawnNative.h b/include/dawn/native/DawnNative.h index dc54dedac2..81c3b6b08b 100644 --- a/include/dawn/native/DawnNative.h +++ b/include/dawn/native/DawnNative.h @@ -15,13 +15,13 @@ #ifndef INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ #define INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ -#include -#include -#include - #include #include +#include "dawn/dawn_proc_table.h" +#include "dawn/native/dawn_native_export.h" +#include "dawn/webgpu.h" + namespace dawn::platform { class Platform; } // namespace dawn::platform diff --git a/include/dawn/native/MetalBackend.h b/include/dawn/native/MetalBackend.h index dfe71148fc..239e6d224f 100644 --- a/include/dawn/native/MetalBackend.h +++ b/include/dawn/native/MetalBackend.h @@ -15,8 +15,8 @@ #ifndef INCLUDE_DAWN_NATIVE_METALBACKEND_H_ #define INCLUDE_DAWN_NATIVE_METALBACKEND_H_ -#include -#include +#include "dawn/dawn_wsi.h" +#include "dawn/native/DawnNative.h" // The specifics of the Metal backend expose types in function signatures that might not be // available in dependent's minimum supported SDK version. Suppress all availability errors using diff --git a/include/dawn/native/NullBackend.h b/include/dawn/native/NullBackend.h index 5df866456f..e94cf2ab3a 100644 --- a/include/dawn/native/NullBackend.h +++ b/include/dawn/native/NullBackend.h @@ -15,8 +15,8 @@ #ifndef INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ #define INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ -#include -#include +#include "dawn/dawn_wsi.h" +#include "dawn/native/DawnNative.h" namespace dawn::native::null { DAWN_NATIVE_EXPORT DawnSwapChainImplementation CreateNativeSwapChainImpl(); diff --git a/include/dawn/native/OpenGLBackend.h b/include/dawn/native/OpenGLBackend.h index 5077a5209e..43b8768675 100644 --- a/include/dawn/native/OpenGLBackend.h +++ b/include/dawn/native/OpenGLBackend.h @@ -17,8 +17,8 @@ typedef void* EGLImage; -#include -#include +#include "dawn/dawn_wsi.h" +#include "dawn/native/DawnNative.h" namespace dawn::native::opengl { diff --git a/include/dawn/native/VulkanBackend.h b/include/dawn/native/VulkanBackend.h index 5bbc00e35e..8ac9f8fe75 100644 --- a/include/dawn/native/VulkanBackend.h +++ b/include/dawn/native/VulkanBackend.h @@ -15,13 +15,13 @@ #ifndef INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ #define INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ -#include -#include - #include #include +#include "dawn/dawn_wsi.h" +#include "dawn/native/DawnNative.h" + namespace dawn::native::vulkan { DAWN_NATIVE_EXPORT VkInstance GetInstance(WGPUDevice device); diff --git a/include/dawn/platform/DawnPlatform.h b/include/dawn/platform/DawnPlatform.h index 1112a88b32..d3cb0be4bb 100644 --- a/include/dawn/platform/DawnPlatform.h +++ b/include/dawn/platform/DawnPlatform.h @@ -15,13 +15,12 @@ #ifndef INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ #define INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ -#include - #include #include #include #include "dawn/platform/dawn_platform_export.h" +#include "dawn/webgpu.h" namespace dawn::platform { diff --git a/include/webgpu/webgpu_cpp.h b/include/webgpu/webgpu_cpp.h index c8928cc7b3..f1a633356f 100644 --- a/include/webgpu/webgpu_cpp.h +++ b/include/webgpu/webgpu_cpp.h @@ -15,6 +15,6 @@ #ifndef INCLUDE_WEBGPU_WEBGPU_CPP_H_ #define INCLUDE_WEBGPU_WEBGPU_CPP_H_ -#include +#include "dawn/webgpu_cpp.h" #endif // INCLUDE_WEBGPU_WEBGPU_CPP_H_ diff --git a/src/dawn/native/d3d12/D3D11on12Util.cpp b/src/dawn/native/d3d12/D3D11on12Util.cpp index d48d41fe7a..6e1b91769d 100644 --- a/src/dawn/native/d3d12/D3D11on12Util.cpp +++ b/src/dawn/native/d3d12/D3D11on12Util.cpp @@ -22,7 +22,7 @@ #include "dawn/native/d3d12/D3D12Error.h" #include "dawn/native/d3d12/DeviceD3D12.h" -#include +#include "dawn/native/D3D12Backend.h" namespace dawn::native::d3d12 { diff --git a/src/dawn/native/d3d12/D3D11on12Util.h b/src/dawn/native/d3d12/D3D11on12Util.h index d6a2413baa..a0e037389f 100644 --- a/src/dawn/native/d3d12/D3D11on12Util.h +++ b/src/dawn/native/d3d12/D3D11on12Util.h @@ -19,9 +19,9 @@ #include "dawn/native/Error.h" #include "dawn/native/d3d12/d3d12_platform.h" -#include #include #include +#include "dawn/native/DawnNative.h" struct ID3D11On12Device; struct IDXGIKeyedMutex; diff --git a/src/dawn/native/d3d12/SwapChainD3D12.cpp b/src/dawn/native/d3d12/SwapChainD3D12.cpp index 0c23a01a25..c36b22a2f7 100644 --- a/src/dawn/native/d3d12/SwapChainD3D12.cpp +++ b/src/dawn/native/d3d12/SwapChainD3D12.cpp @@ -19,7 +19,7 @@ #include "dawn/native/d3d12/DeviceD3D12.h" #include "dawn/native/d3d12/TextureD3D12.h" -#include +#include "dawn/dawn_wsi.h" #include diff --git a/src/dawn/native/dawn_platform.h b/src/dawn/native/dawn_platform.h index 3be467bd34..125b96568b 100644 --- a/src/dawn/native/dawn_platform.h +++ b/src/dawn/native/dawn_platform.h @@ -16,9 +16,9 @@ #define SRC_DAWN_NATIVE_DAWN_PLATFORM_H_ // Use webgpu_cpp to have the enum and bitfield definitions -#include +#include "dawn/webgpu_cpp.h" -#include +#include "dawn/native/dawn_platform_autogen.h" namespace dawn::native { diff --git a/src/dawn/native/metal/SwapChainMTL.mm b/src/dawn/native/metal/SwapChainMTL.mm index 04e66fb6ec..758ea201e3 100644 --- a/src/dawn/native/metal/SwapChainMTL.mm +++ b/src/dawn/native/metal/SwapChainMTL.mm @@ -18,7 +18,7 @@ #include "dawn/native/metal/DeviceMTL.h" #include "dawn/native/metal/TextureMTL.h" -#include +#include "dawn/dawn_wsi.h" #import diff --git a/src/dawn/native/opengl/SwapChainGL.cpp b/src/dawn/native/opengl/SwapChainGL.cpp index e59bb9ff8d..9f82f6c405 100644 --- a/src/dawn/native/opengl/SwapChainGL.cpp +++ b/src/dawn/native/opengl/SwapChainGL.cpp @@ -18,7 +18,7 @@ #include "dawn/native/opengl/Forward.h" #include "dawn/native/opengl/TextureGL.h" -#include +#include "dawn/dawn_wsi.h" namespace dawn::native::opengl { diff --git a/src/dawn/native/utils/WGPUHelpers.h b/src/dawn/native/utils/WGPUHelpers.h index c46c3be026..2f4d8963c3 100644 --- a/src/dawn/native/utils/WGPUHelpers.h +++ b/src/dawn/native/utils/WGPUHelpers.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_NATIVE_UTILS_WGPUHELPERS_H_ #define SRC_DAWN_NATIVE_UTILS_WGPUHELPERS_H_ -#include +#include "dawn/native/dawn_platform.h" #include #include diff --git a/src/dawn/platform/BUILD.gn b/src/dawn/platform/BUILD.gn index 2d1cb00900..c2c81444dc 100644 --- a/src/dawn/platform/BUILD.gn +++ b/src/dawn/platform/BUILD.gn @@ -35,7 +35,7 @@ dawn_component("platform") { deps = [ "${dawn_root}/src/dawn/common" ] public_deps = [ - # DawnPlatform.h has #include + # DawnPlatform.h has #include "dawn/webgpu.h" "${dawn_root}/include/dawn:headers", ] } diff --git a/src/dawn/samples/ManualSwapChainTest.cpp b/src/dawn/samples/ManualSwapChainTest.cpp index 9c6e757409..eef626818a 100644 --- a/src/dawn/samples/ManualSwapChainTest.cpp +++ b/src/dawn/samples/ManualSwapChainTest.cpp @@ -58,10 +58,10 @@ #include "dawn/utils/ScopedAutoreleasePool.h" #include "dawn/utils/WGPUHelpers.h" -#include -#include -#include #include "GLFW/glfw3.h" +#include "dawn/dawn_proc.h" +#include "dawn/native/DawnNative.h" +#include "dawn/webgpu_cpp.h" #include #include diff --git a/src/dawn/samples/SampleUtils.h b/src/dawn/samples/SampleUtils.h index d7f6d172e9..59528bd093 100644 --- a/src/dawn/samples/SampleUtils.h +++ b/src/dawn/samples/SampleUtils.h @@ -15,8 +15,8 @@ #ifndef SRC_DAWN_SAMPLES_SAMPLEUTILS_H_ #define SRC_DAWN_SAMPLES_SAMPLEUTILS_H_ -#include -#include +#include "dawn/dawn_wsi.h" +#include "dawn/webgpu_cpp.h" bool InitSample(int argc, const char** argv); void DoFlush(); diff --git a/src/dawn/tests/BUILD.gn b/src/dawn/tests/BUILD.gn index 0fee0dd776..4b3a942fa2 100644 --- a/src/dawn/tests/BUILD.gn +++ b/src/dawn/tests/BUILD.gn @@ -345,6 +345,7 @@ source_set("end2end_tests_sources") { # Statically linked because the end2end white_box tests use Dawn internals. "${dawn_root}/src/dawn/native:static", + "${dawn_root}/src/dawn/platform:platform", "${dawn_root}/src/dawn/utils", "${dawn_root}/src/dawn/wire", ] @@ -572,6 +573,7 @@ dawn_test("dawn_end2end_tests") { "${dawn_root}/src/dawn:proc", "${dawn_root}/src/dawn/common", "${dawn_root}/src/dawn/native:static", + "${dawn_root}/src/dawn/platform:platform", "${dawn_root}/src/dawn/utils", "${dawn_root}/src/dawn/wire", ] diff --git a/src/dawn/tests/DawnTest.h b/src/dawn/tests/DawnTest.h index 29095e8583..72d4ab3e0a 100644 --- a/src/dawn/tests/DawnTest.h +++ b/src/dawn/tests/DawnTest.h @@ -27,9 +27,9 @@ #include "dawn/webgpu_cpp.h" #include "dawn/webgpu_cpp_print.h" -#include #include #include +#include "dawn/platform/DawnPlatform.h" #include #include diff --git a/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h b/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h index bd0abe37d1..854391d68f 100644 --- a/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h +++ b/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ #define SRC_DAWN_UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ -#include +#include "dawn/webgpu_cpp.h" #include "dawn/common/Constants.h" diff --git a/src/dawn/utils/ComboRenderPipelineDescriptor.h b/src/dawn/utils/ComboRenderPipelineDescriptor.h index 1de61f50c8..8411161aea 100644 --- a/src/dawn/utils/ComboRenderPipelineDescriptor.h +++ b/src/dawn/utils/ComboRenderPipelineDescriptor.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ #define SRC_DAWN_UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ -#include +#include "dawn/webgpu_cpp.h" #include "dawn/common/Constants.h" diff --git a/src/dawn/utils/TestUtils.h b/src/dawn/utils/TestUtils.h index e33cb1b5b7..d6b39e5cf2 100644 --- a/src/dawn/utils/TestUtils.h +++ b/src/dawn/utils/TestUtils.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_UTILS_TESTUTILS_H_ #define SRC_DAWN_UTILS_TESTUTILS_H_ -#include +#include "dawn/webgpu_cpp.h" namespace utils { diff --git a/src/dawn/utils/TextureUtils.h b/src/dawn/utils/TextureUtils.h index 26e60bf2de..a92bc9dddb 100644 --- a/src/dawn/utils/TextureUtils.h +++ b/src/dawn/utils/TextureUtils.h @@ -17,7 +17,7 @@ #include -#include +#include "dawn/webgpu_cpp.h" #include "dawn/common/Assert.h" diff --git a/src/dawn/utils/WGPUHelpers.h b/src/dawn/utils/WGPUHelpers.h index 8279def821..8ea55b4548 100644 --- a/src/dawn/utils/WGPUHelpers.h +++ b/src/dawn/utils/WGPUHelpers.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_UTILS_WGPUHELPERS_H_ #define SRC_DAWN_UTILS_WGPUHELPERS_H_ -#include +#include "dawn/webgpu_cpp.h" #include #include diff --git a/src/dawn/wire/SupportedFeatures.h b/src/dawn/wire/SupportedFeatures.h index 0045155918..602d291cf9 100644 --- a/src/dawn/wire/SupportedFeatures.h +++ b/src/dawn/wire/SupportedFeatures.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_SUPPORTEDFEATURES_H_ #define SRC_DAWN_WIRE_SUPPORTEDFEATURES_H_ -#include +#include "dawn/webgpu.h" namespace dawn::wire { diff --git a/src/dawn/wire/client/Adapter.h b/src/dawn/wire/client/Adapter.h index 4afc687a30..615e88a39f 100644 --- a/src/dawn/wire/client/Adapter.h +++ b/src/dawn/wire/client/Adapter.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_ADAPTER_H_ #define SRC_DAWN_WIRE_CLIENT_ADAPTER_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/WireClient.h" #include "dawn/wire/WireCmd_autogen.h" diff --git a/src/dawn/wire/client/Buffer.h b/src/dawn/wire/client/Buffer.h index c1539c514e..c11082f8b6 100644 --- a/src/dawn/wire/client/Buffer.h +++ b/src/dawn/wire/client/Buffer.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_BUFFER_H_ #define SRC_DAWN_WIRE_CLIENT_BUFFER_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/WireClient.h" #include "dawn/wire/client/ObjectBase.h" diff --git a/src/dawn/wire/client/Client.h b/src/dawn/wire/client/Client.h index 47cc53c5d1..bfc78acb2d 100644 --- a/src/dawn/wire/client/Client.h +++ b/src/dawn/wire/client/Client.h @@ -15,8 +15,8 @@ #ifndef SRC_DAWN_WIRE_CLIENT_CLIENT_H_ #define SRC_DAWN_WIRE_CLIENT_CLIENT_H_ -#include -#include +#include "dawn/webgpu.h" +#include "dawn/wire/Wire.h" #include "dawn/common/LinkedList.h" #include "dawn/common/NonCopyable.h" diff --git a/src/dawn/wire/client/Device.h b/src/dawn/wire/client/Device.h index e254c123b9..70a8731309 100644 --- a/src/dawn/wire/client/Device.h +++ b/src/dawn/wire/client/Device.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_DEVICE_H_ #define SRC_DAWN_WIRE_CLIENT_DEVICE_H_ -#include +#include "dawn/webgpu.h" #include "dawn/common/LinkedList.h" #include "dawn/wire/WireCmd_autogen.h" diff --git a/src/dawn/wire/client/Instance.h b/src/dawn/wire/client/Instance.h index b13d507934..8f11e7210d 100644 --- a/src/dawn/wire/client/Instance.h +++ b/src/dawn/wire/client/Instance.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_INSTANCE_H_ #define SRC_DAWN_WIRE_CLIENT_INSTANCE_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/WireClient.h" #include "dawn/wire/WireCmd_autogen.h" diff --git a/src/dawn/wire/client/LimitsAndFeatures.h b/src/dawn/wire/client/LimitsAndFeatures.h index bdc903b72b..ee44324d70 100644 --- a/src/dawn/wire/client/LimitsAndFeatures.h +++ b/src/dawn/wire/client/LimitsAndFeatures.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_LIMITSANDFEATURES_H_ #define SRC_DAWN_WIRE_CLIENT_LIMITSANDFEATURES_H_ -#include +#include "dawn/webgpu.h" #include diff --git a/src/dawn/wire/client/ObjectBase.h b/src/dawn/wire/client/ObjectBase.h index b56816c6d9..0d6484ed6b 100644 --- a/src/dawn/wire/client/ObjectBase.h +++ b/src/dawn/wire/client/ObjectBase.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_OBJECTBASE_H_ #define SRC_DAWN_WIRE_CLIENT_OBJECTBASE_H_ -#include +#include "dawn/webgpu.h" #include "dawn/common/LinkedList.h" #include "dawn/wire/ObjectType_autogen.h" diff --git a/src/dawn/wire/client/Queue.h b/src/dawn/wire/client/Queue.h index bd29a6f52d..f95ca40fd9 100644 --- a/src/dawn/wire/client/Queue.h +++ b/src/dawn/wire/client/Queue.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_QUEUE_H_ #define SRC_DAWN_WIRE_CLIENT_QUEUE_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/WireClient.h" #include "dawn/wire/client/ObjectBase.h" diff --git a/src/dawn/wire/client/ShaderModule.h b/src/dawn/wire/client/ShaderModule.h index c74c0d270c..3646611101 100644 --- a/src/dawn/wire/client/ShaderModule.h +++ b/src/dawn/wire/client/ShaderModule.h @@ -15,7 +15,7 @@ #ifndef SRC_DAWN_WIRE_CLIENT_SHADERMODULE_H_ #define SRC_DAWN_WIRE_CLIENT_SHADERMODULE_H_ -#include +#include "dawn/webgpu.h" #include "dawn/wire/client/ObjectBase.h" #include "dawn/wire/client/RequestTracker.h" diff --git a/src/include/dawn/EnumClassBitmasks.h b/src/include/dawn/EnumClassBitmasks.h index 6e6e37c794..7d76b37792 100644 --- a/src/include/dawn/EnumClassBitmasks.h +++ b/src/include/dawn/EnumClassBitmasks.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ #define SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ -#include +#include "dawn/EnumClassBitmasks.h" #endif // SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ diff --git a/src/include/dawn/dawn_proc.h b/src/include/dawn/dawn_proc.h index 2fd5e96848..2bea48b5ea 100644 --- a/src/include/dawn/dawn_proc.h +++ b/src/include/dawn/dawn_proc.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_DAWN_PROC_H_ #define SRC_INCLUDE_DAWN_DAWN_PROC_H_ -#include +#include "dawn/dawn_proc.h" #endif // SRC_INCLUDE_DAWN_DAWN_PROC_H_ diff --git a/src/include/dawn/dawn_thread_dispatch_proc.h b/src/include/dawn/dawn_thread_dispatch_proc.h index 4028e66ff7..126e50cafd 100644 --- a/src/include/dawn/dawn_thread_dispatch_proc.h +++ b/src/include/dawn/dawn_thread_dispatch_proc.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ #define SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ -#include +#include "dawn/dawn_thread_dispatch_proc.h" #endif // SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ diff --git a/src/include/dawn/dawn_wsi.h b/src/include/dawn/dawn_wsi.h index 414ea3a927..3803d3911d 100644 --- a/src/include/dawn/dawn_wsi.h +++ b/src/include/dawn/dawn_wsi.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_DAWN_WSI_H_ #define SRC_INCLUDE_DAWN_DAWN_WSI_H_ -#include +#include "dawn/dawn_wsi.h" #endif // SRC_INCLUDE_DAWN_DAWN_WSI_H_ diff --git a/src/include/dawn/webgpu.h b/src/include/dawn/webgpu.h index 1efae373bb..2fec78c3c2 100644 --- a/src/include/dawn/webgpu.h +++ b/src/include/dawn/webgpu.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_WEBGPU_H_ #define SRC_INCLUDE_DAWN_WEBGPU_H_ -#include +#include "dawn/webgpu.h" #endif // SRC_INCLUDE_DAWN_WEBGPU_H_ diff --git a/src/include/dawn_native/D3D12Backend.h b/src/include/dawn_native/D3D12Backend.h index 8678ba44e3..c740c81b0d 100644 --- a/src/include/dawn_native/D3D12Backend.h +++ b/src/include/dawn_native/D3D12Backend.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ -#include +#include "dawn/native/D3D12Backend.h" #endif // SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ diff --git a/src/include/dawn_native/DawnNative.h b/src/include/dawn_native/DawnNative.h index 75708b66c3..197187f21b 100644 --- a/src/include/dawn_native/DawnNative.h +++ b/src/include/dawn_native/DawnNative.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ #define SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ -#include +#include "dawn/native/DawnNative.h" #endif // SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ diff --git a/src/include/dawn_native/MetalBackend.h b/src/include/dawn_native/MetalBackend.h index 27a3c31041..38ce8748f8 100644 --- a/src/include/dawn_native/MetalBackend.h +++ b/src/include/dawn_native/MetalBackend.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ -#include +#include "dawn/native/MetalBackend.h" #endif // SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ diff --git a/src/include/dawn_native/NullBackend.h b/src/include/dawn_native/NullBackend.h index dbf6e0de1a..e09f36b651 100644 --- a/src/include/dawn_native/NullBackend.h +++ b/src/include/dawn_native/NullBackend.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ -#include +#include "dawn/native/NullBackend.h" #endif // SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ diff --git a/src/include/dawn_native/OpenGLBackend.h b/src/include/dawn_native/OpenGLBackend.h index cc40eb629e..73800a0d94 100644 --- a/src/include/dawn_native/OpenGLBackend.h +++ b/src/include/dawn_native/OpenGLBackend.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ -#include +#include "dawn/native/OpenGLBackend.h" #endif // SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ diff --git a/src/include/dawn_native/VulkanBackend.h b/src/include/dawn_native/VulkanBackend.h index 5925028230..82e2e5304d 100644 --- a/src/include/dawn_native/VulkanBackend.h +++ b/src/include/dawn_native/VulkanBackend.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ -#include +#include "dawn/native/VulkanBackend.h" #endif // SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ diff --git a/src/include/dawn_native/dawn_native_export.h b/src/include/dawn_native/dawn_native_export.h index d9d386ef85..7edd9bc4e7 100644 --- a/src/include/dawn_native/dawn_native_export.h +++ b/src/include/dawn_native/dawn_native_export.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ #define SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ -#include +#include "dawn/native/dawn_native_export.h" #endif // SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ diff --git a/src/include/dawn_platform/DawnPlatform.h b/src/include/dawn_platform/DawnPlatform.h index b364202592..75faafc91a 100644 --- a/src/include/dawn_platform/DawnPlatform.h +++ b/src/include/dawn_platform/DawnPlatform.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ #define SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ -#include +#include "dawn/platform/DawnPlatform.h" #endif // SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ diff --git a/src/include/dawn_wire/Wire.h b/src/include/dawn_wire/Wire.h index 70a081b1e8..65924db21d 100644 --- a/src/include/dawn_wire/Wire.h +++ b/src/include/dawn_wire/Wire.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_WIRE_WIRE_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRE_H_ -#include +#include "dawn/wire/Wire.h" #endif // SRC_INCLUDE_DAWN_WIRE_WIRE_H_ diff --git a/src/include/dawn_wire/WireClient.h b/src/include/dawn_wire/WireClient.h index 2cd7baa2c9..bf4b589f7a 100644 --- a/src/include/dawn_wire/WireClient.h +++ b/src/include/dawn_wire/WireClient.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ -#include +#include "dawn/wire/WireClient.h" #endif // SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ diff --git a/src/include/dawn_wire/WireServer.h b/src/include/dawn_wire/WireServer.h index 1868aa8158..d332eaec88 100644 --- a/src/include/dawn_wire/WireServer.h +++ b/src/include/dawn_wire/WireServer.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ -#include +#include "dawn/wire/WireServer.h" #endif // SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ diff --git a/src/include/dawn_wire/dawn_wire_export.h b/src/include/dawn_wire/dawn_wire_export.h index d41e6b6cc7..b1a885e502 100644 --- a/src/include/dawn_wire/dawn_wire_export.h +++ b/src/include/dawn_wire/dawn_wire_export.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ #define SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ -#include +#include "dawn/wire/dawn_wire_export.h" #endif // SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ diff --git a/src/include/webgpu/webgpu_cpp.h b/src/include/webgpu/webgpu_cpp.h index cd509aff4b..adf4e4440d 100644 --- a/src/include/webgpu/webgpu_cpp.h +++ b/src/include/webgpu/webgpu_cpp.h @@ -15,6 +15,6 @@ #ifndef SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_ #define SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_ -#include +#include "dawn/webgpu_cpp.h" #endif // SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_