Enable build/header_guard This CL enables the build/header_guard lint check. The existing headers which failed the check were updated, missing headers added. An exclusion file for the generator templates was added as well. Bug: dawn:1339 Change-Id: If572e460179ad501293d5d6cf01e0ea900daa979 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86207 Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/generator/templates/CPPLINT.cfg b/generator/templates/CPPLINT.cfg new file mode 100644 index 0000000..51ff339 --- /dev/null +++ b/generator/templates/CPPLINT.cfg
@@ -0,0 +1 @@ +exclude_files=.*
diff --git a/include/dawn/CPPLINT.cfg b/include/dawn/CPPLINT.cfg index 88211b8..cab84f8 100644 --- a/include/dawn/CPPLINT.cfg +++ b/include/dawn/CPPLINT.cfg
@@ -1,4 +1,3 @@ -filter=-build/header_guard filter=-build/include_order filter=-readability/inheritance filter=-runtime/explicit
diff --git a/include/dawn/EnumClassBitmasks.h b/include/dawn/EnumClassBitmasks.h index 3947f00..e5272f3 100644 --- a/include/dawn/EnumClassBitmasks.h +++ b/include/dawn/EnumClassBitmasks.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_ENUM_CLASS_BITMASKS_H_ -#define DAWN_ENUM_CLASS_BITMASKS_H_ +#ifndef INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ +#define INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ #include <type_traits> @@ -153,4 +153,4 @@ } // namespace dawn -#endif // DAWN_ENUM_CLASS_BITMASKS_H_ +#endif // INCLUDE_DAWN_ENUMCLASSBITMASKS_H_
diff --git a/include/dawn/dawn_proc.h b/include/dawn/dawn_proc.h index adeec46..94cc306 100644 --- a/include/dawn/dawn_proc.h +++ b/include/dawn/dawn_proc.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_DAWN_PROC_H_ -#define DAWN_DAWN_PROC_H_ +#ifndef INCLUDE_DAWN_DAWN_PROC_H_ +#define INCLUDE_DAWN_DAWN_PROC_H_ #include "dawn/dawn_proc_table.h" #include "dawn/webgpu.h" @@ -33,4 +33,4 @@ } // extern "C" #endif -#endif // DAWN_DAWN_PROC_H_ +#endif // INCLUDE_DAWN_DAWN_PROC_H_
diff --git a/include/dawn/dawn_thread_dispatch_proc.h b/include/dawn/dawn_thread_dispatch_proc.h index 4d08ba8..7b12c67 100644 --- a/include/dawn/dawn_thread_dispatch_proc.h +++ b/include/dawn/dawn_thread_dispatch_proc.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_DAWN_THREAD_DISPATCH_PROC_H_ -#define DAWN_DAWN_THREAD_DISPATCH_PROC_H_ +#ifndef INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ +#define INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ #include "dawn/dawn_proc.h" @@ -30,4 +30,4 @@ } // extern "C" #endif -#endif // DAWN_DAWN_THREAD_DISPATCH_PROC_H_ +#endif // INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_
diff --git a/include/dawn/dawn_wsi.h b/include/dawn/dawn_wsi.h index f1a6047..cf30dff 100644 --- a/include/dawn/dawn_wsi.h +++ b/include/dawn/dawn_wsi.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_DAWN_WSI_H_ -#define DAWN_DAWN_WSI_H_ +#ifndef INCLUDE_DAWN_DAWN_WSI_H_ +#define INCLUDE_DAWN_DAWN_WSI_H_ #include <dawn/webgpu.h> @@ -83,4 +83,4 @@ } DawnWSIContextVulkan; #endif -#endif // DAWN_DAWN_WSI_H +#endif // INCLUDE_DAWN_DAWN_WSI_H_
diff --git a/include/dawn/native/D3D12Backend.h b/include/dawn/native/D3D12Backend.h index 6f11bb7..599921b 100644 --- a/include/dawn/native/D3D12Backend.h +++ b/include/dawn/native/D3D12Backend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12BACKEND_H_ -#define DAWNNATIVE_D3D12BACKEND_H_ +#ifndef INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ +#define INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ #include <dawn/dawn_wsi.h> #include <dawn/native/DawnNative.h> @@ -108,4 +108,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12BACKEND_H_ +#endif // INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_
diff --git a/include/dawn/native/DawnNative.h b/include/dawn/native/DawnNative.h index d62d0ef..d6ccaca 100644 --- a/include/dawn/native/DawnNative.h +++ b/include/dawn/native/DawnNative.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_DAWNNATIVE_H_ -#define DAWNNATIVE_DAWNNATIVE_H_ +#ifndef INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ +#define INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ #include <dawn/dawn_proc_table.h> #include <dawn/native/dawn_native_export.h> @@ -258,4 +258,4 @@ // TODO(dawn:824): Remove once the deprecation period is passed. namespace dawn_native = dawn::native; -#endif // DAWNNATIVE_DAWNNATIVE_H_ +#endif // INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_
diff --git a/include/dawn/native/MetalBackend.h b/include/dawn/native/MetalBackend.h index 54b01ce..dfe7114 100644 --- a/include/dawn/native/MetalBackend.h +++ b/include/dawn/native/MetalBackend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METALBACKEND_H_ -#define DAWNNATIVE_METALBACKEND_H_ +#ifndef INCLUDE_DAWN_NATIVE_METALBACKEND_H_ +#define INCLUDE_DAWN_NATIVE_METALBACKEND_H_ #include <dawn/dawn_wsi.h> #include <dawn/native/DawnNative.h> @@ -70,4 +70,4 @@ #pragma clang diagnostic pop -#endif // DAWNNATIVE_METALBACKEND_H_ +#endif // INCLUDE_DAWN_NATIVE_METALBACKEND_H_
diff --git a/include/dawn/native/NullBackend.h b/include/dawn/native/NullBackend.h index d2799e3..5df8664 100644 --- a/include/dawn/native/NullBackend.h +++ b/include/dawn/native/NullBackend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_NULLBACKEND_H_ -#define DAWNNATIVE_NULLBACKEND_H_ +#ifndef INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ +#define INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ #include <dawn/dawn_wsi.h> #include <dawn/native/DawnNative.h> @@ -22,4 +22,4 @@ DAWN_NATIVE_EXPORT DawnSwapChainImplementation CreateNativeSwapChainImpl(); } // namespace dawn::native::null -#endif // DAWNNATIVE_NULLBACKEND_H_ +#endif // INCLUDE_DAWN_NATIVE_NULLBACKEND_H_
diff --git a/include/dawn/native/OpenGLBackend.h b/include/dawn/native/OpenGLBackend.h index 53c878c..5077a52 100644 --- a/include/dawn/native/OpenGLBackend.h +++ b/include/dawn/native/OpenGLBackend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGLBACKEND_H_ -#define DAWNNATIVE_OPENGLBACKEND_H_ +#ifndef INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ +#define INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ typedef void* EGLImage; @@ -52,4 +52,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGLBACKEND_H_ +#endif // INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_
diff --git a/include/dawn/native/VulkanBackend.h b/include/dawn/native/VulkanBackend.h index a02cc3c..5bbc00e 100644 --- a/include/dawn/native/VulkanBackend.h +++ b/include/dawn/native/VulkanBackend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKANBACKEND_H_ -#define DAWNNATIVE_VULKANBACKEND_H_ +#ifndef INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ +#define INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ #include <dawn/dawn_wsi.h> #include <dawn/native/DawnNative.h> @@ -137,4 +137,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKANBACKEND_H_ +#endif // INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_
diff --git a/include/dawn/native/dawn_native_export.h b/include/dawn/native/dawn_native_export.h index ffbd9cc..329b1a1 100644 --- a/include/dawn/native/dawn_native_export.h +++ b/include/dawn/native/dawn_native_export.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_EXPORT_H_ -#define DAWNNATIVE_EXPORT_H_ +#ifndef INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ +#define INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ #if defined(DAWN_NATIVE_SHARED_LIBRARY) # if defined(_WIN32) @@ -33,4 +33,4 @@ # define DAWN_NATIVE_EXPORT #endif // defined(DAWN_NATIVE_SHARED_LIBRARY) -#endif // DAWNNATIVE_EXPORT_H_ +#endif // INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_
diff --git a/include/dawn/platform/DawnPlatform.h b/include/dawn/platform/DawnPlatform.h index d983794..0ace9f8 100644 --- a/include/dawn/platform/DawnPlatform.h +++ b/include/dawn/platform/DawnPlatform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNPLATFORM_DAWNPLATFORM_H_ -#define DAWNPLATFORM_DAWNPLATFORM_H_ +#ifndef INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ +#define INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ #include "dawn/platform/dawn_platform_export.h" @@ -116,4 +116,4 @@ // TODO(dawn:824): Remove once the deprecation period is passed. namespace dawn_platform = dawn::platform; -#endif // DAWNPLATFORM_DAWNPLATFORM_H_ +#endif // INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_
diff --git a/include/dawn/platform/dawn_platform_export.h b/include/dawn/platform/dawn_platform_export.h index 0626467..e8d22e3 100644 --- a/include/dawn/platform/dawn_platform_export.h +++ b/include/dawn/platform/dawn_platform_export.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNPLATFORM_EXPORT_H_ -#define DAWNPLATFORM_EXPORT_H_ +#ifndef INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_ +#define INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_ #if defined(DAWN_PLATFORM_SHARED_LIBRARY) # if defined(_WIN32) @@ -33,4 +33,4 @@ # define DAWN_PLATFORM_EXPORT #endif // defined(DAWN_PLATFORM_SHARED_LIBRARY) -#endif // DAWNPLATFORM_EXPORT_H_ +#endif // INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_
diff --git a/include/dawn/wire/Wire.h b/include/dawn/wire/Wire.h index 6e63b3e..10028e0 100644 --- a/include/dawn/wire/Wire.h +++ b/include/dawn/wire/Wire.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_WIRE_H_ -#define DAWNWIRE_WIRE_H_ +#ifndef INCLUDE_DAWN_WIRE_WIRE_H_ +#define INCLUDE_DAWN_WIRE_WIRE_H_ #include <cstdint> #include <limits> @@ -76,4 +76,4 @@ // TODO(dawn:824): Remove once the deprecation period is passed. namespace dawn_wire = dawn::wire; -#endif // DAWNWIRE_WIRE_H_ +#endif // INCLUDE_DAWN_WIRE_WIRE_H_
diff --git a/include/dawn/wire/WireClient.h b/include/dawn/wire/WireClient.h index d5e9629..ddda1d3 100644 --- a/include/dawn/wire/WireClient.h +++ b/include/dawn/wire/WireClient.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_WIRECLIENT_H_ -#define DAWNWIRE_WIRECLIENT_H_ +#ifndef INCLUDE_DAWN_WIRE_WIRECLIENT_H_ +#define INCLUDE_DAWN_WIRE_WIRECLIENT_H_ #include "dawn/dawn_proc_table.h" #include "dawn/wire/Wire.h" @@ -180,4 +180,4 @@ } // namespace client } // namespace dawn::wire -#endif // DAWNWIRE_WIRECLIENT_H_ +#endif // INCLUDE_DAWN_WIRE_WIRECLIENT_H_
diff --git a/include/dawn/wire/WireServer.h b/include/dawn/wire/WireServer.h index b561bbb..2e37446 100644 --- a/include/dawn/wire/WireServer.h +++ b/include/dawn/wire/WireServer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_WIRESERVER_H_ -#define DAWNWIRE_WIRESERVER_H_ +#ifndef INCLUDE_DAWN_WIRE_WIRESERVER_H_ +#define INCLUDE_DAWN_WIRE_WIRESERVER_H_ #include <memory> @@ -147,4 +147,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_WIRESERVER_H_ +#endif // INCLUDE_DAWN_WIRE_WIRESERVER_H_
diff --git a/include/dawn/wire/dawn_wire_export.h b/include/dawn/wire/dawn_wire_export.h index 8043f61..285d5db 100644 --- a/include/dawn/wire/dawn_wire_export.h +++ b/include/dawn/wire/dawn_wire_export.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_EXPORT_H_ -#define DAWNWIRE_EXPORT_H_ +#ifndef INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ +#define INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ #if defined(DAWN_WIRE_SHARED_LIBRARY) # if defined(_WIN32) @@ -33,4 +33,4 @@ # define DAWN_WIRE_EXPORT #endif // defined(DAWN_WIRE_SHARED_LIBRARY) -#endif // DAWNWIRE_EXPORT_H_ +#endif // INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_
diff --git a/include/webgpu/CPPLINT.cfg b/include/webgpu/CPPLINT.cfg index 7077645..88c6f99 100644 --- a/include/webgpu/CPPLINT.cfg +++ b/include/webgpu/CPPLINT.cfg
@@ -1,2 +1 @@ -filter=-build/header_guard filter=-legal/copyright
diff --git a/include/webgpu/webgpu.h b/include/webgpu/webgpu.h index 4a29d37..0e3bc28 100644 --- a/include/webgpu/webgpu.h +++ b/include/webgpu/webgpu.h
@@ -1 +1,6 @@ +#ifndef INCLUDE_WEBGPU_WEBGPU_H_ +#define INCLUDE_WEBGPU_WEBGPU_H_ + #include "dawn/webgpu.h" + +#endif // INCLUDE_WEBGPU_WEBGPU_H_
diff --git a/include/webgpu/webgpu_cpp.h b/include/webgpu/webgpu_cpp.h index 5bbd869..4f5ea4e 100644 --- a/include/webgpu/webgpu_cpp.h +++ b/include/webgpu/webgpu_cpp.h
@@ -1 +1,6 @@ +#ifndef INCLUDE_WEBGPU_WEBGPU_CPP_H_ +#define INCLUDE_WEBGPU_WEBGPU_CPP_H_ + #include <dawn/webgpu_cpp.h> + +#endif // INCLUDE_WEBGPU_WEBGPU_CPP_H_
diff --git a/src/dawn/CPPLINT.cfg b/src/dawn/CPPLINT.cfg index ad70cb4..4cc4411 100644 --- a/src/dawn/CPPLINT.cfg +++ b/src/dawn/CPPLINT.cfg
@@ -1,4 +1,3 @@ -filter=-build/header_guard filter=-build/include_order filter=-build/include_what_you_use filter=-build/namespaces
diff --git a/src/dawn/common/Alloc.h b/src/dawn/common/Alloc.h index 940d5ff..c13b33b 100644 --- a/src/dawn/common/Alloc.h +++ b/src/dawn/common/Alloc.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ALLOC_H_ -#define COMMON_ALLOC_H_ +#ifndef SRC_DAWN_COMMON_ALLOC_H_ +#define SRC_DAWN_COMMON_ALLOC_H_ #include <cstddef> #include <new> @@ -30,4 +30,4 @@ return new (std::nothrow) T[count]; } -#endif // COMMON_ALLOC_H_ +#endif // SRC_DAWN_COMMON_ALLOC_H_
diff --git a/src/dawn/common/Assert.h b/src/dawn/common/Assert.h index e7961d7..ee9eeb4 100644 --- a/src/dawn/common/Assert.h +++ b/src/dawn/common/Assert.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ASSERT_H_ -#define COMMON_ASSERT_H_ +#ifndef SRC_DAWN_COMMON_ASSERT_H_ +#define SRC_DAWN_COMMON_ASSERT_H_ #include "dawn/common/Compiler.h" @@ -77,4 +77,4 @@ int line, const char* condition); -#endif // COMMON_ASSERT_H_ +#endif // SRC_DAWN_COMMON_ASSERT_H_
diff --git a/src/dawn/common/BitSetIterator.h b/src/dawn/common/BitSetIterator.h index f14a76c..a6d3a23 100644 --- a/src/dawn/common/BitSetIterator.h +++ b/src/dawn/common/BitSetIterator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_BITSETITERATOR_H_ -#define COMMON_BITSETITERATOR_H_ +#ifndef SRC_DAWN_COMMON_BITSETITERATOR_H_ +#define SRC_DAWN_COMMON_BITSETITERATOR_H_ #include "dawn/common/Assert.h" #include "dawn/common/Math.h" @@ -136,4 +136,4 @@ return BitSetIterator<N, uint32_t>(bitset); } -#endif // COMMON_BITSETITERATOR_H_ +#endif // SRC_DAWN_COMMON_BITSETITERATOR_H_
diff --git a/src/dawn/common/Compiler.h b/src/dawn/common/Compiler.h index ae4f5c0..db75933 100644 --- a/src/dawn/common/Compiler.h +++ b/src/dawn/common/Compiler.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_COMPILER_H_ -#define COMMON_COMPILER_H_ +#ifndef SRC_DAWN_COMMON_COMPILER_H_ +#define SRC_DAWN_COMMON_COMPILER_H_ // Defines macros for compiler-specific functionality // - DAWN_COMPILER_[CLANG|GCC|MSVC]: Compiler detection @@ -94,4 +94,4 @@ # define DAWN_NOINLINE #endif -#endif // COMMON_COMPILER_H_ +#endif // SRC_DAWN_COMMON_COMPILER_H_
diff --git a/src/dawn/common/ConcurrentCache.h b/src/dawn/common/ConcurrentCache.h index e11b646..87543ef 100644 --- a/src/dawn/common/ConcurrentCache.h +++ b/src/dawn/common/ConcurrentCache.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_CONCURRENT_CACHE_H_ -#define COMMON_CONCURRENT_CACHE_H_ +#ifndef SRC_DAWN_COMMON_CONCURRENTCACHE_H_ +#define SRC_DAWN_COMMON_CONCURRENTCACHE_H_ #include "dawn/common/NonCopyable.h" @@ -51,4 +51,4 @@ std::unordered_set<T*, typename T::HashFunc, typename T::EqualityFunc> mCache; }; -#endif +#endif // SRC_DAWN_COMMON_CONCURRENTCACHE_H_
diff --git a/src/dawn/common/Constants.h b/src/dawn/common/Constants.h index 13b5995..a5d20ab 100644 --- a/src/dawn/common/Constants.h +++ b/src/dawn/common/Constants.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_CONSTANTS_H_ -#define COMMON_CONSTANTS_H_ +#ifndef SRC_DAWN_COMMON_CONSTANTS_H_ +#define SRC_DAWN_COMMON_CONSTANTS_H_ #include <cstdint> @@ -65,4 +65,4 @@ // A spec defined constant but that doesn't have a name. static constexpr uint32_t kMaxBindingNumber = 65535; -#endif // COMMON_CONSTANTS_H_ +#endif // SRC_DAWN_COMMON_CONSTANTS_H_
diff --git a/src/dawn/common/CoreFoundationRef.h b/src/dawn/common/CoreFoundationRef.h index e6cafbe..f77e8e0 100644 --- a/src/dawn/common/CoreFoundationRef.h +++ b/src/dawn/common/CoreFoundationRef.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_COREFOUNDATIONREF_H_ -#define COMMON_COREFOUNDATIONREF_H_ +#ifndef SRC_DAWN_COMMON_COREFOUNDATIONREF_H_ +#define SRC_DAWN_COMMON_COREFOUNDATIONREF_H_ #include "dawn/common/RefBase.h" @@ -43,4 +43,4 @@ return ref; } -#endif // COMMON_COREFOUNDATIONREF_H_ +#endif // SRC_DAWN_COMMON_COREFOUNDATIONREF_H_
diff --git a/src/dawn/common/DynamicLib.h b/src/dawn/common/DynamicLib.h index 66d846e..00f3960 100644 --- a/src/dawn/common/DynamicLib.h +++ b/src/dawn/common/DynamicLib.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_DYNAMICLIB_H_ -#define COMMON_DYNAMICLIB_H_ +#ifndef SRC_DAWN_COMMON_DYNAMICLIB_H_ +#define SRC_DAWN_COMMON_DYNAMICLIB_H_ #include "dawn/common/Assert.h" @@ -51,4 +51,4 @@ void* mHandle = nullptr; }; -#endif // COMMON_DYNAMICLIB_H_ +#endif // SRC_DAWN_COMMON_DYNAMICLIB_H_
diff --git a/src/dawn/common/GPUInfo.h b/src/dawn/common/GPUInfo.h index 26c9103..9a03677 100644 --- a/src/dawn/common/GPUInfo.h +++ b/src/dawn/common/GPUInfo.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_GPUINFO_H -#define COMMON_GPUINFO_H +#ifndef SRC_DAWN_COMMON_GPUINFO_H_ +#define SRC_DAWN_COMMON_GPUINFO_H_ #include <array> #include <cstdint> @@ -63,4 +63,4 @@ bool IsCoffeelake(PCIDeviceID deviceId); } // namespace gpu_info -#endif // COMMON_GPUINFO_H +#endif // SRC_DAWN_COMMON_GPUINFO_H_
diff --git a/src/dawn/common/HashUtils.h b/src/dawn/common/HashUtils.h index e59e8c5..3aaa960 100644 --- a/src/dawn/common/HashUtils.h +++ b/src/dawn/common/HashUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_HASHUTILS_H_ -#define COMMON_HASHUTILS_H_ +#ifndef SRC_DAWN_COMMON_HASHUTILS_H_ +#define SRC_DAWN_COMMON_HASHUTILS_H_ #include "dawn/common/Platform.h" #include "dawn/common/TypedInteger.h" @@ -98,4 +98,4 @@ }; } // namespace std -#endif // COMMON_HASHUTILS_H_ +#endif // SRC_DAWN_COMMON_HASHUTILS_H_
diff --git a/src/dawn/common/IOKitRef.h b/src/dawn/common/IOKitRef.h index 4ff4413..43119a46 100644 --- a/src/dawn/common/IOKitRef.h +++ b/src/dawn/common/IOKitRef.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_IOKITREF_H_ -#define COMMON_IOKITREF_H_ +#ifndef SRC_DAWN_COMMON_IOKITREF_H_ +#define SRC_DAWN_COMMON_IOKITREF_H_ #include "dawn/common/RefBase.h" @@ -43,4 +43,4 @@ return ref; } -#endif // COMMON_IOKITREF_H_ +#endif // SRC_DAWN_COMMON_IOKITREF_H_
diff --git a/src/dawn/common/LinkedList.h b/src/dawn/common/LinkedList.h index 673f596..81d6889 100644 --- a/src/dawn/common/LinkedList.h +++ b/src/dawn/common/LinkedList.h
@@ -8,8 +8,8 @@ // - Added in list check before removing node to prevent segfault, now returns true iff removed // - Added MoveInto functionality for moving list elements to another list -#ifndef COMMON_LINKED_LIST_H -#define COMMON_LINKED_LIST_H +#ifndef SRC_DAWN_COMMON_LINKEDLIST_H_ +#define SRC_DAWN_COMMON_LINKEDLIST_H_ #include "dawn/common/Assert.h" @@ -271,4 +271,4 @@ return LinkedListIterator<T>(l.tail()->next()); } -#endif // COMMON_LINKED_LIST_H +#endif // SRC_DAWN_COMMON_LINKEDLIST_H_
diff --git a/src/dawn/common/Log.h b/src/dawn/common/Log.h index 0504af6..d2b4fdb 100644 --- a/src/dawn/common/Log.h +++ b/src/dawn/common/Log.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_LOG_H_ -#define COMMON_LOG_H_ +#ifndef SRC_DAWN_COMMON_LOG_H_ +#define SRC_DAWN_COMMON_LOG_H_ // Dawn targets shouldn't use iostream or printf directly for several reasons: // - iostream adds static initializers which we want to avoid. @@ -92,4 +92,4 @@ } // namespace dawn -#endif // COMMON_LOG_H_ +#endif // SRC_DAWN_COMMON_LOG_H_
diff --git a/src/dawn/common/Math.h b/src/dawn/common/Math.h index 9ef02d0..5938443 100644 --- a/src/dawn/common/Math.h +++ b/src/dawn/common/Math.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_MATH_H_ -#define COMMON_MATH_H_ +#ifndef SRC_DAWN_COMMON_MATH_H_ +#define SRC_DAWN_COMMON_MATH_H_ #include "dawn/common/Assert.h" @@ -104,4 +104,4 @@ return bitsAlsoInSet == subset; } -#endif // COMMON_MATH_H_ +#endif // SRC_DAWN_COMMON_MATH_H_
diff --git a/src/dawn/common/NSRef.h b/src/dawn/common/NSRef.h index 5bf4914..ddec95e 100644 --- a/src/dawn/common/NSRef.h +++ b/src/dawn/common/NSRef.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_NSREF_H_ -#define COMMON_NSREF_H_ +#ifndef SRC_DAWN_COMMON_NSREF_H_ +#define SRC_DAWN_COMMON_NSREF_H_ #include "dawn/common/RefBase.h" @@ -120,4 +120,4 @@ return ref; } -#endif // COMMON_NSREF_H_ +#endif // SRC_DAWN_COMMON_NSREF_H_
diff --git a/src/dawn/common/NonCopyable.h b/src/dawn/common/NonCopyable.h index 2d217df..8223ad5 100644 --- a/src/dawn/common/NonCopyable.h +++ b/src/dawn/common/NonCopyable.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_NONCOPYABLE_H_ -#define COMMON_NONCOPYABLE_H_ +#ifndef SRC_DAWN_COMMON_NONCOPYABLE_H_ +#define SRC_DAWN_COMMON_NONCOPYABLE_H_ // A base class to make a class non-copyable. class NonCopyable { @@ -40,4 +40,4 @@ void operator=(NonMovable&&) = delete; }; -#endif +#endif // SRC_DAWN_COMMON_NONCOPYABLE_H_
diff --git a/src/dawn/common/PlacementAllocated.h b/src/dawn/common/PlacementAllocated.h index 6c715ca..dc097ac 100644 --- a/src/dawn/common/PlacementAllocated.h +++ b/src/dawn/common/PlacementAllocated.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_PLACEMENTALLOCATED_H_ -#define COMMON_PLACEMENTALLOCATED_H_ +#ifndef SRC_DAWN_COMMON_PLACEMENTALLOCATED_H_ +#define SRC_DAWN_COMMON_PLACEMENTALLOCATED_H_ #include <cstddef> @@ -39,4 +39,4 @@ } }; -#endif // COMMON_PLACEMENTALLOCATED_H_ +#endif // SRC_DAWN_COMMON_PLACEMENTALLOCATED_H_
diff --git a/src/dawn/common/Platform.h b/src/dawn/common/Platform.h index f947102..5e4f9d7 100644 --- a/src/dawn/common/Platform.h +++ b/src/dawn/common/Platform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_PLATFORM_H_ -#define COMMON_PLATFORM_H_ +#ifndef SRC_DAWN_COMMON_PLATFORM_H_ +#define SRC_DAWN_COMMON_PLATFORM_H_ #if defined(_WIN32) || defined(_WIN64) # include <winapifamily.h> @@ -79,4 +79,4 @@ # error "Unsupported platform" #endif -#endif // COMMON_PLATFORM_H_ +#endif // SRC_DAWN_COMMON_PLATFORM_H_
diff --git a/src/dawn/common/Preprocessor.h b/src/dawn/common/Preprocessor.h index 4eef736..458ccb3 100644 --- a/src/dawn/common/Preprocessor.h +++ b/src/dawn/common/Preprocessor.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_PREPROCESSOR_H_ -#define COMMON_PREPROCESSOR_H_ +#ifndef SRC_DAWN_COMMON_PREPROCESSOR_H_ +#define SRC_DAWN_COMMON_PREPROCESSOR_H_ // DAWN_PP_GET_HEAD: get the first element of a __VA_ARGS__ without triggering empty // __VA_ARGS__ warnings. @@ -67,4 +67,4 @@ #define DAWN_PP_FOR_EACH(func, ...) \ DAWN_PP_FOR_EACH_(DAWN_PP_FOR_EACH_NARG(__VA_ARGS__), func, __VA_ARGS__) -#endif // COMMON_PREPROCESSOR_H_ +#endif // SRC_DAWN_COMMON_PREPROCESSOR_H_
diff --git a/src/dawn/common/RefBase.h b/src/dawn/common/RefBase.h index 5d10789..fca12d6 100644 --- a/src/dawn/common/RefBase.h +++ b/src/dawn/common/RefBase.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_REFBASE_H_ -#define COMMON_REFBASE_H_ +#ifndef SRC_DAWN_COMMON_REFBASE_H_ +#define SRC_DAWN_COMMON_REFBASE_H_ #include "dawn/common/Assert.h" #include "dawn/common/Compiler.h" @@ -180,4 +180,4 @@ T mValue; }; -#endif // COMMON_REFBASE_H_ +#endif // SRC_DAWN_COMMON_REFBASE_H_
diff --git a/src/dawn/common/RefCounted.h b/src/dawn/common/RefCounted.h index 65f37b9..d9f92aa 100644 --- a/src/dawn/common/RefCounted.h +++ b/src/dawn/common/RefCounted.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_REFCOUNTED_H_ -#define COMMON_REFCOUNTED_H_ +#ifndef SRC_DAWN_COMMON_REFCOUNTED_H_ +#define SRC_DAWN_COMMON_REFCOUNTED_H_ #include "dawn/common/RefBase.h" @@ -66,4 +66,4 @@ return ref; } -#endif // COMMON_REFCOUNTED_H_ +#endif // SRC_DAWN_COMMON_REFCOUNTED_H_
diff --git a/src/dawn/common/Result.h b/src/dawn/common/Result.h index 5566829..d3ccbf1 100644 --- a/src/dawn/common/Result.h +++ b/src/dawn/common/Result.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_RESULT_H_ -#define COMMON_RESULT_H_ +#ifndef SRC_DAWN_COMMON_RESULT_H_ +#define SRC_DAWN_COMMON_RESULT_H_ #include "dawn/common/Assert.h" #include "dawn/common/Compiler.h" @@ -523,4 +523,4 @@ return std::move(mError); } -#endif // COMMON_RESULT_H_ +#endif // SRC_DAWN_COMMON_RESULT_H_
diff --git a/src/dawn/common/SerialMap.h b/src/dawn/common/SerialMap.h index 750f16e..74a4657 100644 --- a/src/dawn/common/SerialMap.h +++ b/src/dawn/common/SerialMap.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SERIALMAP_H_ -#define COMMON_SERIALMAP_H_ +#ifndef SRC_DAWN_COMMON_SERIALMAP_H_ +#define SRC_DAWN_COMMON_SERIALMAP_H_ #include "dawn/common/SerialStorage.h" @@ -73,4 +73,4 @@ } } -#endif // COMMON_SERIALMAP_H_ +#endif // SRC_DAWN_COMMON_SERIALMAP_H_
diff --git a/src/dawn/common/SerialQueue.h b/src/dawn/common/SerialQueue.h index 3e33f1e..0091eca 100644 --- a/src/dawn/common/SerialQueue.h +++ b/src/dawn/common/SerialQueue.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SERIALQUEUE_H_ -#define COMMON_SERIALQUEUE_H_ +#ifndef SRC_DAWN_COMMON_SERIALQUEUE_H_ +#define SRC_DAWN_COMMON_SERIALQUEUE_H_ #include "dawn/common/SerialStorage.h" @@ -82,4 +82,4 @@ this->mStorage.emplace_back(serial, values); } -#endif // COMMON_SERIALQUEUE_H_ +#endif // SRC_DAWN_COMMON_SERIALQUEUE_H_
diff --git a/src/dawn/common/SerialStorage.h b/src/dawn/common/SerialStorage.h index 8a103f5..9821659 100644 --- a/src/dawn/common/SerialStorage.h +++ b/src/dawn/common/SerialStorage.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SERIALSTORAGE_H_ -#define COMMON_SERIALSTORAGE_H_ +#ifndef SRC_DAWN_COMMON_SERIALSTORAGE_H_ +#define SRC_DAWN_COMMON_SERIALSTORAGE_H_ #include "dawn/common/Assert.h" @@ -319,4 +319,4 @@ return *mSerialIterator; } -#endif // COMMON_SERIALSTORAGE_H_ +#endif // SRC_DAWN_COMMON_SERIALSTORAGE_H_
diff --git a/src/dawn/common/SlabAllocator.h b/src/dawn/common/SlabAllocator.h index 58d2d94..3a6f348 100644 --- a/src/dawn/common/SlabAllocator.h +++ b/src/dawn/common/SlabAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SLABALLOCATOR_H_ -#define COMMON_SLABALLOCATOR_H_ +#ifndef SRC_DAWN_COMMON_SLABALLOCATOR_H_ +#define SRC_DAWN_COMMON_SLABALLOCATOR_H_ #include "dawn/common/PlacementAllocated.h" @@ -181,4 +181,4 @@ } }; -#endif // COMMON_SLABALLOCATOR_H_ +#endif // SRC_DAWN_COMMON_SLABALLOCATOR_H_
diff --git a/src/dawn/common/StackContainer.h b/src/dawn/common/StackContainer.h index 4de688f..1efcc05 100644 --- a/src/dawn/common/StackContainer.h +++ b/src/dawn/common/StackContainer.h
@@ -4,8 +4,8 @@ // This file is a modified copy of Chromium's /src/base/containers/stack_container.h -#ifndef COMMON_STACKCONTAINER_H_ -#define COMMON_STACKCONTAINER_H_ +#ifndef SRC_DAWN_COMMON_STACKCONTAINER_H_ +#define SRC_DAWN_COMMON_STACKCONTAINER_H_ #include "dawn/common/Compiler.h" @@ -259,4 +259,4 @@ StackVector& operator=(StackVector&& rhs) = delete; }; -#endif // COMMON_STACKCONTAINER_H_ +#endif // SRC_DAWN_COMMON_STACKCONTAINER_H_
diff --git a/src/dawn/common/SwapChainUtils.h b/src/dawn/common/SwapChainUtils.h index c1ad5f2..93f9b61 100644 --- a/src/dawn/common/SwapChainUtils.h +++ b/src/dawn/common/SwapChainUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SWAPCHAINUTILS_H_ -#define COMMON_SWAPCHAINUTILS_H_ +#ifndef SRC_DAWN_COMMON_SWAPCHAINUTILS_H_ +#define SRC_DAWN_COMMON_SWAPCHAINUTILS_H_ #include "dawn/dawn_wsi.h" @@ -37,4 +37,4 @@ return impl; } -#endif // COMMON_SWAPCHAINUTILS_H_ +#endif // SRC_DAWN_COMMON_SWAPCHAINUTILS_H_
diff --git a/src/dawn/common/SystemUtils.h b/src/dawn/common/SystemUtils.h index bb59966..31b3902 100644 --- a/src/dawn/common/SystemUtils.h +++ b/src/dawn/common/SystemUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_SYSTEMUTILS_H_ -#define COMMON_SYSTEMUTILS_H_ +#ifndef SRC_DAWN_COMMON_SYSTEMUTILS_H_ +#define SRC_DAWN_COMMON_SYSTEMUTILS_H_ #include "dawn/common/Platform.h" @@ -54,4 +54,4 @@ bool mIsSet = false; }; -#endif // COMMON_SYSTEMUTILS_H_ +#endif // SRC_DAWN_COMMON_SYSTEMUTILS_H_
diff --git a/src/dawn/common/TypeTraits.h b/src/dawn/common/TypeTraits.h index 3348b89..40e76c0 100644 --- a/src/dawn/common/TypeTraits.h +++ b/src/dawn/common/TypeTraits.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_TYPETRAITS_H_ -#define COMMON_TYPETRAITS_H_ +#ifndef SRC_DAWN_COMMON_TYPETRAITS_H_ +#define SRC_DAWN_COMMON_TYPETRAITS_H_ #include <type_traits> @@ -31,4 +31,4 @@ static constexpr const bool value = true; }; -#endif // COMMON_TYPE_TRAITS_H_ +#endif // SRC_DAWN_COMMON_TYPETRAITS_H_
diff --git a/src/dawn/common/TypedInteger.h b/src/dawn/common/TypedInteger.h index 6669d14..d00160c 100644 --- a/src/dawn/common/TypedInteger.h +++ b/src/dawn/common/TypedInteger.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_TYPEDINTEGER_H_ -#define COMMON_TYPEDINTEGER_H_ +#ifndef SRC_DAWN_COMMON_TYPEDINTEGER_H_ +#define SRC_DAWN_COMMON_TYPEDINTEGER_H_ #include "dawn/common/Assert.h" #include "dawn/common/UnderlyingType.h" @@ -259,4 +259,4 @@ } // namespace ityp -#endif // COMMON_TYPEDINTEGER_H_ +#endif // SRC_DAWN_COMMON_TYPEDINTEGER_H_
diff --git a/src/dawn/common/UnderlyingType.h b/src/dawn/common/UnderlyingType.h index 09c72c0..5b499da 100644 --- a/src/dawn/common/UnderlyingType.h +++ b/src/dawn/common/UnderlyingType.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_UNDERLYINGTYPE_H_ -#define COMMON_UNDERLYINGTYPE_H_ +#ifndef SRC_DAWN_COMMON_UNDERLYINGTYPE_H_ +#define SRC_DAWN_COMMON_UNDERLYINGTYPE_H_ #include <type_traits> @@ -48,4 +48,4 @@ template <typename T> using UnderlyingType = typename detail::UnderlyingTypeImpl<T>::type; -#endif // COMMON_UNDERLYINGTYPE_H_ +#endif // SRC_DAWN_COMMON_UNDERLYINGTYPE_H_
diff --git a/src/dawn/common/WindowsUtils.h b/src/dawn/common/WindowsUtils.h index 3ab916b..1a2b906 100644 --- a/src/dawn/common/WindowsUtils.h +++ b/src/dawn/common/WindowsUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_WINDOWSUTILS_H_ -#define COMMON_WINDOWSUTILS_H_ +#ifndef SRC_DAWN_COMMON_WINDOWSUTILS_H_ +#define SRC_DAWN_COMMON_WINDOWSUTILS_H_ #include <string> @@ -21,4 +21,4 @@ std::wstring UTF8ToWStr(const char* input); -#endif // COMMON_WINDOWSUTILS_H_ +#endif // SRC_DAWN_COMMON_WINDOWSUTILS_H_
diff --git a/src/dawn/common/ityp_array.h b/src/dawn/common/ityp_array.h index c7db71a..cb0d650 100644 --- a/src/dawn/common/ityp_array.h +++ b/src/dawn/common/ityp_array.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ITYP_ARRAY_H_ -#define COMMON_ITYP_ARRAY_H_ +#ifndef SRC_DAWN_COMMON_ITYP_ARRAY_H_ +#define SRC_DAWN_COMMON_ITYP_ARRAY_H_ #include "dawn/common/TypedInteger.h" #include "dawn/common/UnderlyingType.h" @@ -95,4 +95,4 @@ } // namespace ityp -#endif // COMMON_ITYP_ARRAY_H_ +#endif // SRC_DAWN_COMMON_ITYP_ARRAY_H_
diff --git a/src/dawn/common/ityp_bitset.h b/src/dawn/common/ityp_bitset.h index 9c27cfe..0d181c3 100644 --- a/src/dawn/common/ityp_bitset.h +++ b/src/dawn/common/ityp_bitset.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ITYP_BITSET_H_ -#define COMMON_ITYP_BITSET_H_ +#ifndef SRC_DAWN_COMMON_ITYP_BITSET_H_ +#define SRC_DAWN_COMMON_ITYP_BITSET_H_ #include "dawn/common/BitSetIterator.h" #include "dawn/common/TypedInteger.h" @@ -185,4 +185,4 @@ #endif // defined(DAWN_COMPILER_MSVC) } -#endif // COMMON_ITYP_BITSET_H_ +#endif // SRC_DAWN_COMMON_ITYP_BITSET_H_
diff --git a/src/dawn/common/ityp_span.h b/src/dawn/common/ityp_span.h index c73f983..893982c 100644 --- a/src/dawn/common/ityp_span.h +++ b/src/dawn/common/ityp_span.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ITYP_SPAN_H_ -#define COMMON_ITYP_SPAN_H_ +#ifndef SRC_DAWN_COMMON_ITYP_SPAN_H_ +#define SRC_DAWN_COMMON_ITYP_SPAN_H_ #include "dawn/common/TypedInteger.h" #include "dawn/common/UnderlyingType.h" @@ -100,4 +100,4 @@ } // namespace ityp -#endif // COMMON_ITYP_SPAN_H_ +#endif // SRC_DAWN_COMMON_ITYP_SPAN_H_
diff --git a/src/dawn/common/ityp_stack_vec.h b/src/dawn/common/ityp_stack_vec.h index 47c437e..ada5637 100644 --- a/src/dawn/common/ityp_stack_vec.h +++ b/src/dawn/common/ityp_stack_vec.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ITYP_STACK_VEC_H_ -#define COMMON_ITYP_STACK_VEC_H_ +#ifndef SRC_DAWN_COMMON_ITYP_STACK_VEC_H_ +#define SRC_DAWN_COMMON_ITYP_STACK_VEC_H_ #include "dawn/common/Assert.h" #include "dawn/common/StackContainer.h" @@ -100,4 +100,4 @@ } // namespace ityp -#endif // COMMON_ITYP_STACK_VEC_H_ +#endif // SRC_DAWN_COMMON_ITYP_STACK_VEC_H_
diff --git a/src/dawn/common/ityp_vector.h b/src/dawn/common/ityp_vector.h index 9d83adf..dc4f4c9 100644 --- a/src/dawn/common/ityp_vector.h +++ b/src/dawn/common/ityp_vector.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_ITYP_VECTOR_H_ -#define COMMON_ITYP_VECTOR_H_ +#ifndef SRC_DAWN_COMMON_ITYP_VECTOR_H_ +#define SRC_DAWN_COMMON_ITYP_VECTOR_H_ #include "dawn/common/TypedInteger.h" #include "dawn/common/UnderlyingType.h" @@ -105,4 +105,4 @@ } // namespace ityp -#endif // COMMON_ITYP_VECTOR_H_ +#endif // SRC_DAWN_COMMON_ITYP_VECTOR_H_
diff --git a/src/dawn/common/vulkan_platform.h b/src/dawn/common/vulkan_platform.h index 620034f..097e4cb 100644 --- a/src/dawn/common/vulkan_platform.h +++ b/src/dawn/common/vulkan_platform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_VULKANPLATFORM_H_ -#define COMMON_VULKANPLATFORM_H_ +#ifndef SRC_DAWN_COMMON_VULKAN_PLATFORM_H_ +#define SRC_DAWN_COMMON_VULKAN_PLATFORM_H_ #if !defined(DAWN_ENABLE_BACKEND_VULKAN) # error "vulkan_platform.h included without the Vulkan backend enabled" @@ -203,4 +203,4 @@ # error "Unsupported platform" #endif -#endif // COMMON_VULKANPLATFORM_H_ +#endif // SRC_DAWN_COMMON_VULKAN_PLATFORM_H_
diff --git a/src/dawn/common/windows_with_undefs.h b/src/dawn/common/windows_with_undefs.h index 686da9f..337ed60 100644 --- a/src/dawn/common/windows_with_undefs.h +++ b/src/dawn/common/windows_with_undefs.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_WINDOWS_WITH_UNDEFS_H_ -#define COMMON_WINDOWS_WITH_UNDEFS_H_ +#ifndef SRC_DAWN_COMMON_WINDOWS_WITH_UNDEFS_H_ +#define SRC_DAWN_COMMON_WINDOWS_WITH_UNDEFS_H_ #include "dawn/common/Platform.h" @@ -35,4 +35,4 @@ // Macro defined as an alias of GetTickCount #undef GetCurrentTime -#endif // COMMON_WINDOWS_WITH_UNDEFS_H_ +#endif // SRC_DAWN_COMMON_WINDOWS_WITH_UNDEFS_H_
diff --git a/src/dawn/common/xlib_with_undefs.h b/src/dawn/common/xlib_with_undefs.h index 7ac5a62..8073aa2 100644 --- a/src/dawn/common/xlib_with_undefs.h +++ b/src/dawn/common/xlib_with_undefs.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_XLIB_WITH_UNDEFS_H_ -#define COMMON_XLIB_WITH_UNDEFS_H_ +#ifndef SRC_DAWN_COMMON_XLIB_WITH_UNDEFS_H_ +#define SRC_DAWN_COMMON_XLIB_WITH_UNDEFS_H_ #include "dawn/common/Platform.h" @@ -37,4 +37,4 @@ using XErrorHandler = int (*)(Display*, XErrorEvent*); -#endif // COMMON_XLIB_WITH_UNDEFS_H_ +#endif // SRC_DAWN_COMMON_XLIB_WITH_UNDEFS_H_
diff --git a/src/dawn/fuzzers/DawnWireServerFuzzer.h b/src/dawn/fuzzers/DawnWireServerFuzzer.h index 83b6d3a..19510ef 100644 --- a/src/dawn/fuzzers/DawnWireServerFuzzer.h +++ b/src/dawn/fuzzers/DawnWireServerFuzzer.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_FUZZERS_DAWNWIRESERVERFUZZER_H_ +#define SRC_DAWN_FUZZERS_DAWNWIRESERVERFUZZER_H_ + #include "dawn/webgpu_cpp.h" #include <cstdint> @@ -32,3 +35,5 @@ int Run(const uint8_t* data, size_t size, MakeDeviceFn MakeDevice, bool supportsErrorInjection); } // namespace DawnWireServerFuzzer + +#endif // SRC_DAWN_FUZZERS_DAWNWIRESERVERFUZZER_H_
diff --git a/src/dawn/native/Adapter.h b/src/dawn/native/Adapter.h index bd66c8b..99b68e7 100644 --- a/src/dawn/native/Adapter.h +++ b/src/dawn/native/Adapter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ADAPTER_H_ -#define DAWNNATIVE_ADAPTER_H_ +#ifndef SRC_DAWN_NATIVE_ADAPTER_H_ +#define SRC_DAWN_NATIVE_ADAPTER_H_ #include "dawn/native/DawnNative.h" @@ -96,4 +96,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ADAPTER_H_ +#endif // SRC_DAWN_NATIVE_ADAPTER_H_
diff --git a/src/dawn/native/AsyncTask.h b/src/dawn/native/AsyncTask.h index ca2edd0..b71c80e 100644 --- a/src/dawn/native/AsyncTask.h +++ b/src/dawn/native/AsyncTask.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ASYC_TASK_H_ -#define DAWNNATIVE_ASYC_TASK_H_ +#ifndef SRC_DAWN_NATIVE_ASYNCTASK_H_ +#define SRC_DAWN_NATIVE_ASYNCTASK_H_ #include <functional> #include <memory> @@ -62,4 +62,4 @@ } // namespace dawn::native -#endif +#endif // SRC_DAWN_NATIVE_ASYNCTASK_H_
diff --git a/src/dawn/native/AttachmentState.h b/src/dawn/native/AttachmentState.h index 21eff85..63c5def 100644 --- a/src/dawn/native/AttachmentState.h +++ b/src/dawn/native/AttachmentState.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ATTACHMENTSTATE_H_ -#define DAWNNATIVE_ATTACHMENTSTATE_H_ +#ifndef SRC_DAWN_NATIVE_ATTACHMENTSTATE_H_ +#define SRC_DAWN_NATIVE_ATTACHMENTSTATE_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -80,4 +80,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ATTACHMENTSTATE_H_ +#endif // SRC_DAWN_NATIVE_ATTACHMENTSTATE_H_
diff --git a/src/dawn/native/BackendConnection.h b/src/dawn/native/BackendConnection.h index 2879fad..45b0709 100644 --- a/src/dawn/native/BackendConnection.h +++ b/src/dawn/native/BackendConnection.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BACKENDCONNECTION_H_ -#define DAWNNATIVE_BACKENDCONNECTION_H_ +#ifndef SRC_DAWN_NATIVE_BACKENDCONNECTION_H_ +#define SRC_DAWN_NATIVE_BACKENDCONNECTION_H_ #include "dawn/native/Adapter.h" #include "dawn/native/DawnNative.h" @@ -47,4 +47,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BACKENDCONNECTION_H_ +#endif // SRC_DAWN_NATIVE_BACKENDCONNECTION_H_
diff --git a/src/dawn/native/BindGroup.h b/src/dawn/native/BindGroup.h index 7ba883a..61e373a 100644 --- a/src/dawn/native/BindGroup.h +++ b/src/dawn/native/BindGroup.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BINDGROUP_H_ -#define DAWNNATIVE_BINDGROUP_H_ +#ifndef SRC_DAWN_NATIVE_BINDGROUP_H_ +#define SRC_DAWN_NATIVE_BINDGROUP_H_ #include "dawn/common/Constants.h" #include "dawn/common/Math.h" @@ -93,4 +93,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BINDGROUP_H_ +#endif // SRC_DAWN_NATIVE_BINDGROUP_H_
diff --git a/src/dawn/native/BindGroupLayout.h b/src/dawn/native/BindGroupLayout.h index 5b91a2f..3e11a28 100644 --- a/src/dawn/native/BindGroupLayout.h +++ b/src/dawn/native/BindGroupLayout.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BINDGROUPLAYOUT_H_ -#define DAWNNATIVE_BINDGROUPLAYOUT_H_ +#ifndef SRC_DAWN_NATIVE_BINDGROUPLAYOUT_H_ +#define SRC_DAWN_NATIVE_BINDGROUPLAYOUT_H_ #include "dawn/common/Constants.h" #include "dawn/common/Math.h" @@ -167,4 +167,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BINDGROUPLAYOUT_H_ +#endif // SRC_DAWN_NATIVE_BINDGROUPLAYOUT_H_
diff --git a/src/dawn/native/BindGroupTracker.h b/src/dawn/native/BindGroupTracker.h index 72d0cf4..dd2f056 100644 --- a/src/dawn/native/BindGroupTracker.h +++ b/src/dawn/native/BindGroupTracker.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BINDGROUPTRACKER_H_ -#define DAWNNATIVE_BINDGROUPTRACKER_H_ +#ifndef SRC_DAWN_NATIVE_BINDGROUPTRACKER_H_ +#define SRC_DAWN_NATIVE_BINDGROUPTRACKER_H_ #include "dawn/common/Constants.h" #include "dawn/native/BindGroupLayout.h" @@ -139,4 +139,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BINDGROUPTRACKER_H_ +#endif // SRC_DAWN_NATIVE_BINDGROUPTRACKER_H_
diff --git a/src/dawn/native/BindingInfo.h b/src/dawn/native/BindingInfo.h index 027ce52..e04d014 100644 --- a/src/dawn/native/BindingInfo.h +++ b/src/dawn/native/BindingInfo.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BINDINGINFO_H_ -#define DAWNNATIVE_BINDINGINFO_H_ +#ifndef SRC_DAWN_NATIVE_BINDINGINFO_H_ +#define SRC_DAWN_NATIVE_BINDINGINFO_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -95,4 +95,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BINDINGINFO_H_ +#endif // SRC_DAWN_NATIVE_BINDINGINFO_H_
diff --git a/src/dawn/native/BuddyAllocator.h b/src/dawn/native/BuddyAllocator.h index 31c8b0b..3071750 100644 --- a/src/dawn/native/BuddyAllocator.h +++ b/src/dawn/native/BuddyAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BUDDYALLOCATOR_H_ -#define DAWNNATIVE_BUDDYALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_BUDDYALLOCATOR_H_ +#define SRC_DAWN_NATIVE_BUDDYALLOCATOR_H_ #include <cstddef> #include <cstdint> @@ -114,4 +114,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BUDDYALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_BUDDYALLOCATOR_H_
diff --git a/src/dawn/native/BuddyMemoryAllocator.h b/src/dawn/native/BuddyMemoryAllocator.h index 7fcfe71..e4d4f10 100644 --- a/src/dawn/native/BuddyMemoryAllocator.h +++ b/src/dawn/native/BuddyMemoryAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BUDDYMEMORYALLOCATOR_H_ -#define DAWNNATIVE_BUDDYMEMORYALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_BUDDYMEMORYALLOCATOR_H_ +#define SRC_DAWN_NATIVE_BUDDYMEMORYALLOCATOR_H_ #include "dawn/native/BuddyAllocator.h" #include "dawn/native/Error.h" @@ -71,4 +71,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BUDDYMEMORYALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_BUDDYMEMORYALLOCATOR_H_
diff --git a/src/dawn/native/Buffer.h b/src/dawn/native/Buffer.h index 2a9759f..60a41bc 100644 --- a/src/dawn/native/Buffer.h +++ b/src/dawn/native/Buffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_BUFFER_H_ -#define DAWNNATIVE_BUFFER_H_ +#ifndef SRC_DAWN_NATIVE_BUFFER_H_ +#define SRC_DAWN_NATIVE_BUFFER_H_ #include "dawn/native/Error.h" #include "dawn/native/Forward.h" @@ -132,4 +132,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_BUFFER_H_ +#endif // SRC_DAWN_NATIVE_BUFFER_H_
diff --git a/src/dawn/native/CacheKey.h b/src/dawn/native/CacheKey.h index e97e770..4fff61b 100644 --- a/src/dawn/native/CacheKey.h +++ b/src/dawn/native/CacheKey.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_CACHE_KEY_H_ -#define DAWNNATIVE_CACHE_KEY_H_ +#ifndef SRC_DAWN_NATIVE_CACHEKEY_H_ +#define SRC_DAWN_NATIVE_CACHEKEY_H_ #include <iostream> #include <limits> @@ -131,4 +131,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_CACHE_KEY_H_ +#endif // SRC_DAWN_NATIVE_CACHEKEY_H_
diff --git a/src/dawn/native/CachedObject.h b/src/dawn/native/CachedObject.h index 7d28ae8..5e48560 100644 --- a/src/dawn/native/CachedObject.h +++ b/src/dawn/native/CachedObject.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_CACHED_OBJECT_H_ -#define DAWNNATIVE_CACHED_OBJECT_H_ +#ifndef SRC_DAWN_NATIVE_CACHEDOBJECT_H_ +#define SRC_DAWN_NATIVE_CACHEDOBJECT_H_ #include "dawn/native/CacheKey.h" #include "dawn/native/Forward.h" @@ -62,4 +62,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_CACHED_OBJECT_H_ +#endif // SRC_DAWN_NATIVE_CACHEDOBJECT_H_
diff --git a/src/dawn/native/CallbackTaskManager.h b/src/dawn/native/CallbackTaskManager.h index 37fddd4..0a4253a 100644 --- a/src/dawn/native/CallbackTaskManager.h +++ b/src/dawn/native/CallbackTaskManager.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_CALLBACK_TASK_MANAGER_H_ -#define DAWNNATIVE_CALLBACK_TASK_MANAGER_H_ +#ifndef SRC_DAWN_NATIVE_CALLBACKTASKMANAGER_H_ +#define SRC_DAWN_NATIVE_CALLBACKTASKMANAGER_H_ #include <memory> #include <mutex> @@ -42,4 +42,4 @@ } // namespace dawn::native -#endif +#endif // SRC_DAWN_NATIVE_CALLBACKTASKMANAGER_H_
diff --git a/src/dawn/native/CommandAllocator.h b/src/dawn/native/CommandAllocator.h index 9d2b471..4b7ea99 100644 --- a/src/dawn/native/CommandAllocator.h +++ b/src/dawn/native/CommandAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMAND_ALLOCATOR_H_ -#define DAWNNATIVE_COMMAND_ALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_COMMANDALLOCATOR_H_ +#define SRC_DAWN_NATIVE_COMMANDALLOCATOR_H_ #include "dawn/common/Assert.h" #include "dawn/common/Math.h" @@ -270,4 +270,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMAND_ALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_COMMANDALLOCATOR_H_
diff --git a/src/dawn/native/CommandBuffer.h b/src/dawn/native/CommandBuffer.h index 3d9d71a..a41b482 100644 --- a/src/dawn/native/CommandBuffer.h +++ b/src/dawn/native/CommandBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMANDBUFFER_H_ -#define DAWNNATIVE_COMMANDBUFFER_H_ +#ifndef SRC_DAWN_NATIVE_COMMANDBUFFER_H_ +#define SRC_DAWN_NATIVE_COMMANDBUFFER_H_ #include "dawn/native/dawn_platform.h" @@ -73,4 +73,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMANDBUFFER_H_ +#endif // SRC_DAWN_NATIVE_COMMANDBUFFER_H_
diff --git a/src/dawn/native/CommandBufferStateTracker.h b/src/dawn/native/CommandBufferStateTracker.h index b68e27a..d212876 100644 --- a/src/dawn/native/CommandBufferStateTracker.h +++ b/src/dawn/native/CommandBufferStateTracker.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMANDBUFFERSTATETRACKER_H -#define DAWNNATIVE_COMMANDBUFFERSTATETRACKER_H +#ifndef SRC_DAWN_NATIVE_COMMANDBUFFERSTATETRACKER_H_ +#define SRC_DAWN_NATIVE_COMMANDBUFFERSTATETRACKER_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -83,4 +83,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMANDBUFFERSTATETRACKER_H +#endif // SRC_DAWN_NATIVE_COMMANDBUFFERSTATETRACKER_H_
diff --git a/src/dawn/native/CommandEncoder.h b/src/dawn/native/CommandEncoder.h index 59e19c6..81263c0 100644 --- a/src/dawn/native/CommandEncoder.h +++ b/src/dawn/native/CommandEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMANDENCODER_H_ -#define DAWNNATIVE_COMMANDENCODER_H_ +#ifndef SRC_DAWN_NATIVE_COMMANDENCODER_H_ +#define SRC_DAWN_NATIVE_COMMANDENCODER_H_ #include "dawn/native/dawn_platform.h" @@ -119,4 +119,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMANDENCODER_H_ +#endif // SRC_DAWN_NATIVE_COMMANDENCODER_H_
diff --git a/src/dawn/native/CommandValidation.h b/src/dawn/native/CommandValidation.h index 1cae7cc..c65e983 100644 --- a/src/dawn/native/CommandValidation.h +++ b/src/dawn/native/CommandValidation.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMANDVALIDATION_H_ -#define DAWNNATIVE_COMMANDVALIDATION_H_ +#ifndef SRC_DAWN_NATIVE_COMMANDVALIDATION_H_ +#define SRC_DAWN_NATIVE_COMMANDVALIDATION_H_ #include "dawn/native/CommandAllocator.h" #include "dawn/native/Error.h" @@ -87,4 +87,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMANDVALIDATION_H_ +#endif // SRC_DAWN_NATIVE_COMMANDVALIDATION_H_
diff --git a/src/dawn/native/Commands.h b/src/dawn/native/Commands.h index 3c2d8ab..be465fcf2 100644 --- a/src/dawn/native/Commands.h +++ b/src/dawn/native/Commands.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMMANDS_H_ -#define DAWNNATIVE_COMMANDS_H_ +#ifndef SRC_DAWN_NATIVE_COMMANDS_H_ +#define SRC_DAWN_NATIVE_COMMANDS_H_ #include "dawn/common/Constants.h" @@ -299,4 +299,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMMANDS_H_ +#endif // SRC_DAWN_NATIVE_COMMANDS_H_
diff --git a/src/dawn/native/CompilationMessages.h b/src/dawn/native/CompilationMessages.h index 92e3346..4697045 100644 --- a/src/dawn/native/CompilationMessages.h +++ b/src/dawn/native/CompilationMessages.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMPILATIONMESSAGES_H_ -#define DAWNNATIVE_COMPILATIONMESSAGES_H_ +#ifndef SRC_DAWN_NATIVE_COMPILATIONMESSAGES_H_ +#define SRC_DAWN_NATIVE_COMPILATIONMESSAGES_H_ #include "dawn/native/dawn_platform.h" @@ -59,4 +59,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMPILATIONMESSAGES_H_ +#endif // SRC_DAWN_NATIVE_COMPILATIONMESSAGES_H_
diff --git a/src/dawn/native/ComputePassEncoder.h b/src/dawn/native/ComputePassEncoder.h index 16dd11d..a2bb08f 100644 --- a/src/dawn/native/ComputePassEncoder.h +++ b/src/dawn/native/ComputePassEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMPUTEPASSENCODER_H_ -#define DAWNNATIVE_COMPUTEPASSENCODER_H_ +#ifndef SRC_DAWN_NATIVE_COMPUTEPASSENCODER_H_ +#define SRC_DAWN_NATIVE_COMPUTEPASSENCODER_H_ #include "dawn/native/CommandBufferStateTracker.h" #include "dawn/native/Error.h" @@ -95,4 +95,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMPUTEPASSENCODER_H_ +#endif // SRC_DAWN_NATIVE_COMPUTEPASSENCODER_H_
diff --git a/src/dawn/native/ComputePipeline.h b/src/dawn/native/ComputePipeline.h index 1bd97d1..6de7ac5 100644 --- a/src/dawn/native/ComputePipeline.h +++ b/src/dawn/native/ComputePipeline.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COMPUTEPIPELINE_H_ -#define DAWNNATIVE_COMPUTEPIPELINE_H_ +#ifndef SRC_DAWN_NATIVE_COMPUTEPIPELINE_H_ +#define SRC_DAWN_NATIVE_COMPUTEPIPELINE_H_ #include "dawn/common/NonCopyable.h" #include "dawn/native/Forward.h" @@ -52,4 +52,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COMPUTEPIPELINE_H_ +#endif // SRC_DAWN_NATIVE_COMPUTEPIPELINE_H_
diff --git a/src/dawn/native/CopyTextureForBrowserHelper.h b/src/dawn/native/CopyTextureForBrowserHelper.h index de82f5f..86e3135 100644 --- a/src/dawn/native/CopyTextureForBrowserHelper.h +++ b/src/dawn/native/CopyTextureForBrowserHelper.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_COPYTEXTUREFORBROWSERHELPER_H_ -#define DAWNNATIVE_COPYTEXTUREFORBROWSERHELPER_H_ +#ifndef SRC_DAWN_NATIVE_COPYTEXTUREFORBROWSERHELPER_H_ +#define SRC_DAWN_NATIVE_COPYTEXTUREFORBROWSERHELPER_H_ #include "dawn/native/Error.h" #include "dawn/native/ObjectBase.h" @@ -38,4 +38,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_COPYTEXTUREFORBROWSERHELPER_H_ +#endif // SRC_DAWN_NATIVE_COPYTEXTUREFORBROWSERHELPER_H_
diff --git a/src/dawn/native/CreatePipelineAsyncTask.h b/src/dawn/native/CreatePipelineAsyncTask.h index 4b936cf..2849726 100644 --- a/src/dawn/native/CreatePipelineAsyncTask.h +++ b/src/dawn/native/CreatePipelineAsyncTask.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_CREATEPIPELINEASYNCTASK_H_ -#define DAWNNATIVE_CREATEPIPELINEASYNCTASK_H_ +#ifndef SRC_DAWN_NATIVE_CREATEPIPELINEASYNCTASK_H_ +#define SRC_DAWN_NATIVE_CREATEPIPELINEASYNCTASK_H_ #include "dawn/common/RefCounted.h" #include "dawn/native/CallbackTaskManager.h" @@ -105,4 +105,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_CREATEPIPELINEASYNCTASK_H_ +#endif // SRC_DAWN_NATIVE_CREATEPIPELINEASYNCTASK_H_
diff --git a/src/dawn/native/Device.h b/src/dawn/native/Device.h index db13e09..24f8322 100644 --- a/src/dawn/native/Device.h +++ b/src/dawn/native/Device.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_DEVICE_H_ -#define DAWNNATIVE_DEVICE_H_ +#ifndef SRC_DAWN_NATIVE_DEVICE_H_ +#define SRC_DAWN_NATIVE_DEVICE_H_ #include "dawn/native/Commands.h" #include "dawn/native/ComputePipeline.h" @@ -552,4 +552,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_DEVICE_H_ +#endif // SRC_DAWN_NATIVE_DEVICE_H_
diff --git a/src/dawn/native/DynamicUploader.h b/src/dawn/native/DynamicUploader.h index fa3f80a..3bec13c 100644 --- a/src/dawn/native/DynamicUploader.h +++ b/src/dawn/native/DynamicUploader.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_DYNAMICUPLOADER_H_ -#define DAWNNATIVE_DYNAMICUPLOADER_H_ +#ifndef SRC_DAWN_NATIVE_DYNAMICUPLOADER_H_ +#define SRC_DAWN_NATIVE_DYNAMICUPLOADER_H_ #include "dawn/native/Forward.h" #include "dawn/native/IntegerTypes.h" @@ -63,4 +63,4 @@ }; } // namespace dawn::native -#endif // DAWNNATIVE_DYNAMICUPLOADER_H_ +#endif // SRC_DAWN_NATIVE_DYNAMICUPLOADER_H_
diff --git a/src/dawn/native/EncodingContext.h b/src/dawn/native/EncodingContext.h index 659a9a7..341cc10 100644 --- a/src/dawn/native/EncodingContext.h +++ b/src/dawn/native/EncodingContext.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ENCODINGCONTEXT_H_ -#define DAWNNATIVE_ENCODINGCONTEXT_H_ +#ifndef SRC_DAWN_NATIVE_ENCODINGCONTEXT_H_ +#define SRC_DAWN_NATIVE_ENCODINGCONTEXT_H_ #include "dawn/native/CommandAllocator.h" #include "dawn/native/Error.h" @@ -179,4 +179,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ENCODINGCONTEXT_H_ +#endif // SRC_DAWN_NATIVE_ENCODINGCONTEXT_H_
diff --git a/src/dawn/native/EnumClassBitmasks.h b/src/dawn/native/EnumClassBitmasks.h index 671db23..51453cd 100644 --- a/src/dawn/native/EnumClassBitmasks.h +++ b/src/dawn/native/EnumClassBitmasks.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ENUMCLASSBITMASK_H_ -#define DAWNNATIVE_ENUMCLASSBITMASK_H_ +#ifndef SRC_DAWN_NATIVE_ENUMCLASSBITMASKS_H_ +#define SRC_DAWN_NATIVE_ENUMCLASSBITMASKS_H_ #include "dawn/EnumClassBitmasks.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ENUMCLASSBITMASK_H_ +#endif // SRC_DAWN_NATIVE_ENUMCLASSBITMASKS_H_
diff --git a/src/dawn/native/EnumMaskIterator.h b/src/dawn/native/EnumMaskIterator.h index 6653ef4..70e2268 100644 --- a/src/dawn/native/EnumMaskIterator.h +++ b/src/dawn/native/EnumMaskIterator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ENUMMASKITERATOR_H_ -#define DAWNNATIVE_ENUMMASKITERATOR_H_ +#ifndef SRC_DAWN_NATIVE_ENUMMASKITERATOR_H_ +#define SRC_DAWN_NATIVE_ENUMMASKITERATOR_H_ #include "dawn/common/BitSetIterator.h" #include "dawn/native/EnumClassBitmasks.h" @@ -79,4 +79,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ENUMMASKITERATOR_H_ +#endif // SRC_DAWN_NATIVE_ENUMMASKITERATOR_H_
diff --git a/src/dawn/native/Error.h b/src/dawn/native/Error.h index 64c481f..1a5ac31 100644 --- a/src/dawn/native/Error.h +++ b/src/dawn/native/Error.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ERROR_H_ -#define DAWNNATIVE_ERROR_H_ +#ifndef SRC_DAWN_NATIVE_ERROR_H_ +#define SRC_DAWN_NATIVE_ERROR_H_ #include "absl/strings/str_format.h" #include "dawn/common/Result.h" @@ -191,4 +191,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ERROR_H_ +#endif // SRC_DAWN_NATIVE_ERROR_H_
diff --git a/src/dawn/native/ErrorData.h b/src/dawn/native/ErrorData.h index 901c54f..6ad2e13 100644 --- a/src/dawn/native/ErrorData.h +++ b/src/dawn/native/ErrorData.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ERRORDATA_H_ -#define DAWNNATIVE_ERRORDATA_H_ +#ifndef SRC_DAWN_NATIVE_ERRORDATA_H_ +#define SRC_DAWN_NATIVE_ERRORDATA_H_ #include "dawn/common/Compiler.h" @@ -67,4 +67,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ERRORDATA_H_ +#endif // SRC_DAWN_NATIVE_ERRORDATA_H_
diff --git a/src/dawn/native/ErrorInjector.h b/src/dawn/native/ErrorInjector.h index ab41886..02cbea2 100644 --- a/src/dawn/native/ErrorInjector.h +++ b/src/dawn/native/ErrorInjector.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ERRORINJECTOR_H_ -#define DAWNNATIVE_ERRORINJECTOR_H_ +#ifndef SRC_DAWN_NATIVE_ERRORINJECTOR_H_ +#define SRC_DAWN_NATIVE_ERRORINJECTOR_H_ #include <stdint.h> #include <type_traits> @@ -65,4 +65,4 @@ #endif -#endif // DAWNNATIVE_ERRORINJECTOR_H_ +#endif // SRC_DAWN_NATIVE_ERRORINJECTOR_H_
diff --git a/src/dawn/native/ErrorScope.h b/src/dawn/native/ErrorScope.h index 766a81e..68a0dde 100644 --- a/src/dawn/native/ErrorScope.h +++ b/src/dawn/native/ErrorScope.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_ERRORSCOPE_H_ -#define DAWNNATIVE_ERRORSCOPE_H_ +#ifndef SRC_DAWN_NATIVE_ERRORSCOPE_H_ +#define SRC_DAWN_NATIVE_ERRORSCOPE_H_ #include "dawn/native/dawn_platform.h" @@ -54,4 +54,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_ERRORSCOPE_H_ +#endif // SRC_DAWN_NATIVE_ERRORSCOPE_H_
diff --git a/src/dawn/native/ExternalTexture.h b/src/dawn/native/ExternalTexture.h index e32b631..23f65d4 100644 --- a/src/dawn/native/ExternalTexture.h +++ b/src/dawn/native/ExternalTexture.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_EXTERNALTEXTURE_H_ -#define DAWNNATIVE_EXTERNALTEXTURE_H_ +#ifndef SRC_DAWN_NATIVE_EXTERNALTEXTURE_H_ +#define SRC_DAWN_NATIVE_EXTERNALTEXTURE_H_ #include "dawn/native/Error.h" #include "dawn/native/Forward.h" @@ -74,4 +74,4 @@ }; } // namespace dawn::native -#endif // DAWNNATIVE_EXTERNALTEXTURE_H_ +#endif // SRC_DAWN_NATIVE_EXTERNALTEXTURE_H_
diff --git a/src/dawn/native/Features.h b/src/dawn/native/Features.h index de75e99..6a110a2 100644 --- a/src/dawn/native/Features.h +++ b/src/dawn/native/Features.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_FEATURES_H_ -#define DAWNNATIVE_FEATURES_H_ +#ifndef SRC_DAWN_NATIVE_FEATURES_H_ +#define SRC_DAWN_NATIVE_FEATURES_H_ #include <bitset> #include <unordered_map> @@ -80,4 +80,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_FEATURES_H_ +#endif // SRC_DAWN_NATIVE_FEATURES_H_
diff --git a/src/dawn/native/Format.h b/src/dawn/native/Format.h index 457c6cb..509e64b 100644 --- a/src/dawn/native/Format.h +++ b/src/dawn/native/Format.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_FORMAT_H_ -#define DAWNNATIVE_FORMAT_H_ +#ifndef SRC_DAWN_NATIVE_FORMAT_H_ +#define SRC_DAWN_NATIVE_FORMAT_H_ #include "dawn/native/dawn_platform.h" @@ -170,4 +170,4 @@ } // namespace dawn -#endif // DAWNNATIVE_FORMAT_H_ +#endif // SRC_DAWN_NATIVE_FORMAT_H_
diff --git a/src/dawn/native/Forward.h b/src/dawn/native/Forward.h index 36b092c..80125a4 100644 --- a/src/dawn/native/Forward.h +++ b/src/dawn/native/Forward.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_FORWARD_H_ -#define DAWNNATIVE_FORWARD_H_ +#ifndef SRC_DAWN_NATIVE_FORWARD_H_ +#define SRC_DAWN_NATIVE_FORWARD_H_ #include <cstdint> @@ -68,4 +68,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_FORWARD_H_ +#endif // SRC_DAWN_NATIVE_FORWARD_H_
diff --git a/src/dawn/native/IndirectDrawMetadata.h b/src/dawn/native/IndirectDrawMetadata.h index 602be86..76f61db 100644 --- a/src/dawn/native/IndirectDrawMetadata.h +++ b/src/dawn/native/IndirectDrawMetadata.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_INDIRECTDRAWMETADATA_H_ -#define DAWNNATIVE_INDIRECTDRAWMETADATA_H_ +#ifndef SRC_DAWN_NATIVE_INDIRECTDRAWMETADATA_H_ +#define SRC_DAWN_NATIVE_INDIRECTDRAWMETADATA_H_ #include "dawn/common/NonCopyable.h" #include "dawn/common/RefCounted.h" @@ -123,4 +123,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_INDIRECTDRAWMETADATA_H_ +#endif // SRC_DAWN_NATIVE_INDIRECTDRAWMETADATA_H_
diff --git a/src/dawn/native/IndirectDrawValidationEncoder.h b/src/dawn/native/IndirectDrawValidationEncoder.h index 6714137..de246c2 100644 --- a/src/dawn/native/IndirectDrawValidationEncoder.h +++ b/src/dawn/native/IndirectDrawValidationEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_INDIRECTDRAWVALIDATIONENCODER_H_ -#define DAWNNATIVE_INDIRECTDRAWVALIDATIONENCODER_H_ +#ifndef SRC_DAWN_NATIVE_INDIRECTDRAWVALIDATIONENCODER_H_ +#define SRC_DAWN_NATIVE_INDIRECTDRAWVALIDATIONENCODER_H_ #include "dawn/native/Error.h" #include "dawn/native/IndirectDrawMetadata.h" @@ -37,4 +37,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_INDIRECTDRAWVALIDATIONENCODER_H_ +#endif // SRC_DAWN_NATIVE_INDIRECTDRAWVALIDATIONENCODER_H_
diff --git a/src/dawn/native/Instance.h b/src/dawn/native/Instance.h index 5898689..7dfaf51 100644 --- a/src/dawn/native/Instance.h +++ b/src/dawn/native/Instance.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_INSTANCE_H_ -#define DAWNNATIVE_INSTANCE_H_ +#ifndef SRC_DAWN_NATIVE_INSTANCE_H_ +#define SRC_DAWN_NATIVE_INSTANCE_H_ #include "dawn/common/RefCounted.h" #include "dawn/common/ityp_bitset.h" @@ -126,4 +126,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_INSTANCE_H_ +#endif // SRC_DAWN_NATIVE_INSTANCE_H_
diff --git a/src/dawn/native/IntegerTypes.h b/src/dawn/native/IntegerTypes.h index fd4c2f1..48658e2 100644 --- a/src/dawn/native/IntegerTypes.h +++ b/src/dawn/native/IntegerTypes.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_INTEGERTYPES_H_ -#define DAWNNATIVE_INTEGERTYPES_H_ +#ifndef SRC_DAWN_NATIVE_INTEGERTYPES_H_ +#define SRC_DAWN_NATIVE_INTEGERTYPES_H_ #include "dawn/common/Constants.h" #include "dawn/common/TypedInteger.h" @@ -73,4 +73,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_INTEGERTYPES_H_ +#endif // SRC_DAWN_NATIVE_INTEGERTYPES_H_
diff --git a/src/dawn/native/InternalPipelineStore.h b/src/dawn/native/InternalPipelineStore.h index 64e7728..4f80d9d 100644 --- a/src/dawn/native/InternalPipelineStore.h +++ b/src/dawn/native/InternalPipelineStore.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_INTERNALPIPELINESTORE_H_ -#define DAWNNATIVE_INTERNALPIPELINESTORE_H_ +#ifndef SRC_DAWN_NATIVE_INTERNALPIPELINESTORE_H_ +#define SRC_DAWN_NATIVE_INTERNALPIPELINESTORE_H_ #include "dawn/native/ObjectBase.h" #include "dawn/native/ScratchBuffer.h" @@ -57,4 +57,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_INTERNALPIPELINESTORE_H_ +#endif // SRC_DAWN_NATIVE_INTERNALPIPELINESTORE_H_
diff --git a/src/dawn/native/Limits.h b/src/dawn/native/Limits.h index f41eaa8..c8724e4 100644 --- a/src/dawn/native/Limits.h +++ b/src/dawn/native/Limits.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_LIMITS_H_ -#define DAWNNATIVE_LIMITS_H_ +#ifndef SRC_DAWN_NATIVE_LIMITS_H_ +#define SRC_DAWN_NATIVE_LIMITS_H_ #include "dawn/native/Error.h" #include "dawn/native/dawn_platform.h" @@ -40,4 +40,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_LIMITS_H_ +#endif // SRC_DAWN_NATIVE_LIMITS_H_
diff --git a/src/dawn/native/ObjectBase.h b/src/dawn/native/ObjectBase.h index 8f110a1..4ea489c 100644 --- a/src/dawn/native/ObjectBase.h +++ b/src/dawn/native/ObjectBase.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OBJECTBASE_H_ -#define DAWNNATIVE_OBJECTBASE_H_ +#ifndef SRC_DAWN_NATIVE_OBJECTBASE_H_ +#define SRC_DAWN_NATIVE_OBJECTBASE_H_ #include "dawn/common/LinkedList.h" #include "dawn/common/RefCounted.h" @@ -94,4 +94,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_OBJECTBASE_H_ +#endif // SRC_DAWN_NATIVE_OBJECTBASE_H_
diff --git a/src/dawn/native/ObjectContentHasher.h b/src/dawn/native/ObjectContentHasher.h index c1ca32a..8a065a8 100644 --- a/src/dawn/native/ObjectContentHasher.h +++ b/src/dawn/native/ObjectContentHasher.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OBJECT_CONTENT_HASHER_H_ -#define DAWNNATIVE_OBJECT_CONTENT_HASHER_H_ +#ifndef SRC_DAWN_NATIVE_OBJECTCONTENTHASHER_H_ +#define SRC_DAWN_NATIVE_OBJECTCONTENTHASHER_H_ #include "dawn/common/HashUtils.h" @@ -79,4 +79,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_OBJECT_CONTENT_HASHER_H_ +#endif // SRC_DAWN_NATIVE_OBJECTCONTENTHASHER_H_
diff --git a/src/dawn/native/PassResourceUsage.h b/src/dawn/native/PassResourceUsage.h index c6fe535..307a726 100644 --- a/src/dawn/native/PassResourceUsage.h +++ b/src/dawn/native/PassResourceUsage.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PASSRESOURCEUSAGE_H -#define DAWNNATIVE_PASSRESOURCEUSAGE_H +#ifndef SRC_DAWN_NATIVE_PASSRESOURCEUSAGE_H_ +#define SRC_DAWN_NATIVE_PASSRESOURCEUSAGE_H_ #include "dawn/native/SubresourceStorage.h" #include "dawn/native/dawn_platform.h" @@ -97,4 +97,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PASSRESOURCEUSAGE_H +#endif // SRC_DAWN_NATIVE_PASSRESOURCEUSAGE_H_
diff --git a/src/dawn/native/PassResourceUsageTracker.h b/src/dawn/native/PassResourceUsageTracker.h index ad0ef92..e6626f5 100644 --- a/src/dawn/native/PassResourceUsageTracker.h +++ b/src/dawn/native/PassResourceUsageTracker.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PASSRESOURCEUSAGETRACKER_H_ -#define DAWNNATIVE_PASSRESOURCEUSAGETRACKER_H_ +#ifndef SRC_DAWN_NATIVE_PASSRESOURCEUSAGETRACKER_H_ +#define SRC_DAWN_NATIVE_PASSRESOURCEUSAGETRACKER_H_ #include "dawn/native/PassResourceUsage.h" @@ -83,4 +83,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PASSRESOURCEUSAGETRACKER_H_ +#endif // SRC_DAWN_NATIVE_PASSRESOURCEUSAGETRACKER_H_
diff --git a/src/dawn/native/PerStage.h b/src/dawn/native/PerStage.h index 83039b2..266bf92 100644 --- a/src/dawn/native/PerStage.h +++ b/src/dawn/native/PerStage.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PERSTAGE_H_ -#define DAWNNATIVE_PERSTAGE_H_ +#ifndef SRC_DAWN_NATIVE_PERSTAGE_H_ +#define SRC_DAWN_NATIVE_PERSTAGE_H_ #include "dawn/common/Assert.h" #include "dawn/common/BitSetIterator.h" @@ -79,4 +79,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PERSTAGE_H_ +#endif // SRC_DAWN_NATIVE_PERSTAGE_H_
diff --git a/src/dawn/native/PersistentCache.h b/src/dawn/native/PersistentCache.h index 7854d59..e112449 100644 --- a/src/dawn/native/PersistentCache.h +++ b/src/dawn/native/PersistentCache.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PERSISTENTCACHE_H_ -#define DAWNNATIVE_PERSISTENTCACHE_H_ +#ifndef SRC_DAWN_NATIVE_PERSISTENTCACHE_H_ +#define SRC_DAWN_NATIVE_PERSISTENTCACHE_H_ #include "dawn/native/Error.h" @@ -89,4 +89,4 @@ }; } // namespace dawn::native -#endif // DAWNNATIVE_PERSISTENTCACHE_H_ +#endif // SRC_DAWN_NATIVE_PERSISTENTCACHE_H_
diff --git a/src/dawn/native/Pipeline.h b/src/dawn/native/Pipeline.h index ab078c3..a0e5c05 100644 --- a/src/dawn/native/Pipeline.h +++ b/src/dawn/native/Pipeline.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PIPELINE_H_ -#define DAWNNATIVE_PIPELINE_H_ +#ifndef SRC_DAWN_NATIVE_PIPELINE_H_ +#define SRC_DAWN_NATIVE_PIPELINE_H_ #include "dawn/native/CachedObject.h" #include "dawn/native/Forward.h" @@ -95,4 +95,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PIPELINE_H_ +#endif // SRC_DAWN_NATIVE_PIPELINE_H_
diff --git a/src/dawn/native/PipelineLayout.h b/src/dawn/native/PipelineLayout.h index 4850536..e15a0e3 100644 --- a/src/dawn/native/PipelineLayout.h +++ b/src/dawn/native/PipelineLayout.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PIPELINELAYOUT_H_ -#define DAWNNATIVE_PIPELINELAYOUT_H_ +#ifndef SRC_DAWN_NATIVE_PIPELINELAYOUT_H_ +#define SRC_DAWN_NATIVE_PIPELINELAYOUT_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -94,4 +94,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PIPELINELAYOUT_H_ +#endif // SRC_DAWN_NATIVE_PIPELINELAYOUT_H_
diff --git a/src/dawn/native/PooledResourceMemoryAllocator.h b/src/dawn/native/PooledResourceMemoryAllocator.h index 898bafe..184613a 100644 --- a/src/dawn/native/PooledResourceMemoryAllocator.h +++ b/src/dawn/native/PooledResourceMemoryAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_ -#define DAWNNATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_ +#define SRC_DAWN_NATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_ #include "dawn/common/SerialQueue.h" #include "dawn/native/ResourceHeapAllocator.h" @@ -50,4 +50,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_
diff --git a/src/dawn/native/ProgrammableEncoder.h b/src/dawn/native/ProgrammableEncoder.h index 6bba7a2..6a7918f 100644 --- a/src/dawn/native/ProgrammableEncoder.h +++ b/src/dawn/native/ProgrammableEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_PROGRAMMABLEENCODER_H_ -#define DAWNNATIVE_PROGRAMMABLEENCODER_H_ +#ifndef SRC_DAWN_NATIVE_PROGRAMMABLEENCODER_H_ +#define SRC_DAWN_NATIVE_PROGRAMMABLEENCODER_H_ #include "dawn/native/CommandEncoder.h" #include "dawn/native/Error.h" @@ -69,4 +69,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_PROGRAMMABLEENCODER_H_ +#endif // SRC_DAWN_NATIVE_PROGRAMMABLEENCODER_H_
diff --git a/src/dawn/native/QueryHelper.h b/src/dawn/native/QueryHelper.h index 111b195..744e612 100644 --- a/src/dawn/native/QueryHelper.h +++ b/src/dawn/native/QueryHelper.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_QUERYHELPER_H_ -#define DAWNNATIVE_QUERYHELPER_H_ +#ifndef SRC_DAWN_NATIVE_QUERYHELPER_H_ +#define SRC_DAWN_NATIVE_QUERYHELPER_H_ #include "dawn/native/Error.h" #include "dawn/native/ObjectBase.h" @@ -40,4 +40,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_QUERYHELPER_H_ +#endif // SRC_DAWN_NATIVE_QUERYHELPER_H_
diff --git a/src/dawn/native/QuerySet.h b/src/dawn/native/QuerySet.h index 39a69df..72ad861 100644 --- a/src/dawn/native/QuerySet.h +++ b/src/dawn/native/QuerySet.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_QUERYSET_H_ -#define DAWNNATIVE_QUERYSET_H_ +#ifndef SRC_DAWN_NATIVE_QUERYSET_H_ +#define SRC_DAWN_NATIVE_QUERYSET_H_ #include "dawn/native/Error.h" #include "dawn/native/Forward.h" @@ -69,4 +69,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_QUERYSET_H_ +#endif // SRC_DAWN_NATIVE_QUERYSET_H_
diff --git a/src/dawn/native/Queue.h b/src/dawn/native/Queue.h index ee1074d..b7bb986 100644 --- a/src/dawn/native/Queue.h +++ b/src/dawn/native/Queue.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_QUEUE_H_ -#define DAWNNATIVE_QUEUE_H_ +#ifndef SRC_DAWN_NATIVE_QUEUE_H_ +#define SRC_DAWN_NATIVE_QUEUE_H_ #include "dawn/common/SerialQueue.h" #include "dawn/native/Error.h" @@ -108,4 +108,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_QUEUE_H_ +#endif // SRC_DAWN_NATIVE_QUEUE_H_
diff --git a/src/dawn/native/RenderBundle.h b/src/dawn/native/RenderBundle.h index 9112b77..0fa9ec58 100644 --- a/src/dawn/native/RenderBundle.h +++ b/src/dawn/native/RenderBundle.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RENDERBUNDLE_H_ -#define DAWNNATIVE_RENDERBUNDLE_H_ +#ifndef SRC_DAWN_NATIVE_RENDERBUNDLE_H_ +#define SRC_DAWN_NATIVE_RENDERBUNDLE_H_ #include "dawn/common/Constants.h" #include "dawn/native/AttachmentState.h" @@ -70,4 +70,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RENDERBUNDLE_H_ +#endif // SRC_DAWN_NATIVE_RENDERBUNDLE_H_
diff --git a/src/dawn/native/RenderBundleEncoder.h b/src/dawn/native/RenderBundleEncoder.h index 46c1470..53ab119 100644 --- a/src/dawn/native/RenderBundleEncoder.h +++ b/src/dawn/native/RenderBundleEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RENDERBUNDLEENCODER_H_ -#define DAWNNATIVE_RENDERBUNDLEENCODER_H_ +#ifndef SRC_DAWN_NATIVE_RENDERBUNDLEENCODER_H_ +#define SRC_DAWN_NATIVE_RENDERBUNDLEENCODER_H_ #include "dawn/native/EncodingContext.h" #include "dawn/native/Error.h" @@ -53,4 +53,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RENDERBUNDLEENCODER_H_ +#endif // SRC_DAWN_NATIVE_RENDERBUNDLEENCODER_H_
diff --git a/src/dawn/native/RenderEncoderBase.h b/src/dawn/native/RenderEncoderBase.h index 80128f3..18ac91a 100644 --- a/src/dawn/native/RenderEncoderBase.h +++ b/src/dawn/native/RenderEncoderBase.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RENDERENCODERBASE_H_ -#define DAWNNATIVE_RENDERENCODERBASE_H_ +#ifndef SRC_DAWN_NATIVE_RENDERENCODERBASE_H_ +#define SRC_DAWN_NATIVE_RENDERENCODERBASE_H_ #include "dawn/native/AttachmentState.h" #include "dawn/native/CommandBufferStateTracker.h" @@ -84,4 +84,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RENDERENCODERBASE_H_ +#endif // SRC_DAWN_NATIVE_RENDERENCODERBASE_H_
diff --git a/src/dawn/native/RenderPassEncoder.h b/src/dawn/native/RenderPassEncoder.h index 970af73..757b46b 100644 --- a/src/dawn/native/RenderPassEncoder.h +++ b/src/dawn/native/RenderPassEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RENDERPASSENCODER_H_ -#define DAWNNATIVE_RENDERPASSENCODER_H_ +#ifndef SRC_DAWN_NATIVE_RENDERPASSENCODER_H_ +#define SRC_DAWN_NATIVE_RENDERPASSENCODER_H_ #include "dawn/native/Error.h" #include "dawn/native/Forward.h" @@ -100,4 +100,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RENDERPASSENCODER_H_ +#endif // SRC_DAWN_NATIVE_RENDERPASSENCODER_H_
diff --git a/src/dawn/native/RenderPipeline.h b/src/dawn/native/RenderPipeline.h index 429f2a9..56d482f 100644 --- a/src/dawn/native/RenderPipeline.h +++ b/src/dawn/native/RenderPipeline.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RENDERPIPELINE_H_ -#define DAWNNATIVE_RENDERPIPELINE_H_ +#ifndef SRC_DAWN_NATIVE_RENDERPIPELINE_H_ +#define SRC_DAWN_NATIVE_RENDERPIPELINE_H_ #include "dawn/common/TypedInteger.h" #include "dawn/native/AttachmentState.h" @@ -144,4 +144,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RENDERPIPELINE_H_ +#endif // SRC_DAWN_NATIVE_RENDERPIPELINE_H_
diff --git a/src/dawn/native/ResourceHeap.h b/src/dawn/native/ResourceHeap.h index cb45c88..b0ea037 100644 --- a/src/dawn/native/ResourceHeap.h +++ b/src/dawn/native/ResourceHeap.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RESOURCEHEAP_H_ -#define DAWNNATIVE_RESOURCEHEAP_H_ +#ifndef SRC_DAWN_NATIVE_RESOURCEHEAP_H_ +#define SRC_DAWN_NATIVE_RESOURCEHEAP_H_ #include "dawn/native/Error.h" @@ -28,4 +28,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RESOURCEHEAP_H_ +#endif // SRC_DAWN_NATIVE_RESOURCEHEAP_H_
diff --git a/src/dawn/native/ResourceHeapAllocator.h b/src/dawn/native/ResourceHeapAllocator.h index 3c86154..42b9229 100644 --- a/src/dawn/native/ResourceHeapAllocator.h +++ b/src/dawn/native/ResourceHeapAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RESOURCEHEAPALLOCATOR_H_ -#define DAWNNATIVE_RESOURCEHEAPALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_RESOURCEHEAPALLOCATOR_H_ +#define SRC_DAWN_NATIVE_RESOURCEHEAPALLOCATOR_H_ #include "dawn/native/Error.h" #include "dawn/native/ResourceHeap.h" @@ -34,4 +34,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_RESOURCEHEAPALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_RESOURCEHEAPALLOCATOR_H_
diff --git a/src/dawn/native/ResourceMemoryAllocation.h b/src/dawn/native/ResourceMemoryAllocation.h index 307d90a..5fea0f1 100644 --- a/src/dawn/native/ResourceMemoryAllocation.h +++ b/src/dawn/native/ResourceMemoryAllocation.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RESOURCEMEMORYALLOCATION_H_ -#define DAWNNATIVE_RESOURCEMEMORYALLOCATION_H_ +#ifndef SRC_DAWN_NATIVE_RESOURCEMEMORYALLOCATION_H_ +#define SRC_DAWN_NATIVE_RESOURCEMEMORYALLOCATION_H_ #include <cstdint> @@ -77,4 +77,4 @@ }; } // namespace dawn::native -#endif // DAWNNATIVE_RESOURCEMEMORYALLOCATION_H_ +#endif // SRC_DAWN_NATIVE_RESOURCEMEMORYALLOCATION_H_
diff --git a/src/dawn/native/RingBufferAllocator.h b/src/dawn/native/RingBufferAllocator.h index 8049470..27f7622 100644 --- a/src/dawn/native/RingBufferAllocator.h +++ b/src/dawn/native/RingBufferAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_RINGBUFFERALLOCATOR_H_ -#define DAWNNATIVE_RINGBUFFERALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_RINGBUFFERALLOCATOR_H_ +#define SRC_DAWN_NATIVE_RINGBUFFERALLOCATOR_H_ #include "dawn/common/SerialQueue.h" #include "dawn/native/IntegerTypes.h" @@ -60,4 +60,4 @@ }; } // namespace dawn::native -#endif // DAWNNATIVE_RINGBUFFERALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_RINGBUFFERALLOCATOR_H_
diff --git a/src/dawn/native/Sampler.h b/src/dawn/native/Sampler.h index e21b52c..5b3823c 100644 --- a/src/dawn/native/Sampler.h +++ b/src/dawn/native/Sampler.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SAMPLER_H_ -#define DAWNNATIVE_SAMPLER_H_ +#ifndef SRC_DAWN_NATIVE_SAMPLER_H_ +#define SRC_DAWN_NATIVE_SAMPLER_H_ #include "dawn/native/CachedObject.h" #include "dawn/native/Error.h" @@ -77,4 +77,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SAMPLER_H_ +#endif // SRC_DAWN_NATIVE_SAMPLER_H_
diff --git a/src/dawn/native/ScratchBuffer.h b/src/dawn/native/ScratchBuffer.h index 7845022..45f2d7a 100644 --- a/src/dawn/native/ScratchBuffer.h +++ b/src/dawn/native/ScratchBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SCRATCHBUFFER_H_ -#define DAWNNATIVE_SCRATCHBUFFER_H_ +#ifndef SRC_DAWN_NATIVE_SCRATCHBUFFER_H_ +#define SRC_DAWN_NATIVE_SCRATCHBUFFER_H_ #include "dawn/common/RefCounted.h" #include "dawn/native/Buffer.h" @@ -52,4 +52,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SCRATCHBUFFER_H_ +#endif // SRC_DAWN_NATIVE_SCRATCHBUFFER_H_
diff --git a/src/dawn/native/ShaderModule.h b/src/dawn/native/ShaderModule.h index ff643eb..bd69e5d 100644 --- a/src/dawn/native/ShaderModule.h +++ b/src/dawn/native/ShaderModule.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SHADERMODULE_H_ -#define DAWNNATIVE_SHADERMODULE_H_ +#ifndef SRC_DAWN_NATIVE_SHADERMODULE_H_ +#define SRC_DAWN_NATIVE_SHADERMODULE_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -311,4 +311,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SHADERMODULE_H_ +#endif // SRC_DAWN_NATIVE_SHADERMODULE_H_
diff --git a/src/dawn/native/SpirvValidation.h b/src/dawn/native/SpirvValidation.h index 984ebcd..0b4f368 100644 --- a/src/dawn/native/SpirvValidation.h +++ b/src/dawn/native/SpirvValidation.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_NATIVE_SPIRVVALIDATION_H_ +#define SRC_DAWN_NATIVE_SPIRVVALIDATION_H_ + #include "dawn/native/Error.h" #include <vector> @@ -25,3 +28,5 @@ bool dumpSpirv); } // namespace dawn::native + +#endif // SRC_DAWN_NATIVE_SPIRVVALIDATION_H_
diff --git a/src/dawn/native/StagingBuffer.h b/src/dawn/native/StagingBuffer.h index 0ebb1c4..eafc78d 100644 --- a/src/dawn/native/StagingBuffer.h +++ b/src/dawn/native/StagingBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_STAGINGBUFFER_H_ -#define DAWNNATIVE_STAGINGBUFFER_H_ +#ifndef SRC_DAWN_NATIVE_STAGINGBUFFER_H_ +#define SRC_DAWN_NATIVE_STAGINGBUFFER_H_ #include "dawn/native/Error.h" @@ -38,4 +38,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_STAGINGBUFFER_H_ +#endif // SRC_DAWN_NATIVE_STAGINGBUFFER_H_
diff --git a/src/dawn/native/Subresource.h b/src/dawn/native/Subresource.h index 63795e5..f985c68 100644 --- a/src/dawn/native/Subresource.h +++ b/src/dawn/native/Subresource.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SUBRESOURCE_H_ -#define DAWNNATIVE_SUBRESOURCE_H_ +#ifndef SRC_DAWN_NATIVE_SUBRESOURCE_H_ +#define SRC_DAWN_NATIVE_SUBRESOURCE_H_ #include "dawn/native/EnumClassBitmasks.h" #include "dawn/native/dawn_platform.h" @@ -109,4 +109,4 @@ } // namespace dawn -#endif // DAWNNATIVE_SUBRESOURCE_H_ +#endif // SRC_DAWN_NATIVE_SUBRESOURCE_H_
diff --git a/src/dawn/native/SubresourceStorage.h b/src/dawn/native/SubresourceStorage.h index 345f994..9dc9d99 100644 --- a/src/dawn/native/SubresourceStorage.h +++ b/src/dawn/native/SubresourceStorage.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SUBRESOURCESTORAGE_H_ -#define DAWNNATIVE_SUBRESOURCESTORAGE_H_ +#ifndef SRC_DAWN_NATIVE_SUBRESOURCESTORAGE_H_ +#define SRC_DAWN_NATIVE_SUBRESOURCESTORAGE_H_ #include "dawn/common/Assert.h" #include "dawn/common/TypeTraits.h" @@ -552,4 +552,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SUBRESOURCESTORAGE_H_ +#endif // SRC_DAWN_NATIVE_SUBRESOURCESTORAGE_H_
diff --git a/src/dawn/native/Surface.h b/src/dawn/native/Surface.h index c5d6185..c66253a 100644 --- a/src/dawn/native/Surface.h +++ b/src/dawn/native/Surface.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SURFACE_H_ -#define DAWNNATIVE_SURFACE_H_ +#ifndef SRC_DAWN_NATIVE_SURFACE_H_ +#define SRC_DAWN_NATIVE_SURFACE_H_ #include "dawn/common/RefCounted.h" #include "dawn/native/Error.h" @@ -121,4 +121,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SURFACE_H_ +#endif // SRC_DAWN_NATIVE_SURFACE_H_
diff --git a/src/dawn/native/SwapChain.h b/src/dawn/native/SwapChain.h index 48b8270..7c7d95c 100644 --- a/src/dawn/native/SwapChain.h +++ b/src/dawn/native/SwapChain.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_SWAPCHAIN_H_ -#define DAWNNATIVE_SWAPCHAIN_H_ +#ifndef SRC_DAWN_NATIVE_SWAPCHAIN_H_ +#define SRC_DAWN_NATIVE_SWAPCHAIN_H_ #include "dawn/native/Error.h" #include "dawn/native/Forward.h" @@ -167,4 +167,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_SWAPCHAIN_H_ +#endif // SRC_DAWN_NATIVE_SWAPCHAIN_H_
diff --git a/src/dawn/native/Texture.h b/src/dawn/native/Texture.h index 227aeb0..8b2210b 100644 --- a/src/dawn/native/Texture.h +++ b/src/dawn/native/Texture.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_TEXTURE_H_ -#define DAWNNATIVE_TEXTURE_H_ +#ifndef SRC_DAWN_NATIVE_TEXTURE_H_ +#define SRC_DAWN_NATIVE_TEXTURE_H_ #include "dawn/common/ityp_array.h" #include "dawn/common/ityp_bitset.h" @@ -160,4 +160,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_TEXTURE_H_ +#endif // SRC_DAWN_NATIVE_TEXTURE_H_
diff --git a/src/dawn/native/TintUtils.h b/src/dawn/native/TintUtils.h index 2dcb8f3..e3f6c3a 100644 --- a/src/dawn/native/TintUtils.h +++ b/src/dawn/native/TintUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_TINTUTILS_H_ -#define DAWNNATIVE_TINTUTILS_H_ +#ifndef SRC_DAWN_NATIVE_TINTUTILS_H_ +#define SRC_DAWN_NATIVE_TINTUTILS_H_ #include "dawn/common/NonCopyable.h" @@ -34,4 +34,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_TEXTURE_H_ +#endif // SRC_DAWN_NATIVE_TINTUTILS_H_
diff --git a/src/dawn/native/ToBackend.h b/src/dawn/native/ToBackend.h index a2a69cb..ef8f237 100644 --- a/src/dawn/native/ToBackend.h +++ b/src/dawn/native/ToBackend.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_TOBACKEND_H_ -#define DAWNNATIVE_TOBACKEND_H_ +#ifndef SRC_DAWN_NATIVE_TOBACKEND_H_ +#define SRC_DAWN_NATIVE_TOBACKEND_H_ #include "dawn/native/Forward.h" @@ -152,4 +152,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_TOBACKEND_H_ +#endif // SRC_DAWN_NATIVE_TOBACKEND_H_
diff --git a/src/dawn/native/Toggles.h b/src/dawn/native/Toggles.h index a45a82e..883d023 100644 --- a/src/dawn/native/Toggles.h +++ b/src/dawn/native/Toggles.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_TOGGLES_H_ -#define DAWNNATIVE_TOGGLES_H_ +#ifndef SRC_DAWN_NATIVE_TOGGLES_H_ +#define SRC_DAWN_NATIVE_TOGGLES_H_ #include <bitset> #include <unordered_map> @@ -99,4 +99,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_TOGGLES_H_ +#endif // SRC_DAWN_NATIVE_TOGGLES_H_
diff --git a/src/dawn/native/VertexFormat.h b/src/dawn/native/VertexFormat.h index f88ae28..d321232 100644 --- a/src/dawn/native/VertexFormat.h +++ b/src/dawn/native/VertexFormat.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VERTEXFORMAT_H_ -#define DAWNNATIVE_VERTEXFORMAT_H_ +#ifndef SRC_DAWN_NATIVE_VERTEXFORMAT_H_ +#define SRC_DAWN_NATIVE_VERTEXFORMAT_H_ #include "dawn/native/dawn_platform.h" @@ -37,4 +37,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_VERTEXFORMAT_H_ +#endif // SRC_DAWN_NATIVE_VERTEXFORMAT_H_
diff --git a/src/dawn/native/XlibXcbFunctions.h b/src/dawn/native/XlibXcbFunctions.h index 52998a4..5f0659e 100644 --- a/src/dawn/native/XlibXcbFunctions.h +++ b/src/dawn/native/XlibXcbFunctions.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_XLIBXCBFUNCTIONS_H_ -#define DAWNNATIVE_XLIBXCBFUNCTIONS_H_ +#ifndef SRC_DAWN_NATIVE_XLIBXCBFUNCTIONS_H_ +#define SRC_DAWN_NATIVE_XLIBXCBFUNCTIONS_H_ #include "dawn/common/DynamicLib.h" #include "dawn/native/Error.h" @@ -43,4 +43,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_XLIBXCBFUNCTIONS_H_ +#endif // SRC_DAWN_NATIVE_XLIBXCBFUNCTIONS_H_
diff --git a/src/dawn/native/d3d12/AdapterD3D12.h b/src/dawn/native/d3d12/AdapterD3D12.h index 3247a13..b1f6760 100644 --- a/src/dawn/native/d3d12/AdapterD3D12.h +++ b/src/dawn/native/d3d12/AdapterD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_ADAPTERD3D12_H_ -#define DAWNNATIVE_D3D12_ADAPTERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_ADAPTERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_ADAPTERD3D12_H_ #include "dawn/native/Adapter.h" @@ -63,4 +63,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_ADAPTERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_ADAPTERD3D12_H_
diff --git a/src/dawn/native/d3d12/BackendD3D12.h b/src/dawn/native/d3d12/BackendD3D12.h index 01ae6bc..4d0ff7c 100644 --- a/src/dawn/native/d3d12/BackendD3D12.h +++ b/src/dawn/native/d3d12/BackendD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_BACKENDD3D12_H_ -#define DAWNNATIVE_D3D12_BACKENDD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_BACKENDD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_BACKENDD3D12_H_ #include "dawn/native/BackendConnection.h" @@ -56,4 +56,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_BACKENDD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_BACKENDD3D12_H_
diff --git a/src/dawn/native/d3d12/BindGroupD3D12.h b/src/dawn/native/d3d12/BindGroupD3D12.h index 7fcf782..58498fc 100644 --- a/src/dawn/native/d3d12/BindGroupD3D12.h +++ b/src/dawn/native/d3d12/BindGroupD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_BINDGROUPD3D12_H_ -#define DAWNNATIVE_D3D12_BINDGROUPD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_BINDGROUPD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_BINDGROUPD3D12_H_ #include "dawn/common/PlacementAllocated.h" #include "dawn/common/ityp_span.h" @@ -65,4 +65,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_BINDGROUPD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_BINDGROUPD3D12_H_
diff --git a/src/dawn/native/d3d12/BindGroupLayoutD3D12.h b/src/dawn/native/d3d12/BindGroupLayoutD3D12.h index f16b16b..5a35964 100644 --- a/src/dawn/native/d3d12/BindGroupLayoutD3D12.h +++ b/src/dawn/native/d3d12/BindGroupLayoutD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_ -#define DAWNNATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_ #include "dawn/native/BindGroupLayout.h" @@ -91,4 +91,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_
diff --git a/src/dawn/native/d3d12/BufferD3D12.h b/src/dawn/native/d3d12/BufferD3D12.h index 253565a..8d10bbb 100644 --- a/src/dawn/native/d3d12/BufferD3D12.h +++ b/src/dawn/native/d3d12/BufferD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_BUFFERD3D12_H_ -#define DAWNNATIVE_D3D12_BUFFERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_BUFFERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_BUFFERD3D12_H_ #include "dawn/native/Buffer.h" @@ -88,4 +88,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_BUFFERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_BUFFERD3D12_H_
diff --git a/src/dawn/native/d3d12/CPUDescriptorHeapAllocationD3D12.h b/src/dawn/native/d3d12/CPUDescriptorHeapAllocationD3D12.h index 997d056..5c85268 100644 --- a/src/dawn/native/d3d12/CPUDescriptorHeapAllocationD3D12.h +++ b/src/dawn/native/d3d12/CPUDescriptorHeapAllocationD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_ -#define DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATIOND3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATIOND3D12_H_ #include <cstdint> @@ -44,4 +44,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_ +#endif // SRC_DAWN_NATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATIOND3D12_H_
diff --git a/src/dawn/native/d3d12/CommandAllocatorManager.h b/src/dawn/native/d3d12/CommandAllocatorManager.h index 1f8cc1e..baec984 100644 --- a/src/dawn/native/d3d12/CommandAllocatorManager.h +++ b/src/dawn/native/d3d12/CommandAllocatorManager.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_COMMANDALLOCATORMANAGER_H_ -#define DAWNNATIVE_D3D12_COMMANDALLOCATORMANAGER_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_COMMANDALLOCATORMANAGER_H_ +#define SRC_DAWN_NATIVE_D3D12_COMMANDALLOCATORMANAGER_H_ #include "dawn/native/d3d12/d3d12_platform.h" @@ -55,4 +55,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_COMMANDALLOCATORMANAGER_H_ +#endif // SRC_DAWN_NATIVE_D3D12_COMMANDALLOCATORMANAGER_H_
diff --git a/src/dawn/native/d3d12/CommandBufferD3D12.h b/src/dawn/native/d3d12/CommandBufferD3D12.h index d6d4438..952d450 100644 --- a/src/dawn/native/d3d12/CommandBufferD3D12.h +++ b/src/dawn/native/d3d12/CommandBufferD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_COMMANDBUFFERD3D12_H_ -#define DAWNNATIVE_D3D12_COMMANDBUFFERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_COMMANDBUFFERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_COMMANDBUFFERD3D12_H_ #include "dawn/native/CommandBuffer.h" #include "dawn/native/Error.h" @@ -54,4 +54,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_COMMANDBUFFERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_COMMANDBUFFERD3D12_H_
diff --git a/src/dawn/native/d3d12/CommandRecordingContext.h b/src/dawn/native/d3d12/CommandRecordingContext.h index 21a60f2..59c2ffa 100644 --- a/src/dawn/native/d3d12/CommandRecordingContext.h +++ b/src/dawn/native/d3d12/CommandRecordingContext.h
@@ -11,8 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_ -#define DAWNNATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_ +#define SRC_DAWN_NATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_ #include "dawn/native/Error.h" #include "dawn/native/IntegerTypes.h" @@ -55,4 +55,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_ +#endif // SRC_DAWN_NATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_
diff --git a/src/dawn/native/d3d12/ComputePipelineD3D12.h b/src/dawn/native/d3d12/ComputePipelineD3D12.h index 03a0259..cf55c13 100644 --- a/src/dawn/native/d3d12/ComputePipelineD3D12.h +++ b/src/dawn/native/d3d12/ComputePipelineD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_COMPUTEPIPELINED3D12_H_ -#define DAWNNATIVE_D3D12_COMPUTEPIPELINED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_COMPUTEPIPELINED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_COMPUTEPIPELINED3D12_H_ #include "dawn/native/ComputePipeline.h" @@ -55,4 +55,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_COMPUTEPIPELINED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_COMPUTEPIPELINED3D12_H_
diff --git a/src/dawn/native/d3d12/D3D11on12Util.h b/src/dawn/native/d3d12/D3D11on12Util.h index af7e680..4d960ff 100644 --- a/src/dawn/native/d3d12/D3D11on12Util.h +++ b/src/dawn/native/d3d12/D3D11on12Util.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D11ON12UTIL_H_ -#define DAWNNATIVE_D3D11ON12UTIL_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_D3D11ON12UTIL_H_ +#define SRC_DAWN_NATIVE_D3D12_D3D11ON12UTIL_H_ #include "dawn/common/RefCounted.h" #include "dawn/native/Error.h" @@ -89,4 +89,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D11ON12UTIL_H_ +#endif // SRC_DAWN_NATIVE_D3D12_D3D11ON12UTIL_H_
diff --git a/src/dawn/native/d3d12/D3D12Error.h b/src/dawn/native/d3d12/D3D12Error.h index f70690a..fda0ebe 100644 --- a/src/dawn/native/d3d12/D3D12Error.h +++ b/src/dawn/native/d3d12/D3D12Error.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_D3D12ERROR_H_ -#define DAWNNATIVE_D3D12_D3D12ERROR_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_D3D12ERROR_H_ +#define SRC_DAWN_NATIVE_D3D12_D3D12ERROR_H_ #include <d3d12.h> #include "dawn/native/Error.h" @@ -42,4 +42,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_D3D12ERROR_H_ +#endif // SRC_DAWN_NATIVE_D3D12_D3D12ERROR_H_
diff --git a/src/dawn/native/d3d12/D3D12Info.h b/src/dawn/native/d3d12/D3D12Info.h index 83ee837..d38c485 100644 --- a/src/dawn/native/d3d12/D3D12Info.h +++ b/src/dawn/native/d3d12/D3D12Info.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_D3D12INFO_H_ -#define DAWNNATIVE_D3D12_D3D12INFO_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_D3D12INFO_H_ +#define SRC_DAWN_NATIVE_D3D12_D3D12INFO_H_ #include "dawn/native/Error.h" #include "dawn/native/PerStage.h" @@ -38,4 +38,4 @@ ResultOrError<D3D12DeviceInfo> GatherDeviceInfo(const Adapter& adapter); } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_D3D12INFO_H_ +#endif // SRC_DAWN_NATIVE_D3D12_D3D12INFO_H_
diff --git a/src/dawn/native/d3d12/DeviceD3D12.h b/src/dawn/native/d3d12/DeviceD3D12.h index 1a83792..2dc97d0 100644 --- a/src/dawn/native/d3d12/DeviceD3D12.h +++ b/src/dawn/native/d3d12/DeviceD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_DEVICED3D12_H_ -#define DAWNNATIVE_D3D12_DEVICED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_DEVICED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_DEVICED3D12_H_ #include "dawn/common/SerialQueue.h" #include "dawn/native/Device.h" @@ -262,4 +262,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_DEVICED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_DEVICED3D12_H_
diff --git a/src/dawn/native/d3d12/Forward.h b/src/dawn/native/d3d12/Forward.h index a7aedb7..3004f2e 100644 --- a/src/dawn/native/d3d12/Forward.h +++ b/src/dawn/native/d3d12/Forward.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_FORWARD_H_ -#define DAWNNATIVE_D3D12_FORWARD_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_FORWARD_H_ +#define SRC_DAWN_NATIVE_D3D12_FORWARD_H_ #include "dawn/native/ToBackend.h" @@ -66,4 +66,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_FORWARD_H_ +#endif // SRC_DAWN_NATIVE_D3D12_FORWARD_H_
diff --git a/src/dawn/native/d3d12/GPUDescriptorHeapAllocationD3D12.h b/src/dawn/native/d3d12/GPUDescriptorHeapAllocationD3D12.h index 7f7ce1e..a7ac12c 100644 --- a/src/dawn/native/d3d12/GPUDescriptorHeapAllocationD3D12.h +++ b/src/dawn/native/d3d12/GPUDescriptorHeapAllocationD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_GPUDESCRIPTORHEAPALLOCATION_H_ -#define DAWNNATIVE_D3D12_GPUDESCRIPTORHEAPALLOCATION_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_GPUDESCRIPTORHEAPALLOCATIOND3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_GPUDESCRIPTORHEAPALLOCATIOND3D12_H_ #include "dawn/native/IntegerTypes.h" #include "dawn/native/d3d12/IntegerTypes.h" @@ -41,4 +41,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_ +#endif // SRC_DAWN_NATIVE_D3D12_GPUDESCRIPTORHEAPALLOCATIOND3D12_H_
diff --git a/src/dawn/native/d3d12/HeapAllocatorD3D12.h b/src/dawn/native/d3d12/HeapAllocatorD3D12.h index 055f739..3cc8ee06 100644 --- a/src/dawn/native/d3d12/HeapAllocatorD3D12.h +++ b/src/dawn/native/d3d12/HeapAllocatorD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_HEAPALLOCATORD3D12_H_ -#define DAWNNATIVE_D3D12_HEAPALLOCATORD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_HEAPALLOCATORD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_HEAPALLOCATORD3D12_H_ #include "dawn/native/D3D12Backend.h" #include "dawn/native/ResourceHeapAllocator.h" @@ -45,4 +45,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_HEAPALLOCATORD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_HEAPALLOCATORD3D12_H_
diff --git a/src/dawn/native/d3d12/HeapD3D12.h b/src/dawn/native/d3d12/HeapD3D12.h index c160366..b1efe5e 100644 --- a/src/dawn/native/d3d12/HeapD3D12.h +++ b/src/dawn/native/d3d12/HeapD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_HEAPD3D12_H_ -#define DAWNNATIVE_D3D12_HEAPD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_HEAPD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_HEAPD3D12_H_ #include "dawn/native/ResourceHeap.h" #include "dawn/native/d3d12/PageableD3D12.h" @@ -37,4 +37,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_HEAPD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_HEAPD3D12_H_
diff --git a/src/dawn/native/d3d12/IntegerTypes.h b/src/dawn/native/d3d12/IntegerTypes.h index 1e3dbfb..eff3d0d 100644 --- a/src/dawn/native/d3d12/IntegerTypes.h +++ b/src/dawn/native/d3d12/IntegerTypes.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_INTEGERTYPES_H_ -#define DAWNNATIVE_D3D12_INTEGERTYPES_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_INTEGERTYPES_H_ +#define SRC_DAWN_NATIVE_D3D12_INTEGERTYPES_H_ #include "dawn/common/Constants.h" #include "dawn/common/TypedInteger.h" @@ -28,4 +28,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_INTEGERTYPES_H_ +#endif // SRC_DAWN_NATIVE_D3D12_INTEGERTYPES_H_
diff --git a/src/dawn/native/d3d12/NativeSwapChainImplD3D12.h b/src/dawn/native/d3d12/NativeSwapChainImplD3D12.h index 8ed5ee2..5eee004 100644 --- a/src/dawn/native/d3d12/NativeSwapChainImplD3D12.h +++ b/src/dawn/native/d3d12/NativeSwapChainImplD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_ -#define DAWNNATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_ #include "dawn/native/d3d12/d3d12_platform.h" @@ -57,4 +57,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_NATIVESWAPCHAINIMPLD3D12_H_
diff --git a/src/dawn/native/d3d12/PageableD3D12.h b/src/dawn/native/d3d12/PageableD3D12.h index 19355dc..a52a8a1 100644 --- a/src/dawn/native/d3d12/PageableD3D12.h +++ b/src/dawn/native/d3d12/PageableD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_PAGEABLED3D12_H_ -#define DAWNNATIVE_D3D12_PAGEABLED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_PAGEABLED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_PAGEABLED3D12_H_ #include "dawn/common/LinkedList.h" #include "dawn/native/D3D12Backend.h" @@ -77,4 +77,4 @@ }; } // namespace dawn::native::d3d12 -#endif +#endif // SRC_DAWN_NATIVE_D3D12_PAGEABLED3D12_H_
diff --git a/src/dawn/native/d3d12/PipelineLayoutD3D12.h b/src/dawn/native/d3d12/PipelineLayoutD3D12.h index d1e8453..a1db136 100644 --- a/src/dawn/native/d3d12/PipelineLayoutD3D12.h +++ b/src/dawn/native/d3d12/PipelineLayoutD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_PIPELINELAYOUTD3D12_H_ -#define DAWNNATIVE_D3D12_PIPELINELAYOUTD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_PIPELINELAYOUTD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_PIPELINELAYOUTD3D12_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -97,4 +97,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_PIPELINELAYOUTD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_PIPELINELAYOUTD3D12_H_
diff --git a/src/dawn/native/d3d12/PlatformFunctions.h b/src/dawn/native/d3d12/PlatformFunctions.h index a236b1a..a8218f7 100644 --- a/src/dawn/native/d3d12/PlatformFunctions.h +++ b/src/dawn/native/d3d12/PlatformFunctions.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_PLATFORMFUNCTIONS_H_ -#define DAWNNATIVE_D3D12_PLATFORMFUNCTIONS_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_PLATFORMFUNCTIONS_H_ +#define SRC_DAWN_NATIVE_D3D12_PLATFORMFUNCTIONS_H_ #include "dawn/native/d3d12/d3d12_platform.h" @@ -107,4 +107,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_PLATFORMFUNCTIONS_H_ +#endif // SRC_DAWN_NATIVE_D3D12_PLATFORMFUNCTIONS_H_
diff --git a/src/dawn/native/d3d12/QuerySetD3D12.h b/src/dawn/native/d3d12/QuerySetD3D12.h index 5ace792..e67b12f 100644 --- a/src/dawn/native/d3d12/QuerySetD3D12.h +++ b/src/dawn/native/d3d12/QuerySetD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_QUERYSETD3D12_H_ -#define DAWNNATIVE_D3D12_QUERYSETD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_QUERYSETD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_QUERYSETD3D12_H_ #include "dawn/native/QuerySet.h" #include "dawn/native/d3d12/d3d12_platform.h" @@ -43,4 +43,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_QUERYSETD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_QUERYSETD3D12_H_
diff --git a/src/dawn/native/d3d12/QueueD3D12.h b/src/dawn/native/d3d12/QueueD3D12.h index 6f15a7d..aaf0a98 100644 --- a/src/dawn/native/d3d12/QueueD3D12.h +++ b/src/dawn/native/d3d12/QueueD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_QUEUED3D12_H_ -#define DAWNNATIVE_D3D12_QUEUED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_QUEUED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_QUEUED3D12_H_ #include "dawn/native/Queue.h" @@ -34,4 +34,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_QUEUED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_QUEUED3D12_H_
diff --git a/src/dawn/native/d3d12/RenderPassBuilderD3D12.h b/src/dawn/native/d3d12/RenderPassBuilderD3D12.h index 5731c52..0e7dcad 100644 --- a/src/dawn/native/d3d12/RenderPassBuilderD3D12.h +++ b/src/dawn/native/d3d12/RenderPassBuilderD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_RENDERPASSBUILDERD3D12_H_ -#define DAWNNATIVE_D3D12_RENDERPASSBUILDERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_RENDERPASSBUILDERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_RENDERPASSBUILDERD3D12_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -98,4 +98,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_RENDERPASSBUILDERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_RENDERPASSBUILDERD3D12_H_
diff --git a/src/dawn/native/d3d12/RenderPipelineD3D12.h b/src/dawn/native/d3d12/RenderPipelineD3D12.h index 13d4a1a..049520d 100644 --- a/src/dawn/native/d3d12/RenderPipelineD3D12.h +++ b/src/dawn/native/d3d12/RenderPipelineD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_RENDERPIPELINED3D12_H_ -#define DAWNNATIVE_D3D12_RENDERPIPELINED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_RENDERPIPELINED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_RENDERPIPELINED3D12_H_ #include "dawn/native/RenderPipeline.h" @@ -59,4 +59,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_RENDERPIPELINED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_RENDERPIPELINED3D12_H_
diff --git a/src/dawn/native/d3d12/ResidencyManagerD3D12.h b/src/dawn/native/d3d12/ResidencyManagerD3D12.h index 26d9cf0..490e487 100644 --- a/src/dawn/native/d3d12/ResidencyManagerD3D12.h +++ b/src/dawn/native/d3d12/ResidencyManagerD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_RESIDENCYMANAGERD3D12_H_ -#define DAWNNATIVE_D3D12_RESIDENCYMANAGERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_RESIDENCYMANAGERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_RESIDENCYMANAGERD3D12_H_ #include "dawn/common/LinkedList.h" #include "dawn/native/D3D12Backend.h" @@ -79,4 +79,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_RESIDENCYMANAGERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_RESIDENCYMANAGERD3D12_H_
diff --git a/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.h b/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.h index 331c982..41058ce 100644 --- a/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.h +++ b/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_ -#define DAWNNATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_ #include "dawn/common/SerialQueue.h" #include "dawn/native/BuddyMemoryAllocator.h" @@ -105,4 +105,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_RESOURCEALLOCATORMANAGERD3D12_H_
diff --git a/src/dawn/native/d3d12/ResourceHeapAllocationD3D12.h b/src/dawn/native/d3d12/ResourceHeapAllocationD3D12.h index c9de601..7cd765c 100644 --- a/src/dawn/native/d3d12/ResourceHeapAllocationD3D12.h +++ b/src/dawn/native/d3d12/ResourceHeapAllocationD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_ -#define DAWNNATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_ #include "dawn/native/Error.h" #include "dawn/native/ResourceMemoryAllocation.h" @@ -45,4 +45,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_RESOURCEHEAPALLOCATIOND3D12_H_
diff --git a/src/dawn/native/d3d12/SamplerD3D12.h b/src/dawn/native/d3d12/SamplerD3D12.h index e296afb..c1013c1 100644 --- a/src/dawn/native/d3d12/SamplerD3D12.h +++ b/src/dawn/native/d3d12/SamplerD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_SAMPLERD3D12_H_ -#define DAWNNATIVE_D3D12_SAMPLERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_SAMPLERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_SAMPLERD3D12_H_ #include "dawn/native/Sampler.h" @@ -37,4 +37,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_SAMPLERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_SAMPLERD3D12_H_
diff --git a/src/dawn/native/d3d12/SamplerHeapCacheD3D12.h b/src/dawn/native/d3d12/SamplerHeapCacheD3D12.h index be38d21..28c6fae 100644 --- a/src/dawn/native/d3d12/SamplerHeapCacheD3D12.h +++ b/src/dawn/native/d3d12/SamplerHeapCacheD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_SAMPLERHEAPCACHE_H_ -#define DAWNNATIVE_D3D12_SAMPLERHEAPCACHE_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_SAMPLERHEAPCACHED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_SAMPLERHEAPCACHED3D12_H_ #include "dawn/common/RefCounted.h" #include "dawn/native/BindingInfo.h" @@ -104,4 +104,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_SAMPLERHEAPCACHE_H_ +#endif // SRC_DAWN_NATIVE_D3D12_SAMPLERHEAPCACHED3D12_H_
diff --git a/src/dawn/native/d3d12/ShaderModuleD3D12.h b/src/dawn/native/d3d12/ShaderModuleD3D12.h index 2fd3a80..71d923a 100644 --- a/src/dawn/native/d3d12/ShaderModuleD3D12.h +++ b/src/dawn/native/d3d12/ShaderModuleD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_SHADERMODULED3D12_H_ -#define DAWNNATIVE_D3D12_SHADERMODULED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_SHADERMODULED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_SHADERMODULED3D12_H_ #include "dawn/native/PersistentCache.h" #include "dawn/native/ShaderModule.h" @@ -66,4 +66,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_SHADERMODULED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_SHADERMODULED3D12_H_
diff --git a/src/dawn/native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h b/src/dawn/native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h index dca8b29..38a182a 100644 --- a/src/dawn/native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h +++ b/src/dawn/native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATOR_H_ -#define DAWNNATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATORD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATORD3D12_H_ #include "dawn/native/Error.h" #include "dawn/native/RingBufferAllocator.h" @@ -102,4 +102,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATORD3D12_H_
diff --git a/src/dawn/native/d3d12/StagingBufferD3D12.h b/src/dawn/native/d3d12/StagingBufferD3D12.h index b810541..6e67a1a 100644 --- a/src/dawn/native/d3d12/StagingBufferD3D12.h +++ b/src/dawn/native/d3d12/StagingBufferD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_STAGINGBUFFERD3D12_H_ -#define DAWNNATIVE_STAGINGBUFFERD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_STAGINGBUFFERD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_STAGINGBUFFERD3D12_H_ #include "dawn/native/StagingBuffer.h" #include "dawn/native/d3d12/ResourceHeapAllocationD3D12.h" @@ -38,4 +38,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_STAGINGBUFFERD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_STAGINGBUFFERD3D12_H_
diff --git a/src/dawn/native/d3d12/StagingDescriptorAllocatorD3D12.h b/src/dawn/native/d3d12/StagingDescriptorAllocatorD3D12.h index 454aa09..5c69589 100644 --- a/src/dawn/native/d3d12/StagingDescriptorAllocatorD3D12.h +++ b/src/dawn/native/d3d12/StagingDescriptorAllocatorD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_STAGINGDESCRIPTORALLOCATOR_H_ -#define DAWNNATIVE_D3D12_STAGINGDESCRIPTORALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_STAGINGDESCRIPTORALLOCATORD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_STAGINGDESCRIPTORALLOCATORD3D12_H_ #include "dawn/native/Error.h" @@ -82,4 +82,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_STAGINGDESCRIPTORALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_D3D12_STAGINGDESCRIPTORALLOCATORD3D12_H_
diff --git a/src/dawn/native/d3d12/SwapChainD3D12.h b/src/dawn/native/d3d12/SwapChainD3D12.h index 1e8a7d9..4aff922 100644 --- a/src/dawn/native/d3d12/SwapChainD3D12.h +++ b/src/dawn/native/d3d12/SwapChainD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_SWAPCHAIND3D12_H_ -#define DAWNNATIVE_D3D12_SWAPCHAIND3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_SWAPCHAIND3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_SWAPCHAIND3D12_H_ #include "dawn/native/SwapChain.h" @@ -86,4 +86,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_SWAPCHAIN_D3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_SWAPCHAIND3D12_H_
diff --git a/src/dawn/native/d3d12/TextureCopySplitter.h b/src/dawn/native/d3d12/TextureCopySplitter.h index d549b90..207e916 100644 --- a/src/dawn/native/d3d12/TextureCopySplitter.h +++ b/src/dawn/native/d3d12/TextureCopySplitter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_TEXTURECOPYSPLITTER_H_ -#define DAWNNATIVE_D3D12_TEXTURECOPYSPLITTER_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_TEXTURECOPYSPLITTER_H_ +#define SRC_DAWN_NATIVE_D3D12_TEXTURECOPYSPLITTER_H_ #include "dawn/native/dawn_platform.h" @@ -94,4 +94,4 @@ uint32_t rowsPerImage); } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_TEXTURECOPYSPLITTER_H_ +#endif // SRC_DAWN_NATIVE_D3D12_TEXTURECOPYSPLITTER_H_
diff --git a/src/dawn/native/d3d12/TextureD3D12.h b/src/dawn/native/d3d12/TextureD3D12.h index 1264f76..2a05e97 100644 --- a/src/dawn/native/d3d12/TextureD3D12.h +++ b/src/dawn/native/d3d12/TextureD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_TEXTURED3D12_H_ -#define DAWNNATIVE_D3D12_TEXTURED3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_TEXTURED3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_TEXTURED3D12_H_ #include "dawn/native/Texture.h" @@ -160,4 +160,4 @@ }; } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_TEXTURED3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_TEXTURED3D12_H_
diff --git a/src/dawn/native/d3d12/UtilsD3D12.h b/src/dawn/native/d3d12/UtilsD3D12.h index 00c850f..912d1b7 100644 --- a/src/dawn/native/d3d12/UtilsD3D12.h +++ b/src/dawn/native/d3d12/UtilsD3D12.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_UTILSD3D12_H_ -#define DAWNNATIVE_D3D12_UTILSD3D12_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_UTILSD3D12_H_ +#define SRC_DAWN_NATIVE_D3D12_UTILSD3D12_H_ #include "dawn/native/Commands.h" #include "dawn/native/d3d12/BufferD3D12.h" @@ -71,4 +71,4 @@ } // namespace dawn::native::d3d12 -#endif // DAWNNATIVE_D3D12_UTILSD3D12_H_ +#endif // SRC_DAWN_NATIVE_D3D12_UTILSD3D12_H_
diff --git a/src/dawn/native/d3d12/d3d12_platform.h b/src/dawn/native/d3d12/d3d12_platform.h index f020fec..0622576 100644 --- a/src/dawn/native/d3d12/d3d12_platform.h +++ b/src/dawn/native/d3d12/d3d12_platform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_D3D12_D3D12PLATFORM_H_ -#define DAWNNATIVE_D3D12_D3D12PLATFORM_H_ +#ifndef SRC_DAWN_NATIVE_D3D12_D3D12_PLATFORM_H_ +#define SRC_DAWN_NATIVE_D3D12_D3D12_PLATFORM_H_ // Pre-emptively include windows.h but remove its macros so that they aren't set when declaring the // COM interfaces. Otherwise ID3D12InfoQueue::GetMessage would be either GetMessageA or GetMessageW @@ -34,4 +34,4 @@ using Microsoft::WRL::ComPtr; -#endif // DAWNNATIVE_D3D12_D3D12PLATFORM_H_ +#endif // SRC_DAWN_NATIVE_D3D12_D3D12_PLATFORM_H_
diff --git a/src/dawn/native/dawn_platform.h b/src/dawn/native/dawn_platform.h index c8863af..3be467b 100644 --- a/src/dawn/native/dawn_platform.h +++ b/src/dawn/native/dawn_platform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_DAWNPLATFORM_H_ -#define DAWNNATIVE_DAWNPLATFORM_H_ +#ifndef SRC_DAWN_NATIVE_DAWN_PLATFORM_H_ +#define SRC_DAWN_NATIVE_DAWN_PLATFORM_H_ // Use webgpu_cpp to have the enum and bitfield definitions #include <dawn/webgpu_cpp.h> @@ -59,4 +59,4 @@ static_cast<wgpu::BufferBindingType>(0xFFFFFFFF); } // namespace dawn::native -#endif // DAWNNATIVE_DAWNPLATFORM_H_ +#endif // SRC_DAWN_NATIVE_DAWN_PLATFORM_H_
diff --git a/src/dawn/native/metal/BackendMTL.h b/src/dawn/native/metal/BackendMTL.h index 0dd7204..16f8843 100644 --- a/src/dawn/native/metal/BackendMTL.h +++ b/src/dawn/native/metal/BackendMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_BACKENDMTL_H_ -#define DAWNNATIVE_METAL_BACKENDMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_BACKENDMTL_H_ +#define SRC_DAWN_NATIVE_METAL_BACKENDMTL_H_ #include "dawn/native/BackendConnection.h" @@ -30,4 +30,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_BACKENDMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_BACKENDMTL_H_
diff --git a/src/dawn/native/metal/BindGroupLayoutMTL.h b/src/dawn/native/metal/BindGroupLayoutMTL.h index bf4c3e9..fbd344c 100644 --- a/src/dawn/native/metal/BindGroupLayoutMTL.h +++ b/src/dawn/native/metal/BindGroupLayoutMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_BINDGROUPLAYOUTMTL_H_ -#define DAWNNATIVE_METAL_BINDGROUPLAYOUTMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_BINDGROUPLAYOUTMTL_H_ +#define SRC_DAWN_NATIVE_METAL_BINDGROUPLAYOUTMTL_H_ #include "dawn/common/SlabAllocator.h" #include "dawn/native/BindGroupLayout.h" @@ -43,4 +43,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_BINDGROUPLAYOUTMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_BINDGROUPLAYOUTMTL_H_
diff --git a/src/dawn/native/metal/BindGroupMTL.h b/src/dawn/native/metal/BindGroupMTL.h index 238635c..9fd71d2 100644 --- a/src/dawn/native/metal/BindGroupMTL.h +++ b/src/dawn/native/metal/BindGroupMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_BINDGROUPMTL_H_ -#define DAWNNATIVE_METAL_BINDGROUPMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_BINDGROUPMTL_H_ +#define SRC_DAWN_NATIVE_METAL_BINDGROUPMTL_H_ #include "dawn/common/PlacementAllocated.h" #include "dawn/native/BindGroup.h" @@ -36,4 +36,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_BINDGROUPMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_BINDGROUPMTL_H_
diff --git a/src/dawn/native/metal/BufferMTL.h b/src/dawn/native/metal/BufferMTL.h index 8eb9a36..4e36736 100644 --- a/src/dawn/native/metal/BufferMTL.h +++ b/src/dawn/native/metal/BufferMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_BUFFERMTL_H_ -#define DAWNNATIVE_METAL_BUFFERMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_BUFFERMTL_H_ +#define SRC_DAWN_NATIVE_METAL_BUFFERMTL_H_ #include "dawn/common/NSRef.h" #include "dawn/common/SerialQueue.h" @@ -64,4 +64,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_BUFFERMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_BUFFERMTL_H_
diff --git a/src/dawn/native/metal/CommandBufferMTL.h b/src/dawn/native/metal/CommandBufferMTL.h index 29db870..6fd68cf 100644 --- a/src/dawn/native/metal/CommandBufferMTL.h +++ b/src/dawn/native/metal/CommandBufferMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_COMMANDBUFFERMTL_H_ -#define DAWNNATIVE_METAL_COMMANDBUFFERMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_COMMANDBUFFERMTL_H_ +#define SRC_DAWN_NATIVE_METAL_COMMANDBUFFERMTL_H_ #include "dawn/native/CommandBuffer.h" #include "dawn/native/Error.h" @@ -66,4 +66,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_COMMANDBUFFERMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_COMMANDBUFFERMTL_H_
diff --git a/src/dawn/native/metal/CommandRecordingContext.h b/src/dawn/native/metal/CommandRecordingContext.h index fb06aa8..925d8fa 100644 --- a/src/dawn/native/metal/CommandRecordingContext.h +++ b/src/dawn/native/metal/CommandRecordingContext.h
@@ -11,8 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_COMMANDRECORDINGCONTEXT_H_ -#define DAWNNATIVE_METAL_COMMANDRECORDINGCONTEXT_H_ +#ifndef SRC_DAWN_NATIVE_METAL_COMMANDRECORDINGCONTEXT_H_ +#define SRC_DAWN_NATIVE_METAL_COMMANDRECORDINGCONTEXT_H_ #include "dawn/common/NSRef.h" #include "dawn/common/NonCopyable.h" @@ -56,4 +56,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_COMMANDRECORDINGCONTEXT_H_ +#endif // SRC_DAWN_NATIVE_METAL_COMMANDRECORDINGCONTEXT_H_
diff --git a/src/dawn/native/metal/ComputePipelineMTL.h b/src/dawn/native/metal/ComputePipelineMTL.h index d61db22..3091d74 100644 --- a/src/dawn/native/metal/ComputePipelineMTL.h +++ b/src/dawn/native/metal/ComputePipelineMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_COMPUTEPIPELINEMTL_H_ -#define DAWNNATIVE_METAL_COMPUTEPIPELINEMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_COMPUTEPIPELINEMTL_H_ +#define SRC_DAWN_NATIVE_METAL_COMPUTEPIPELINEMTL_H_ #include "dawn/native/ComputePipeline.h" @@ -50,4 +50,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_COMPUTEPIPELINEMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_COMPUTEPIPELINEMTL_H_
diff --git a/src/dawn/native/metal/DeviceMTL.h b/src/dawn/native/metal/DeviceMTL.h index a6b6592..53d7b60 100644 --- a/src/dawn/native/metal/DeviceMTL.h +++ b/src/dawn/native/metal/DeviceMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_DEVICEMTL_H_ -#define DAWNNATIVE_METAL_DEVICEMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_DEVICEMTL_H_ +#define SRC_DAWN_NATIVE_METAL_DEVICEMTL_H_ #include "dawn/native/dawn_platform.h" @@ -150,4 +150,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_DEVICEMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_DEVICEMTL_H_
diff --git a/src/dawn/native/metal/Forward.h b/src/dawn/native/metal/Forward.h index bdfc31d..ab85da5 100644 --- a/src/dawn/native/metal/Forward.h +++ b/src/dawn/native/metal/Forward.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_FORWARD_H_ -#define DAWNNATIVE_METAL_FORWARD_H_ +#ifndef SRC_DAWN_NATIVE_METAL_FORWARD_H_ +#define SRC_DAWN_NATIVE_METAL_FORWARD_H_ #include "dawn/native/ToBackend.h" @@ -65,4 +65,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_FORWARD_H_ +#endif // SRC_DAWN_NATIVE_METAL_FORWARD_H_
diff --git a/src/dawn/native/metal/PipelineLayoutMTL.h b/src/dawn/native/metal/PipelineLayoutMTL.h index efd3f51..9e2ee15 100644 --- a/src/dawn/native/metal/PipelineLayoutMTL.h +++ b/src/dawn/native/metal/PipelineLayoutMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_PIPELINELAYOUTMTL_H_ -#define DAWNNATIVE_METAL_PIPELINELAYOUTMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_PIPELINELAYOUTMTL_H_ +#define SRC_DAWN_NATIVE_METAL_PIPELINELAYOUTMTL_H_ #include "dawn/common/ityp_stack_vec.h" #include "dawn/native/BindingInfo.h" @@ -59,4 +59,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_PIPELINELAYOUTMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_PIPELINELAYOUTMTL_H_
diff --git a/src/dawn/native/metal/QuerySetMTL.h b/src/dawn/native/metal/QuerySetMTL.h index 23d6c44..67cda0f 100644 --- a/src/dawn/native/metal/QuerySetMTL.h +++ b/src/dawn/native/metal/QuerySetMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_QUERYSETMTL_H_ -#define DAWNNATIVE_METAL_QUERYSETMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_QUERYSETMTL_H_ +#define SRC_DAWN_NATIVE_METAL_QUERYSETMTL_H_ #include "dawn/native/QuerySet.h" @@ -51,4 +51,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_QUERYSETMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_QUERYSETMTL_H_
diff --git a/src/dawn/native/metal/QueueMTL.h b/src/dawn/native/metal/QueueMTL.h index fd94e07..de491b8 100644 --- a/src/dawn/native/metal/QueueMTL.h +++ b/src/dawn/native/metal/QueueMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_QUEUEMTL_H_ -#define DAWNNATIVE_METAL_QUEUEMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_QUEUEMTL_H_ +#define SRC_DAWN_NATIVE_METAL_QUEUEMTL_H_ #include "dawn/native/Queue.h" @@ -31,4 +31,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_QUEUEMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_QUEUEMTL_H_
diff --git a/src/dawn/native/metal/RenderPipelineMTL.h b/src/dawn/native/metal/RenderPipelineMTL.h index a4c6296..338a3e9 100644 --- a/src/dawn/native/metal/RenderPipelineMTL.h +++ b/src/dawn/native/metal/RenderPipelineMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_RENDERPIPELINEMTL_H_ -#define DAWNNATIVE_METAL_RENDERPIPELINEMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_RENDERPIPELINEMTL_H_ +#define SRC_DAWN_NATIVE_METAL_RENDERPIPELINEMTL_H_ #include "dawn/native/RenderPipeline.h" @@ -67,4 +67,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_RENDERPIPELINEMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_RENDERPIPELINEMTL_H_
diff --git a/src/dawn/native/metal/SamplerMTL.h b/src/dawn/native/metal/SamplerMTL.h index 166fbe4..c71c884 100644 --- a/src/dawn/native/metal/SamplerMTL.h +++ b/src/dawn/native/metal/SamplerMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_SAMPLERMTL_H_ -#define DAWNNATIVE_METAL_SAMPLERMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_SAMPLERMTL_H_ +#define SRC_DAWN_NATIVE_METAL_SAMPLERMTL_H_ #include "dawn/native/Sampler.h" @@ -41,4 +41,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_SAMPLERMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_SAMPLERMTL_H_
diff --git a/src/dawn/native/metal/ShaderModuleMTL.h b/src/dawn/native/metal/ShaderModuleMTL.h index 0188bb1..89f1e54 100644 --- a/src/dawn/native/metal/ShaderModuleMTL.h +++ b/src/dawn/native/metal/ShaderModuleMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_SHADERMODULEMTL_H_ -#define DAWNNATIVE_METAL_SHADERMODULEMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_SHADERMODULEMTL_H_ +#define SRC_DAWN_NATIVE_METAL_SHADERMODULEMTL_H_ #include "dawn/native/ShaderModule.h" @@ -67,4 +67,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_SHADERMODULEMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_SHADERMODULEMTL_H_
diff --git a/src/dawn/native/metal/StagingBufferMTL.h b/src/dawn/native/metal/StagingBufferMTL.h index 4400598..7c6636f 100644 --- a/src/dawn/native/metal/StagingBufferMTL.h +++ b/src/dawn/native/metal/StagingBufferMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_STAGINGBUFFERMETAL_H_ -#define DAWNNATIVE_STAGINGBUFFERMETAL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_STAGINGBUFFERMTL_H_ +#define SRC_DAWN_NATIVE_METAL_STAGINGBUFFERMTL_H_ #include "dawn/native/StagingBuffer.h" @@ -39,4 +39,4 @@ }; } // namespace dawn::native::metal -#endif // DAWNNATIVE_STAGINGBUFFERMETAL_H_ +#endif // SRC_DAWN_NATIVE_METAL_STAGINGBUFFERMTL_H_
diff --git a/src/dawn/native/metal/SwapChainMTL.h b/src/dawn/native/metal/SwapChainMTL.h index 9cae564..a5a1e48 100644 --- a/src/dawn/native/metal/SwapChainMTL.h +++ b/src/dawn/native/metal/SwapChainMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_SWAPCHAINMTL_H_ -#define DAWNNATIVE_METAL_SWAPCHAINMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_SWAPCHAINMTL_H_ +#define SRC_DAWN_NATIVE_METAL_SWAPCHAINMTL_H_ #include "dawn/native/SwapChain.h" @@ -64,4 +64,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_SWAPCHAINMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_SWAPCHAINMTL_H_
diff --git a/src/dawn/native/metal/TextureMTL.h b/src/dawn/native/metal/TextureMTL.h index c5544f6..cf2e637 100644 --- a/src/dawn/native/metal/TextureMTL.h +++ b/src/dawn/native/metal/TextureMTL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_TEXTUREMTL_H_ -#define DAWNNATIVE_METAL_TEXTUREMTL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_TEXTUREMTL_H_ +#define SRC_DAWN_NATIVE_METAL_TEXTUREMTL_H_ #include "dawn/native/Texture.h" @@ -102,4 +102,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_TEXTUREMTL_H_ +#endif // SRC_DAWN_NATIVE_METAL_TEXTUREMTL_H_
diff --git a/src/dawn/native/metal/UtilsMetal.h b/src/dawn/native/metal/UtilsMetal.h index 5c4ae9c..3a0d76d 100644 --- a/src/dawn/native/metal/UtilsMetal.h +++ b/src/dawn/native/metal/UtilsMetal.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_METAL_UTILSMETAL_H_ -#define DAWNNATIVE_METAL_UTILSMETAL_H_ +#ifndef SRC_DAWN_NATIVE_METAL_UTILSMETAL_H_ +#define SRC_DAWN_NATIVE_METAL_UTILSMETAL_H_ #include "dawn/native/dawn_platform.h" #include "dawn/native/metal/DeviceMTL.h" @@ -83,4 +83,4 @@ } // namespace dawn::native::metal -#endif // DAWNNATIVE_METAL_UTILSMETAL_H_ +#endif // SRC_DAWN_NATIVE_METAL_UTILSMETAL_H_
diff --git a/src/dawn/native/null/DeviceNull.h b/src/dawn/native/null/DeviceNull.h index d810c06..51645d0 100644 --- a/src/dawn/native/null/DeviceNull.h +++ b/src/dawn/native/null/DeviceNull.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_NULL_DEVICENULL_H_ -#define DAWNNATIVE_NULL_DEVICENULL_H_ +#ifndef SRC_DAWN_NATIVE_NULL_DEVICENULL_H_ +#define SRC_DAWN_NATIVE_NULL_DEVICENULL_H_ #include "dawn/native/Adapter.h" #include "dawn/native/BindGroup.h" @@ -337,4 +337,4 @@ } // namespace dawn::native::null -#endif // DAWNNATIVE_NULL_DEVICENULL_H_ +#endif // SRC_DAWN_NATIVE_NULL_DEVICENULL_H_
diff --git a/src/dawn/native/opengl/BackendGL.h b/src/dawn/native/opengl/BackendGL.h index 12e7b47..8c3bd95 100644 --- a/src/dawn/native/opengl/BackendGL.h +++ b/src/dawn/native/opengl/BackendGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_BACKENDGL_H_ -#define DAWNNATIVE_OPENGL_BACKENDGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_BACKENDGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_BACKENDGL_H_ #include "dawn/native/BackendConnection.h" @@ -33,4 +33,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_BACKENDGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_BACKENDGL_H_
diff --git a/src/dawn/native/opengl/BindGroupGL.h b/src/dawn/native/opengl/BindGroupGL.h index 9d6ccec..fb6e2b5 100644 --- a/src/dawn/native/opengl/BindGroupGL.h +++ b/src/dawn/native/opengl/BindGroupGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_BINDGROUPGL_H_ -#define DAWNNATIVE_OPENGL_BINDGROUPGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_BINDGROUPGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_BINDGROUPGL_H_ #include "dawn/common/PlacementAllocated.h" #include "dawn/native/BindGroup.h" @@ -38,4 +38,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_BINDGROUPGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_BINDGROUPGL_H_
diff --git a/src/dawn/native/opengl/BindGroupLayoutGL.h b/src/dawn/native/opengl/BindGroupLayoutGL.h index 1cb3cc2..5e14798 100644 --- a/src/dawn/native/opengl/BindGroupLayoutGL.h +++ b/src/dawn/native/opengl/BindGroupLayoutGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_BINDGROUPLAYOUTGL_H_ -#define DAWNNATIVE_OPENGL_BINDGROUPLAYOUTGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_BINDGROUPLAYOUTGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_BINDGROUPLAYOUTGL_H_ #include "dawn/common/SlabAllocator.h" #include "dawn/native/BindGroupLayout.h" @@ -39,4 +39,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_BINDGROUPLAYOUTGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_BINDGROUPLAYOUTGL_H_
diff --git a/src/dawn/native/opengl/BufferGL.h b/src/dawn/native/opengl/BufferGL.h index 2cd1ae6..910e5db 100644 --- a/src/dawn/native/opengl/BufferGL.h +++ b/src/dawn/native/opengl/BufferGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_BUFFERGL_H_ -#define DAWNNATIVE_OPENGL_BUFFERGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_BUFFERGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_BUFFERGL_H_ #include "dawn/native/Buffer.h" @@ -55,4 +55,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_BUFFERGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_BUFFERGL_H_
diff --git a/src/dawn/native/opengl/CommandBufferGL.h b/src/dawn/native/opengl/CommandBufferGL.h index e0f3193..4b3da13 100644 --- a/src/dawn/native/opengl/CommandBufferGL.h +++ b/src/dawn/native/opengl/CommandBufferGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_ -#define DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_ #include "dawn/native/CommandBuffer.h" @@ -46,4 +46,4 @@ const Extent3D& copySize); } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_COMMANDBUFFERGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_COMMANDBUFFERGL_H_
diff --git a/src/dawn/native/opengl/ComputePipelineGL.h b/src/dawn/native/opengl/ComputePipelineGL.h index 23be225..00a3ded 100644 --- a/src/dawn/native/opengl/ComputePipelineGL.h +++ b/src/dawn/native/opengl/ComputePipelineGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_COMPUTEPIPELINEGL_H_ -#define DAWNNATIVE_OPENGL_COMPUTEPIPELINEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_COMPUTEPIPELINEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_COMPUTEPIPELINEGL_H_ #include "dawn/native/ComputePipeline.h" @@ -43,4 +43,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_COMPUTEPIPELINEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_COMPUTEPIPELINEGL_H_
diff --git a/src/dawn/native/opengl/DeviceGL.h b/src/dawn/native/opengl/DeviceGL.h index f6c673c..865013b 100644 --- a/src/dawn/native/opengl/DeviceGL.h +++ b/src/dawn/native/opengl/DeviceGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_DEVICEGL_H_ -#define DAWNNATIVE_OPENGL_DEVICEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_DEVICEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_DEVICEGL_H_ #include "dawn/native/dawn_platform.h" @@ -128,4 +128,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_DEVICEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_DEVICEGL_H_
diff --git a/src/dawn/native/opengl/Forward.h b/src/dawn/native/opengl/Forward.h index daf2dc3..2ebd2fb 100644 --- a/src/dawn/native/opengl/Forward.h +++ b/src/dawn/native/opengl/Forward.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_FORWARD_H_ -#define DAWNNATIVE_OPENGL_FORWARD_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_FORWARD_H_ +#define SRC_DAWN_NATIVE_OPENGL_FORWARD_H_ #include "dawn/native/ToBackend.h" @@ -63,4 +63,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_FORWARD_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_FORWARD_H_
diff --git a/src/dawn/native/opengl/GLFormat.h b/src/dawn/native/opengl/GLFormat.h index e3e3195..292fb4a 100644 --- a/src/dawn/native/opengl/GLFormat.h +++ b/src/dawn/native/opengl/GLFormat.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_GLFORMAT_H_ -#define DAWNNATIVE_OPENGL_GLFORMAT_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_GLFORMAT_H_ +#define SRC_DAWN_NATIVE_OPENGL_GLFORMAT_H_ #include "dawn/native/Format.h" #include "dawn/native/opengl/opengl_platform.h" @@ -39,4 +39,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_GLFORMAT_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_GLFORMAT_H_
diff --git a/src/dawn/native/opengl/NativeSwapChainImplGL.h b/src/dawn/native/opengl/NativeSwapChainImplGL.h index bd7bc9d..6d52074 100644 --- a/src/dawn/native/opengl/NativeSwapChainImplGL.h +++ b/src/dawn/native/opengl/NativeSwapChainImplGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_ -#define DAWNNATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_ #include "dawn/native/OpenGLBackend.h" @@ -55,4 +55,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_NATIVESWAPCHAINIMPLGL_H_
diff --git a/src/dawn/native/opengl/OpenGLFunctions.h b/src/dawn/native/opengl/OpenGLFunctions.h index 3da6c86..128e5ec 100644 --- a/src/dawn/native/opengl/OpenGLFunctions.h +++ b/src/dawn/native/opengl/OpenGLFunctions.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_OPENGLFUNCTIONS_H_ -#define DAWNNATIVE_OPENGL_OPENGLFUNCTIONS_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_OPENGLFUNCTIONS_H_ +#define SRC_DAWN_NATIVE_OPENGL_OPENGLFUNCTIONS_H_ #include <unordered_set> @@ -42,4 +42,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_OPENGLFUNCTIONS_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_OPENGLFUNCTIONS_H_
diff --git a/src/dawn/native/opengl/OpenGLVersion.h b/src/dawn/native/opengl/OpenGLVersion.h index 6b1e91b..d575ba8 100644 --- a/src/dawn/native/opengl/OpenGLVersion.h +++ b/src/dawn/native/opengl/OpenGLVersion.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_OPENGLVERSION_H_ -#define DAWNNATIVE_OPENGL_OPENGLVERSION_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_OPENGLVERSION_H_ +#define SRC_DAWN_NATIVE_OPENGL_OPENGLVERSION_H_ #include "dawn/native/opengl/OpenGLFunctionsBase_autogen.h" @@ -41,4 +41,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_OPENGLVERSION_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_OPENGLVERSION_H_
diff --git a/src/dawn/native/opengl/PersistentPipelineStateGL.h b/src/dawn/native/opengl/PersistentPipelineStateGL.h index 959e7f9..fdfe293 100644 --- a/src/dawn/native/opengl/PersistentPipelineStateGL.h +++ b/src/dawn/native/opengl/PersistentPipelineStateGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_ -#define DAWNNATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_ #include "dawn/native/dawn_platform.h" #include "dawn/native/opengl/opengl_platform.h" @@ -42,4 +42,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_PERSISTENTPIPELINESTATEGL_H_
diff --git a/src/dawn/native/opengl/PipelineGL.h b/src/dawn/native/opengl/PipelineGL.h index 9bbfffa..da6fa28 100644 --- a/src/dawn/native/opengl/PipelineGL.h +++ b/src/dawn/native/opengl/PipelineGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_PIPELINEGL_H_ -#define DAWNNATIVE_OPENGL_PIPELINEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_PIPELINEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_PIPELINEGL_H_ #include "dawn/native/Pipeline.h" @@ -66,4 +66,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_PIPELINEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_PIPELINEGL_H_
diff --git a/src/dawn/native/opengl/PipelineLayoutGL.h b/src/dawn/native/opengl/PipelineLayoutGL.h index f743d6a..a315221 100644 --- a/src/dawn/native/opengl/PipelineLayoutGL.h +++ b/src/dawn/native/opengl/PipelineLayoutGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_PIPELINELAYOUTGL_H_ -#define DAWNNATIVE_OPENGL_PIPELINELAYOUTGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_PIPELINELAYOUTGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_PIPELINELAYOUTGL_H_ #include "dawn/native/PipelineLayout.h" @@ -47,4 +47,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_PIPELINELAYOUTGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_PIPELINELAYOUTGL_H_
diff --git a/src/dawn/native/opengl/QuerySetGL.h b/src/dawn/native/opengl/QuerySetGL.h index 1bef7c5..7e21654 100644 --- a/src/dawn/native/opengl/QuerySetGL.h +++ b/src/dawn/native/opengl/QuerySetGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_QUERYSETGL_H_ -#define DAWNNATIVE_OPENGL_QUERYSETGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_QUERYSETGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_QUERYSETGL_H_ #include "dawn/native/QuerySet.h" @@ -31,4 +31,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_QUERYSETGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_QUERYSETGL_H_
diff --git a/src/dawn/native/opengl/QueueGL.h b/src/dawn/native/opengl/QueueGL.h index f83278d..bd36222 100644 --- a/src/dawn/native/opengl/QueueGL.h +++ b/src/dawn/native/opengl/QueueGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_QUEUEGL_H_ -#define DAWNNATIVE_OPENGL_QUEUEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_QUEUEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_QUEUEGL_H_ #include "dawn/native/Queue.h" @@ -39,4 +39,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_QUEUEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_QUEUEGL_H_
diff --git a/src/dawn/native/opengl/RenderPipelineGL.h b/src/dawn/native/opengl/RenderPipelineGL.h index 1ee3f81..c1cb7f2 100644 --- a/src/dawn/native/opengl/RenderPipelineGL.h +++ b/src/dawn/native/opengl/RenderPipelineGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_RENDERPIPELINEGL_H_ -#define DAWNNATIVE_OPENGL_RENDERPIPELINEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_RENDERPIPELINEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_RENDERPIPELINEGL_H_ #include "dawn/native/RenderPipeline.h" @@ -59,4 +59,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_RENDERPIPELINEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_RENDERPIPELINEGL_H_
diff --git a/src/dawn/native/opengl/SamplerGL.h b/src/dawn/native/opengl/SamplerGL.h index 5d07ecb..1afb612 100644 --- a/src/dawn/native/opengl/SamplerGL.h +++ b/src/dawn/native/opengl/SamplerGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_SAMPLERGL_H_ -#define DAWNNATIVE_OPENGL_SAMPLERGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_SAMPLERGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_SAMPLERGL_H_ #include "dawn/native/Sampler.h" @@ -45,4 +45,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_SAMPLERGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_SAMPLERGL_H_
diff --git a/src/dawn/native/opengl/ShaderModuleGL.h b/src/dawn/native/opengl/ShaderModuleGL.h index 44cd0d4..89fecee 100644 --- a/src/dawn/native/opengl/ShaderModuleGL.h +++ b/src/dawn/native/opengl/ShaderModuleGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_SHADERMODULEGL_H_ -#define DAWNNATIVE_OPENGL_SHADERMODULEGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_SHADERMODULEGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_SHADERMODULEGL_H_ #include "dawn/native/ShaderModule.h" @@ -67,4 +67,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_SHADERMODULEGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_SHADERMODULEGL_H_
diff --git a/src/dawn/native/opengl/SwapChainGL.h b/src/dawn/native/opengl/SwapChainGL.h index 2c6c91a..d84c43c 100644 --- a/src/dawn/native/opengl/SwapChainGL.h +++ b/src/dawn/native/opengl/SwapChainGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_SWAPCHAINGL_H_ -#define DAWNNATIVE_OPENGL_SWAPCHAINGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_SWAPCHAINGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_SWAPCHAINGL_H_ #include "dawn/native/SwapChain.h" @@ -35,4 +35,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_SWAPCHAINGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_SWAPCHAINGL_H_
diff --git a/src/dawn/native/opengl/TextureGL.h b/src/dawn/native/opengl/TextureGL.h index cf77972..9d03201 100644 --- a/src/dawn/native/opengl/TextureGL.h +++ b/src/dawn/native/opengl/TextureGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_TEXTUREGL_H_ -#define DAWNNATIVE_OPENGL_TEXTUREGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_TEXTUREGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_TEXTUREGL_H_ #include "dawn/native/Texture.h" @@ -75,4 +75,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_TEXTUREGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_TEXTUREGL_H_
diff --git a/src/dawn/native/opengl/UtilsGL.h b/src/dawn/native/opengl/UtilsGL.h index 0abaff7..78e12db 100644 --- a/src/dawn/native/opengl/UtilsGL.h +++ b/src/dawn/native/opengl/UtilsGL.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_OPENGL_UTILSGL_H_ -#define DAWNNATIVE_OPENGL_UTILSGL_H_ +#ifndef SRC_DAWN_NATIVE_OPENGL_UTILSGL_H_ +#define SRC_DAWN_NATIVE_OPENGL_UTILSGL_H_ #include "dawn/native/Format.h" #include "dawn/native/dawn_platform.h" @@ -38,4 +38,4 @@ } // namespace dawn::native::opengl -#endif // DAWNNATIVE_OPENGL_UTILSGL_H_ +#endif // SRC_DAWN_NATIVE_OPENGL_UTILSGL_H_
diff --git a/src/dawn/native/opengl/opengl_platform.h b/src/dawn/native/opengl/opengl_platform.h index 04d9126..86d60db 100644 --- a/src/dawn/native/opengl/opengl_platform.h +++ b/src/dawn/native/opengl/opengl_platform.h
@@ -12,4 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_NATIVE_OPENGL_OPENGL_PLATFORM_H_ +#define SRC_DAWN_NATIVE_OPENGL_OPENGL_PLATFORM_H_ + #include "dawn/native/opengl/opengl_platform_autogen.h" + +#endif // SRC_DAWN_NATIVE_OPENGL_OPENGL_PLATFORM_H_
diff --git a/src/dawn/native/utils/WGPUHelpers.h b/src/dawn/native/utils/WGPUHelpers.h index 6e1fad2..e895905 100644 --- a/src/dawn/native/utils/WGPUHelpers.h +++ b/src/dawn/native/utils/WGPUHelpers.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_UTILS_WGPUHELPERS_H_ -#define DAWNNATIVE_UTILS_WGPUHELPERS_H_ +#ifndef SRC_DAWN_NATIVE_UTILS_WGPUHELPERS_H_ +#define SRC_DAWN_NATIVE_UTILS_WGPUHELPERS_H_ #include <dawn/native/dawn_platform.h> @@ -120,4 +120,4 @@ } // namespace dawn::native::utils -#endif // DAWNNATIVE_UTILS_WGPUHELPERS_H_ +#endif // SRC_DAWN_NATIVE_UTILS_WGPUHELPERS_H_
diff --git a/src/dawn/native/vulkan/AdapterVk.h b/src/dawn/native/vulkan/AdapterVk.h index 2f3948e..7616cda 100644 --- a/src/dawn/native/vulkan/AdapterVk.h +++ b/src/dawn/native/vulkan/AdapterVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_ADAPTERVK_H_ -#define DAWNNATIVE_VULKAN_ADAPTERVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_ADAPTERVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_ADAPTERVK_H_ #include "dawn/native/Adapter.h" @@ -56,4 +56,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_ADAPTERVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_ADAPTERVK_H_
diff --git a/src/dawn/native/vulkan/BackendVk.h b/src/dawn/native/vulkan/BackendVk.h index 2902dbb..533f1cf 100644 --- a/src/dawn/native/vulkan/BackendVk.h +++ b/src/dawn/native/vulkan/BackendVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_BACKENDVK_H_ -#define DAWNNATIVE_VULKAN_BACKENDVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_BACKENDVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_BACKENDVK_H_ #include "dawn/native/BackendConnection.h" @@ -83,4 +83,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_BACKENDVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_BACKENDVK_H_
diff --git a/src/dawn/native/vulkan/BindGroupLayoutVk.h b/src/dawn/native/vulkan/BindGroupLayoutVk.h index d8adedc..8dc41c4 100644 --- a/src/dawn/native/vulkan/BindGroupLayoutVk.h +++ b/src/dawn/native/vulkan/BindGroupLayoutVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_BINDGROUPLAYOUTVK_H_ -#define DAWNNATIVE_VULKAN_BINDGROUPLAYOUTVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_BINDGROUPLAYOUTVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_BINDGROUPLAYOUTVK_H_ #include "dawn/native/BindGroupLayout.h" @@ -81,4 +81,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_BINDGROUPLAYOUTVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_BINDGROUPLAYOUTVK_H_
diff --git a/src/dawn/native/vulkan/BindGroupVk.h b/src/dawn/native/vulkan/BindGroupVk.h index 100ea85..af7680a 100644 --- a/src/dawn/native/vulkan/BindGroupVk.h +++ b/src/dawn/native/vulkan/BindGroupVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_BINDGROUPVK_H_ -#define DAWNNATIVE_VULKAN_BINDGROUPVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_BINDGROUPVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_BINDGROUPVK_H_ #include "dawn/native/BindGroup.h" @@ -52,4 +52,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_BINDGROUPVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_BINDGROUPVK_H_
diff --git a/src/dawn/native/vulkan/BufferVk.h b/src/dawn/native/vulkan/BufferVk.h index 1f7ae74..185170e 100644 --- a/src/dawn/native/vulkan/BufferVk.h +++ b/src/dawn/native/vulkan/BufferVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_BUFFERVK_H_ -#define DAWNNATIVE_VULKAN_BUFFERVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_BUFFERVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_BUFFERVK_H_ #include "dawn/native/Buffer.h" @@ -79,4 +79,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_BUFFERVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_BUFFERVK_H_
diff --git a/src/dawn/native/vulkan/CacheKeyVk.h b/src/dawn/native/vulkan/CacheKeyVk.h index ab8e02d..cae87d6 100644 --- a/src/dawn/native/vulkan/CacheKeyVk.h +++ b/src/dawn/native/vulkan/CacheKeyVk.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_NATIVE_VULKAN_CACHEKEYVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_CACHEKEYVK_H_ + #include "dawn/common/Assert.h" #include "dawn/common/vulkan_platform.h" #include "dawn/native/CacheKey.h" @@ -83,3 +86,5 @@ } } // namespace dawn::native::vulkan + +#endif // SRC_DAWN_NATIVE_VULKAN_CACHEKEYVK_H_
diff --git a/src/dawn/native/vulkan/CommandBufferVk.h b/src/dawn/native/vulkan/CommandBufferVk.h index d329a41..e4ec410 100644 --- a/src/dawn/native/vulkan/CommandBufferVk.h +++ b/src/dawn/native/vulkan/CommandBufferVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_COMMANDBUFFERVK_H_ -#define DAWNNATIVE_VULKAN_COMMANDBUFFERVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_COMMANDBUFFERVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_COMMANDBUFFERVK_H_ #include "dawn/native/CommandBuffer.h" #include "dawn/native/Error.h" @@ -52,4 +52,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_COMMANDBUFFERVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_COMMANDBUFFERVK_H_
diff --git a/src/dawn/native/vulkan/CommandRecordingContext.h b/src/dawn/native/vulkan/CommandRecordingContext.h index 44f1c90..94e2e04 100644 --- a/src/dawn/native/vulkan/CommandRecordingContext.h +++ b/src/dawn/native/vulkan/CommandRecordingContext.h
@@ -11,8 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_ -#define DAWNNATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_ +#define SRC_DAWN_NATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_ #include "dawn/common/vulkan_platform.h" @@ -37,4 +37,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_COMMANDRECORDINGCONTEXT_H_
diff --git a/src/dawn/native/vulkan/ComputePipelineVk.h b/src/dawn/native/vulkan/ComputePipelineVk.h index ef4aeff..c2b7d83 100644 --- a/src/dawn/native/vulkan/ComputePipelineVk.h +++ b/src/dawn/native/vulkan/ComputePipelineVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_COMPUTEPIPELINEVK_H_ -#define DAWNNATIVE_VULKAN_COMPUTEPIPELINEVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_COMPUTEPIPELINEVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_COMPUTEPIPELINEVK_H_ #include "dawn/native/ComputePipeline.h" @@ -50,4 +50,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_COMPUTEPIPELINEVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_COMPUTEPIPELINEVK_H_
diff --git a/src/dawn/native/vulkan/DescriptorSetAllocation.h b/src/dawn/native/vulkan/DescriptorSetAllocation.h index ef72e86..ffe543e 100644 --- a/src/dawn/native/vulkan/DescriptorSetAllocation.h +++ b/src/dawn/native/vulkan/DescriptorSetAllocation.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_ -#define DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_ +#define SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_ #include "dawn/common/vulkan_platform.h" @@ -28,4 +28,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATION_H_
diff --git a/src/dawn/native/vulkan/DescriptorSetAllocator.h b/src/dawn/native/vulkan/DescriptorSetAllocator.h index b6cd495..cc3a96e 100644 --- a/src/dawn/native/vulkan/DescriptorSetAllocator.h +++ b/src/dawn/native/vulkan/DescriptorSetAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_ -#define DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_ +#define SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_ #include "dawn/common/SerialQueue.h" #include "dawn/common/vulkan_platform.h" @@ -73,4 +73,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_DESCRIPTORSETALLOCATOR_H_
diff --git a/src/dawn/native/vulkan/DeviceVk.h b/src/dawn/native/vulkan/DeviceVk.h index 55697efe..317e315 100644 --- a/src/dawn/native/vulkan/DeviceVk.h +++ b/src/dawn/native/vulkan/DeviceVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_DEVICEVK_H_ -#define DAWNNATIVE_VULKAN_DEVICEVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_DEVICEVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_DEVICEVK_H_ #include "dawn/native/dawn_platform.h" @@ -211,4 +211,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_DEVICEVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_DEVICEVK_H_
diff --git a/src/dawn/native/vulkan/ExternalHandle.h b/src/dawn/native/vulkan/ExternalHandle.h index 24edf42..d2a68d5 100644 --- a/src/dawn/native/vulkan/ExternalHandle.h +++ b/src/dawn/native/vulkan/ExternalHandle.h
@@ -1,5 +1,5 @@ -#ifndef DAWNNATIVE_VULKAN_EXTERNALHANDLE_H_ -#define DAWNNATIVE_VULKAN_EXTERNALHANDLE_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_EXTERNALHANDLE_H_ +#define SRC_DAWN_NATIVE_VULKAN_EXTERNALHANDLE_H_ #include "dawn/common/vulkan_platform.h" @@ -23,4 +23,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_EXTERNALHANDLE_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_EXTERNALHANDLE_H_
diff --git a/src/dawn/native/vulkan/FencedDeleter.h b/src/dawn/native/vulkan/FencedDeleter.h index bd4c88a..b8f9b13 100644 --- a/src/dawn/native/vulkan/FencedDeleter.h +++ b/src/dawn/native/vulkan/FencedDeleter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_FENCEDDELETER_H_ -#define DAWNNATIVE_VULKAN_FENCEDDELETER_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_FENCEDDELETER_H_ +#define SRC_DAWN_NATIVE_VULKAN_FENCEDDELETER_H_ #include "dawn/common/SerialQueue.h" #include "dawn/common/vulkan_platform.h" @@ -67,4 +67,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_FENCEDDELETER_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_FENCEDDELETER_H_
diff --git a/src/dawn/native/vulkan/Forward.h b/src/dawn/native/vulkan/Forward.h index 35f6ade..e6ac30b 100644 --- a/src/dawn/native/vulkan/Forward.h +++ b/src/dawn/native/vulkan/Forward.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_FORWARD_H_ -#define DAWNNATIVE_VULKAN_FORWARD_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_FORWARD_H_ +#define SRC_DAWN_NATIVE_VULKAN_FORWARD_H_ #include "dawn/native/ToBackend.h" @@ -66,4 +66,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_FORWARD_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_FORWARD_H_
diff --git a/src/dawn/native/vulkan/NativeSwapChainImplVk.h b/src/dawn/native/vulkan/NativeSwapChainImplVk.h index 5291465..5dc309f 100644 --- a/src/dawn/native/vulkan/NativeSwapChainImplVk.h +++ b/src/dawn/native/vulkan/NativeSwapChainImplVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_ -#define DAWNNATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_ #include "dawn/native/vulkan/VulkanInfo.h" @@ -68,4 +68,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_NATIVESWAPCHAINIMPLVK_H_
diff --git a/src/dawn/native/vulkan/PipelineLayoutVk.h b/src/dawn/native/vulkan/PipelineLayoutVk.h index 56d51e5..26f9f4e 100644 --- a/src/dawn/native/vulkan/PipelineLayoutVk.h +++ b/src/dawn/native/vulkan/PipelineLayoutVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_PIPELINELAYOUTVK_H_ -#define DAWNNATIVE_VULKAN_PIPELINELAYOUTVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_PIPELINELAYOUTVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_PIPELINELAYOUTVK_H_ #include "dawn/native/PipelineLayout.h" @@ -47,4 +47,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_PIPELINELAYOUTVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_PIPELINELAYOUTVK_H_
diff --git a/src/dawn/native/vulkan/QuerySetVk.h b/src/dawn/native/vulkan/QuerySetVk.h index 78a52c0..d0a3c93 100644 --- a/src/dawn/native/vulkan/QuerySetVk.h +++ b/src/dawn/native/vulkan/QuerySetVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_QUERYSETVK_H_ -#define DAWNNATIVE_VULKAN_QUERYSETVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_QUERYSETVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_QUERYSETVK_H_ #include "dawn/native/QuerySet.h" @@ -44,4 +44,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_QUERYSETVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_QUERYSETVK_H_
diff --git a/src/dawn/native/vulkan/QueueVk.h b/src/dawn/native/vulkan/QueueVk.h index a80b875..05f379c 100644 --- a/src/dawn/native/vulkan/QueueVk.h +++ b/src/dawn/native/vulkan/QueueVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_QUEUEVK_H_ -#define DAWNNATIVE_VULKAN_QUEUEVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_QUEUEVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_QUEUEVK_H_ #include "dawn/native/Queue.h" @@ -35,4 +35,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_QUEUEVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_QUEUEVK_H_
diff --git a/src/dawn/native/vulkan/RenderPassCache.h b/src/dawn/native/vulkan/RenderPassCache.h index aaf9fc8..6565b0d 100644 --- a/src/dawn/native/vulkan/RenderPassCache.h +++ b/src/dawn/native/vulkan/RenderPassCache.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_RENDERPASSCACHE_H_ -#define DAWNNATIVE_VULKAN_RENDERPASSCACHE_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_RENDERPASSCACHE_H_ +#define SRC_DAWN_NATIVE_VULKAN_RENDERPASSCACHE_H_ #include "dawn/common/Constants.h" #include "dawn/common/ityp_array.h" @@ -103,4 +103,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_RENDERPASSCACHE_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_RENDERPASSCACHE_H_
diff --git a/src/dawn/native/vulkan/RenderPipelineVk.h b/src/dawn/native/vulkan/RenderPipelineVk.h index 7d87caca..2c99f7e 100644 --- a/src/dawn/native/vulkan/RenderPipelineVk.h +++ b/src/dawn/native/vulkan/RenderPipelineVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_RENDERPIPELINEVK_H_ -#define DAWNNATIVE_VULKAN_RENDERPIPELINEVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_RENDERPIPELINEVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_RENDERPIPELINEVK_H_ #include "dawn/native/RenderPipeline.h" @@ -56,4 +56,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_RENDERPIPELINEVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_RENDERPIPELINEVK_H_
diff --git a/src/dawn/native/vulkan/ResourceHeapVk.h b/src/dawn/native/vulkan/ResourceHeapVk.h index 5b822c8..b7d8068 100644 --- a/src/dawn/native/vulkan/ResourceHeapVk.h +++ b/src/dawn/native/vulkan/ResourceHeapVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_RESOURCEHEAPVK_H_ -#define DAWNNATIVE_VULKAN_RESOURCEHEAPVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_RESOURCEHEAPVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_RESOURCEHEAPVK_H_ #include "dawn/common/vulkan_platform.h" #include "dawn/native/ResourceHeap.h" @@ -36,4 +36,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_RESOURCEHEAPVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_RESOURCEHEAPVK_H_
diff --git a/src/dawn/native/vulkan/ResourceMemoryAllocatorVk.h b/src/dawn/native/vulkan/ResourceMemoryAllocatorVk.h index 81864fd..0cd127c 100644 --- a/src/dawn/native/vulkan/ResourceMemoryAllocatorVk.h +++ b/src/dawn/native/vulkan/ResourceMemoryAllocatorVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_ -#define DAWNNATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_ #include "dawn/common/SerialQueue.h" #include "dawn/common/vulkan_platform.h" @@ -63,4 +63,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_RESOURCEMEMORYALLOCATORVK_H_
diff --git a/src/dawn/native/vulkan/SamplerVk.h b/src/dawn/native/vulkan/SamplerVk.h index 1b246c9..078e02d 100644 --- a/src/dawn/native/vulkan/SamplerVk.h +++ b/src/dawn/native/vulkan/SamplerVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_SAMPLERVK_H_ -#define DAWNNATIVE_VULKAN_SAMPLERVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_SAMPLERVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_SAMPLERVK_H_ #include "dawn/native/Sampler.h" @@ -45,4 +45,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_SAMPLERVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_SAMPLERVK_H_
diff --git a/src/dawn/native/vulkan/ShaderModuleVk.h b/src/dawn/native/vulkan/ShaderModuleVk.h index 3b69b75..8688ccc 100644 --- a/src/dawn/native/vulkan/ShaderModuleVk.h +++ b/src/dawn/native/vulkan/ShaderModuleVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_SHADERMODULEVK_H_ -#define DAWNNATIVE_VULKAN_SHADERMODULEVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_SHADERMODULEVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_SHADERMODULEVK_H_ #include "dawn/native/ShaderModule.h" @@ -75,4 +75,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_SHADERMODULEVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_SHADERMODULEVK_H_
diff --git a/src/dawn/native/vulkan/StagingBufferVk.h b/src/dawn/native/vulkan/StagingBufferVk.h index b6ad68b..e69634c 100644 --- a/src/dawn/native/vulkan/StagingBufferVk.h +++ b/src/dawn/native/vulkan/StagingBufferVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_STAGINGBUFFERVK_H_ -#define DAWNNATIVE_STAGINGBUFFERVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_STAGINGBUFFERVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_STAGINGBUFFERVK_H_ #include "dawn/common/vulkan_platform.h" #include "dawn/native/ResourceMemoryAllocation.h" @@ -39,4 +39,4 @@ }; } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_STAGINGBUFFERVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_STAGINGBUFFERVK_H_
diff --git a/src/dawn/native/vulkan/SwapChainVk.h b/src/dawn/native/vulkan/SwapChainVk.h index bfab4b7..a3503ce 100644 --- a/src/dawn/native/vulkan/SwapChainVk.h +++ b/src/dawn/native/vulkan/SwapChainVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_SWAPCHAINVK_H_ -#define DAWNNATIVE_VULKAN_SWAPCHAINVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_SWAPCHAINVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_SWAPCHAINVK_H_ #include "dawn/native/SwapChain.h" @@ -95,4 +95,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_SWAPCHAINVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_SWAPCHAINVK_H_
diff --git a/src/dawn/native/vulkan/TextureVk.h b/src/dawn/native/vulkan/TextureVk.h index 2452ade..c19d3b8 100644 --- a/src/dawn/native/vulkan/TextureVk.h +++ b/src/dawn/native/vulkan/TextureVk.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_TEXTUREVK_H_ -#define DAWNNATIVE_VULKAN_TEXTUREVK_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_TEXTUREVK_H_ +#define SRC_DAWN_NATIVE_VULKAN_TEXTUREVK_H_ #include "dawn/native/Texture.h" @@ -194,4 +194,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_TEXTUREVK_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_TEXTUREVK_H_
diff --git a/src/dawn/native/vulkan/UtilsVulkan.h b/src/dawn/native/vulkan/UtilsVulkan.h index c18a5b6..4ef8e45 100644 --- a/src/dawn/native/vulkan/UtilsVulkan.h +++ b/src/dawn/native/vulkan/UtilsVulkan.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_UTILSVULKAN_H_ -#define DAWNNATIVE_VULKAN_UTILSVULKAN_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_UTILSVULKAN_H_ +#define SRC_DAWN_NATIVE_VULKAN_UTILSVULKAN_H_ #include "dawn/common/vulkan_platform.h" #include "dawn/native/Commands.h" @@ -120,4 +120,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_UTILSVULKAN_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_UTILSVULKAN_H_
diff --git a/src/dawn/native/vulkan/VulkanError.h b/src/dawn/native/vulkan/VulkanError.h index e17e73b..90d1242 100644 --- a/src/dawn/native/vulkan/VulkanError.h +++ b/src/dawn/native/vulkan/VulkanError.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_VULKANERROR_H_ -#define DAWNNATIVE_VULKAN_VULKANERROR_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_VULKANERROR_H_ +#define SRC_DAWN_NATIVE_VULKAN_VULKANERROR_H_ #include "dawn/native/ErrorInjector.h" #include "dawn/native/vulkan/VulkanFunctions.h" @@ -47,4 +47,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_VULKANERROR_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_VULKANERROR_H_
diff --git a/src/dawn/native/vulkan/VulkanExtensions.h b/src/dawn/native/vulkan/VulkanExtensions.h index d58c35e..1aea2bc 100644 --- a/src/dawn/native/vulkan/VulkanExtensions.h +++ b/src/dawn/native/vulkan/VulkanExtensions.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_VULKANEXTENSIONS_H_ -#define DAWNNATIVE_VULKAN_VULKANEXTENSIONS_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_VULKANEXTENSIONS_H_ +#define SRC_DAWN_NATIVE_VULKAN_VULKANEXTENSIONS_H_ #include "dawn/common/ityp_bitset.h" @@ -163,4 +163,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_VULKANEXTENSIONS_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_VULKANEXTENSIONS_H_
diff --git a/src/dawn/native/vulkan/VulkanFunctions.h b/src/dawn/native/vulkan/VulkanFunctions.h index 0de5192..84c58ac 100644 --- a/src/dawn/native/vulkan/VulkanFunctions.h +++ b/src/dawn/native/vulkan/VulkanFunctions.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_VULKANFUNCTIONS_H_ -#define DAWNNATIVE_VULKAN_VULKANFUNCTIONS_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_VULKANFUNCTIONS_H_ +#define SRC_DAWN_NATIVE_VULKAN_VULKANFUNCTIONS_H_ #include "dawn/common/vulkan_platform.h" @@ -327,4 +327,4 @@ } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_VULKANFUNCTIONS_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_VULKANFUNCTIONS_H_
diff --git a/src/dawn/native/vulkan/VulkanInfo.h b/src/dawn/native/vulkan/VulkanInfo.h index 5d87fcd..f75a11f 100644 --- a/src/dawn/native/vulkan/VulkanInfo.h +++ b/src/dawn/native/vulkan/VulkanInfo.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_VULKANINFO_H_ -#define DAWNNATIVE_VULKAN_VULKANINFO_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_VULKANINFO_H_ +#define SRC_DAWN_NATIVE_VULKAN_VULKANINFO_H_ #include "dawn/common/ityp_array.h" #include "dawn/common/vulkan_platform.h" @@ -88,4 +88,4 @@ VkSurfaceKHR surface); } // namespace dawn::native::vulkan -#endif // DAWNNATIVE_VULKAN_VULKANINFO_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_VULKANINFO_H_
diff --git a/src/dawn/native/vulkan/external_memory/MemoryService.h b/src/dawn/native/vulkan/external_memory/MemoryService.h index 034bada..b03fb10 100644 --- a/src/dawn/native/vulkan/external_memory/MemoryService.h +++ b/src/dawn/native/vulkan/external_memory/MemoryService.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_EXTERNALMEMORY_SERVICE_H_ -#define DAWNNATIVE_VULKAN_EXTERNALMEMORY_SERVICE_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_EXTERNAL_MEMORY_MEMORYSERVICE_H_ +#define SRC_DAWN_NATIVE_VULKAN_EXTERNAL_MEMORY_MEMORYSERVICE_H_ #include "dawn/common/vulkan_platform.h" #include "dawn/native/Error.h" @@ -75,4 +75,4 @@ }} // namespace dawn::native::vulkan::external_memory -#endif // DAWNNATIVE_VULKAN_EXTERNALMEMORY_SERVICE_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_EXTERNAL_MEMORY_MEMORYSERVICE_H_
diff --git a/src/dawn/native/vulkan/external_semaphore/SemaphoreService.h b/src/dawn/native/vulkan/external_semaphore/SemaphoreService.h index c1f69f1..259afa8 100644 --- a/src/dawn/native/vulkan/external_semaphore/SemaphoreService.h +++ b/src/dawn/native/vulkan/external_semaphore/SemaphoreService.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_VULKAN_EXTERNALSEMAPHORE_SERVICE_H_ -#define DAWNNATIVE_VULKAN_EXTERNALSEMAPHORE_SERVICE_H_ +#ifndef SRC_DAWN_NATIVE_VULKAN_EXTERNAL_SEMAPHORE_SEMAPHORESERVICE_H_ +#define SRC_DAWN_NATIVE_VULKAN_EXTERNAL_SEMAPHORE_SEMAPHORESERVICE_H_ #include "dawn/common/vulkan_platform.h" #include "dawn/native/Error.h" @@ -57,4 +57,4 @@ }} // namespace dawn::native::vulkan::external_semaphore -#endif // DAWNNATIVE_VULKAN_EXTERNALSEMAPHORE_SERVICE_H_ +#endif // SRC_DAWN_NATIVE_VULKAN_EXTERNAL_SEMAPHORE_SEMAPHORESERVICE_H_
diff --git a/src/dawn/native/webgpu_absl_format.h b/src/dawn/native/webgpu_absl_format.h index ca7ddb5..0c141a3 100644 --- a/src/dawn/native/webgpu_absl_format.h +++ b/src/dawn/native/webgpu_absl_format.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNATIVE_WEBGPUABSLFORMAT_H_ -#define DAWNNATIVE_WEBGPUABSLFORMAT_H_ +#ifndef SRC_DAWN_NATIVE_WEBGPU_ABSL_FORMAT_H_ +#define SRC_DAWN_NATIVE_WEBGPU_ABSL_FORMAT_H_ #include "absl/strings/str_format.h" #include "dawn/native/dawn_platform.h" @@ -131,4 +131,4 @@ } // namespace dawn::native -#endif // DAWNNATIVE_WEBGPUABSLFORMAT_H_ +#endif // SRC_DAWN_NATIVE_WEBGPU_ABSL_FORMAT_H_
diff --git a/src/dawn/node/binding/AsyncRunner.h b/src/dawn/node/binding/AsyncRunner.h index c1fe57d..ec68e87 100644 --- a/src/dawn/node/binding/AsyncRunner.h +++ b/src/dawn/node/binding/AsyncRunner.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_ASYNC_RUNNER_H_ -#define DAWN_NODE_BINDING_ASYNC_RUNNER_H_ +#ifndef SRC_DAWN_NODE_BINDING_ASYNCRUNNER_H_ +#define SRC_DAWN_NODE_BINDING_ASYNCRUNNER_H_ #include <stdint.h> #include <memory> @@ -74,4 +74,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_ASYNC_RUNNER_H_ +#endif // SRC_DAWN_NODE_BINDING_ASYNCRUNNER_H_
diff --git a/src/dawn/node/binding/Converter.h b/src/dawn/node/binding/Converter.h index 180a06a..8ab9e53 100644 --- a/src/dawn/node/binding/Converter.h +++ b/src/dawn/node/binding/Converter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_CONVERTER_H_ -#define DAWN_NODE_BINDING_CONVERTER_H_ +#ifndef SRC_DAWN_NODE_BINDING_CONVERTER_H_ +#define SRC_DAWN_NODE_BINDING_CONVERTER_H_ #include <functional> #include <type_traits> @@ -407,4 +407,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_CONVERTER_H_ +#endif // SRC_DAWN_NODE_BINDING_CONVERTER_H_
diff --git a/src/dawn/node/binding/Errors.h b/src/dawn/node/binding/Errors.h index 1093812..d22fe48 100644 --- a/src/dawn/node/binding/Errors.h +++ b/src/dawn/node/binding/Errors.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_ERRORS_H_ -#define DAWN_NODE_BINDING_ERRORS_H_ +#ifndef SRC_DAWN_NODE_BINDING_ERRORS_H_ +#define SRC_DAWN_NODE_BINDING_ERRORS_H_ #include "node-addon-api/napi.h" @@ -57,4 +57,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_ERRORS_H_ +#endif // SRC_DAWN_NODE_BINDING_ERRORS_H_
diff --git a/src/dawn/node/binding/Flags.h b/src/dawn/node/binding/Flags.h index 89b7b43..b4d4e29 100644 --- a/src/dawn/node/binding/Flags.h +++ b/src/dawn/node/binding/Flags.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_FLAGS_H_ -#define DAWN_NODE_BINDING_FLAGS_H_ +#ifndef SRC_DAWN_NODE_BINDING_FLAGS_H_ +#define SRC_DAWN_NODE_BINDING_FLAGS_H_ #include <optional> #include <string> @@ -32,4 +32,4 @@ }; } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_FLAGS_H_ +#endif // SRC_DAWN_NODE_BINDING_FLAGS_H_
diff --git a/src/dawn/node/binding/GPU.h b/src/dawn/node/binding/GPU.h index f31635f..f9861a7 100644 --- a/src/dawn/node/binding/GPU.h +++ b/src/dawn/node/binding/GPU.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPU_H_ -#define DAWN_NODE_BINDING_GPU_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPU_H_ +#define SRC_DAWN_NODE_BINDING_GPU_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -39,4 +39,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPU_H_ +#endif // SRC_DAWN_NODE_BINDING_GPU_H_
diff --git a/src/dawn/node/binding/GPUAdapter.h b/src/dawn/node/binding/GPUAdapter.h index aa97a8a..21fe9a4 100644 --- a/src/dawn/node/binding/GPUAdapter.h +++ b/src/dawn/node/binding/GPUAdapter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUADAPTER_H_ -#define DAWN_NODE_BINDING_GPUADAPTER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUADAPTER_H_ +#define SRC_DAWN_NODE_BINDING_GPUADAPTER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -44,4 +44,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUADAPTER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUADAPTER_H_
diff --git a/src/dawn/node/binding/GPUBindGroup.h b/src/dawn/node/binding/GPUBindGroup.h index d5e12c7..37bd298 100644 --- a/src/dawn/node/binding/GPUBindGroup.h +++ b/src/dawn/node/binding/GPUBindGroup.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUBINDGROUP_H_ -#define DAWN_NODE_BINDING_GPUBINDGROUP_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUBINDGROUP_H_ +#define SRC_DAWN_NODE_BINDING_GPUBINDGROUP_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -42,4 +42,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUBINDGROUP_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUBINDGROUP_H_
diff --git a/src/dawn/node/binding/GPUBindGroupLayout.h b/src/dawn/node/binding/GPUBindGroupLayout.h index f6ad9c6..e3ff31d 100644 --- a/src/dawn/node/binding/GPUBindGroupLayout.h +++ b/src/dawn/node/binding/GPUBindGroupLayout.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_ -#define DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_ +#define SRC_DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUBINDGROUPLAYOUT_H_
diff --git a/src/dawn/node/binding/GPUBuffer.h b/src/dawn/node/binding/GPUBuffer.h index 11443c8..1d26ca4 100644 --- a/src/dawn/node/binding/GPUBuffer.h +++ b/src/dawn/node/binding/GPUBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUBUFFER_H_ -#define DAWN_NODE_BINDING_GPUBUFFER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUBUFFER_H_ +#define SRC_DAWN_NODE_BINDING_GPUBUFFER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -85,4 +85,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUBUFFER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUBUFFER_H_
diff --git a/src/dawn/node/binding/GPUCommandBuffer.h b/src/dawn/node/binding/GPUCommandBuffer.h index d2555bc..36325b2 100644 --- a/src/dawn/node/binding/GPUCommandBuffer.h +++ b/src/dawn/node/binding/GPUCommandBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_ -#define DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_ +#define SRC_DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUCOMMANDBUFFER_H_
diff --git a/src/dawn/node/binding/GPUCommandEncoder.h b/src/dawn/node/binding/GPUCommandEncoder.h index edd796d..e752d82 100644 --- a/src/dawn/node/binding/GPUCommandEncoder.h +++ b/src/dawn/node/binding/GPUCommandEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_ -#define DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_ +#define SRC_DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -81,4 +81,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUCOMMANDENCODER_H_
diff --git a/src/dawn/node/binding/GPUComputePassEncoder.h b/src/dawn/node/binding/GPUComputePassEncoder.h index 72f2cd6..53d894e 100644 --- a/src/dawn/node/binding/GPUComputePassEncoder.h +++ b/src/dawn/node/binding/GPUComputePassEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_ -#define DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_ +#define SRC_DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -66,4 +66,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUCOMPUTEPASSENCODER_H_
diff --git a/src/dawn/node/binding/GPUComputePipeline.h b/src/dawn/node/binding/GPUComputePipeline.h index ec68422..027e1ed 100644 --- a/src/dawn/node/binding/GPUComputePipeline.h +++ b/src/dawn/node/binding/GPUComputePipeline.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUPIPELINE_H_ -#define DAWN_NODE_BINDING_GPUPIPELINE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUCOMPUTEPIPELINE_H_ +#define SRC_DAWN_NODE_BINDING_GPUCOMPUTEPIPELINE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -45,4 +45,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUPIPELINE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUCOMPUTEPIPELINE_H_
diff --git a/src/dawn/node/binding/GPUDevice.h b/src/dawn/node/binding/GPUDevice.h index ac33133..a0a6be0 100644 --- a/src/dawn/node/binding/GPUDevice.h +++ b/src/dawn/node/binding/GPUDevice.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUDEVICE_H_ -#define DAWN_NODE_BINDING_GPUDEVICE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUDEVICE_H_ +#define SRC_DAWN_NODE_BINDING_GPUDEVICE_H_ #include "dawn/webgpu_cpp.h" #include "node-addon-api/napi.h" @@ -112,4 +112,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUDEVICE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUDEVICE_H_
diff --git a/src/dawn/node/binding/GPUPipelineLayout.h b/src/dawn/node/binding/GPUPipelineLayout.h index 3ffbb09..e6b1bcd 100644 --- a/src/dawn/node/binding/GPUPipelineLayout.h +++ b/src/dawn/node/binding/GPUPipelineLayout.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_ -#define DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_ +#define SRC_DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUPIPELINELAYOUT_H_
diff --git a/src/dawn/node/binding/GPUQuerySet.h b/src/dawn/node/binding/GPUQuerySet.h index f853103..bbfd26f 100644 --- a/src/dawn/node/binding/GPUQuerySet.h +++ b/src/dawn/node/binding/GPUQuerySet.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUQUERYSET_H_ -#define DAWN_NODE_BINDING_GPUQUERYSET_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUQUERYSET_H_ +#define SRC_DAWN_NODE_BINDING_GPUQUERYSET_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUQUERYSET_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUQUERYSET_H_
diff --git a/src/dawn/node/binding/GPUQueue.h b/src/dawn/node/binding/GPUQueue.h index ceef531..6111ae0 100644 --- a/src/dawn/node/binding/GPUQueue.h +++ b/src/dawn/node/binding/GPUQueue.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUQUEUE_H_ -#define DAWN_NODE_BINDING_GPUQUEUE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUQUEUE_H_ +#define SRC_DAWN_NODE_BINDING_GPUQUEUE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -58,4 +58,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUQUEUE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUQUEUE_H_
diff --git a/src/dawn/node/binding/GPURenderBundle.h b/src/dawn/node/binding/GPURenderBundle.h index 4d7c41e..e61b9d6 100644 --- a/src/dawn/node/binding/GPURenderBundle.h +++ b/src/dawn/node/binding/GPURenderBundle.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPURENDERBUNDLE_H_ -#define DAWN_NODE_BINDING_GPURENDERBUNDLE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPURENDERBUNDLE_H_ +#define SRC_DAWN_NODE_BINDING_GPURENDERBUNDLE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPURENDERBUNDLE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPURENDERBUNDLE_H_
diff --git a/src/dawn/node/binding/GPURenderBundleEncoder.h b/src/dawn/node/binding/GPURenderBundleEncoder.h index a59a20a..9823824 100644 --- a/src/dawn/node/binding/GPURenderBundleEncoder.h +++ b/src/dawn/node/binding/GPURenderBundleEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_ -#define DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_ +#define SRC_DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -83,4 +83,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPURENDERBUNDLEENCODER_H_
diff --git a/src/dawn/node/binding/GPURenderPassEncoder.h b/src/dawn/node/binding/GPURenderPassEncoder.h index ee2b855..dbebd01 100644 --- a/src/dawn/node/binding/GPURenderPassEncoder.h +++ b/src/dawn/node/binding/GPURenderPassEncoder.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_ -#define DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_ +#define SRC_DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -105,4 +105,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPURENDERPASSENCODER_H_
diff --git a/src/dawn/node/binding/GPURenderPipeline.h b/src/dawn/node/binding/GPURenderPipeline.h index ab521f8..f0c5d67 100644 --- a/src/dawn/node/binding/GPURenderPipeline.h +++ b/src/dawn/node/binding/GPURenderPipeline.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPURENDERPIPELINE_H_ -#define DAWN_NODE_BINDING_GPURENDERPIPELINE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPURENDERPIPELINE_H_ +#define SRC_DAWN_NODE_BINDING_GPURENDERPIPELINE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -45,4 +45,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPURENDERPIPELINE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPURENDERPIPELINE_H_
diff --git a/src/dawn/node/binding/GPUSampler.h b/src/dawn/node/binding/GPUSampler.h index ded83b5..a467dcf 100644 --- a/src/dawn/node/binding/GPUSampler.h +++ b/src/dawn/node/binding/GPUSampler.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUSAMPLER_H_ -#define DAWN_NODE_BINDING_GPUSAMPLER_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUSAMPLER_H_ +#define SRC_DAWN_NODE_BINDING_GPUSAMPLER_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -41,4 +41,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUSAMPLER_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUSAMPLER_H_
diff --git a/src/dawn/node/binding/GPUShaderModule.h b/src/dawn/node/binding/GPUShaderModule.h index 89bfea2..fd5016e 100644 --- a/src/dawn/node/binding/GPUShaderModule.h +++ b/src/dawn/node/binding/GPUShaderModule.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUSHADERMODULE_H_ -#define DAWN_NODE_BINDING_GPUSHADERMODULE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUSHADERMODULE_H_ +#define SRC_DAWN_NODE_BINDING_GPUSHADERMODULE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -47,4 +47,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUSHADERMODULE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUSHADERMODULE_H_
diff --git a/src/dawn/node/binding/GPUSupportedLimits.h b/src/dawn/node/binding/GPUSupportedLimits.h index 0f3071d..c9074f8 100644 --- a/src/dawn/node/binding/GPUSupportedLimits.h +++ b/src/dawn/node/binding/GPUSupportedLimits.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_ -#define DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_ +#define SRC_DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -61,4 +61,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUSUPPORTEDLIMITS_H_
diff --git a/src/dawn/node/binding/GPUTexture.h b/src/dawn/node/binding/GPUTexture.h index 464a763..66e7afe 100644 --- a/src/dawn/node/binding/GPUTexture.h +++ b/src/dawn/node/binding/GPUTexture.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUTEXTURE_H_ -#define DAWN_NODE_BINDING_GPUTEXTURE_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUTEXTURE_H_ +#define SRC_DAWN_NODE_BINDING_GPUTEXTURE_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -46,4 +46,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUTEXTURE_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUTEXTURE_H_
diff --git a/src/dawn/node/binding/GPUTextureView.h b/src/dawn/node/binding/GPUTextureView.h index e749cfa..0aa23e5 100644 --- a/src/dawn/node/binding/GPUTextureView.h +++ b/src/dawn/node/binding/GPUTextureView.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_ -#define DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_ +#ifndef SRC_DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_ +#define SRC_DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace wgpu::binding -#endif // DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_ +#endif // SRC_DAWN_NODE_BINDING_GPUTEXTUREVIEW_H_
diff --git a/src/dawn/node/interop/Core.h b/src/dawn/node/interop/Core.h index ed2388c..51a99d3 100644 --- a/src/dawn/node/interop/Core.h +++ b/src/dawn/node/interop/Core.h
@@ -15,8 +15,8 @@ // This file provides core interop helpers used by the code generated by the // templates. -#ifndef DAWN_NODE_INTEROP_CORE_WEBGPU_H_ -#define DAWN_NODE_INTEROP_CORE_WEBGPU_H_ +#ifndef SRC_DAWN_NODE_INTEROP_CORE_H_ +#define SRC_DAWN_NODE_INTEROP_CORE_H_ #include <cstdint> #include <optional> @@ -807,4 +807,4 @@ } // namespace wgpu::interop -#endif // DAWN_NODE_INTEROP_CORE_WEBGPU_H_ +#endif // SRC_DAWN_NODE_INTEROP_CORE_H_
diff --git a/src/dawn/node/utils/Debug.h b/src/dawn/node/utils/Debug.h index cf7c7d8..bd7f4e4 100644 --- a/src/dawn/node/utils/Debug.h +++ b/src/dawn/node/utils/Debug.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNNODE_UTILS_DEBUG_H_ -#define DAWNNODE_UTILS_DEBUG_H_ +#ifndef SRC_DAWN_NODE_UTILS_DEBUG_H_ +#define SRC_DAWN_NODE_UTILS_DEBUG_H_ #include <iostream> #include <optional> @@ -143,4 +143,4 @@ } // namespace wgpu::utils -#endif // DAWNNODE_UTILS_DEBUG_H_ +#endif // SRC_DAWN_NODE_UTILS_DEBUG_H_
diff --git a/src/dawn/platform/WorkerThread.h b/src/dawn/platform/WorkerThread.h index 9079689..949fdff 100644 --- a/src/dawn/platform/WorkerThread.h +++ b/src/dawn/platform/WorkerThread.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef COMMON_WORKERTHREAD_H_ -#define COMMON_WORKERTHREAD_H_ +#ifndef SRC_DAWN_PLATFORM_WORKERTHREAD_H_ +#define SRC_DAWN_PLATFORM_WORKERTHREAD_H_ #include "dawn/common/NonCopyable.h" #include "dawn/platform/DawnPlatform.h" @@ -29,4 +29,4 @@ } // namespace dawn::platform -#endif +#endif // SRC_DAWN_PLATFORM_WORKERTHREAD_H_
diff --git a/src/dawn/platform/tracing/EventTracer.h b/src/dawn/platform/tracing/EventTracer.h index 0200ec5..3c97f54 100644 --- a/src/dawn/platform/tracing/EventTracer.h +++ b/src/dawn/platform/tracing/EventTracer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNPLATFORM_TRACING_EVENTTRACER_H_ -#define DAWNPLATFORM_TRACING_EVENTTRACER_H_ +#ifndef SRC_DAWN_PLATFORM_TRACING_EVENTTRACER_H_ +#define SRC_DAWN_PLATFORM_TRACING_EVENTTRACER_H_ #include "dawn/platform/dawn_platform_export.h" @@ -48,4 +48,4 @@ } // namespace tracing } // namespace dawn::platform -#endif // DAWNPLATFORM_TRACING_EVENTTRACER_H_ +#endif // SRC_DAWN_PLATFORM_TRACING_EVENTTRACER_H_
diff --git a/src/dawn/platform/tracing/TraceEvent.h b/src/dawn/platform/tracing/TraceEvent.h index e120e08..0baf98f 100644 --- a/src/dawn/platform/tracing/TraceEvent.h +++ b/src/dawn/platform/tracing/TraceEvent.h
@@ -149,8 +149,8 @@ // trace points would carry a significant performance cost of aquiring a lock // and resolving the category. -#ifndef DAWNPLATFORM_TRACING_TRACEEVENT_H_ -#define DAWNPLATFORM_TRACING_TRACEEVENT_H_ +#ifndef SRC_DAWN_PLATFORM_TRACING_TRACEEVENT_H_ +#define SRC_DAWN_PLATFORM_TRACING_TRACEEVENT_H_ #include <string> @@ -988,4 +988,4 @@ } // namespace dawn::platform::TraceEvent -#endif // DAWNPLATFORM_TRACING_TRACEEVENT_H_ +#endif // SRC_DAWN_PLATFORM_TRACING_TRACEEVENT_H_
diff --git a/src/dawn/samples/SampleUtils.h b/src/dawn/samples/SampleUtils.h index 8c6fdd7..1555d52 100644 --- a/src/dawn/samples/SampleUtils.h +++ b/src/dawn/samples/SampleUtils.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_SAMPLES_SAMPLEUTILS_H_ +#define SRC_DAWN_SAMPLES_SAMPLEUTILS_H_ + #include <dawn/dawn_wsi.h> #include <dawn/webgpu_cpp.h> @@ -27,3 +30,5 @@ wgpu::TextureFormat GetPreferredSwapChainTextureFormat(); wgpu::SwapChain GetSwapChain(const wgpu::Device& device); wgpu::TextureView CreateDefaultDepthStencilView(const wgpu::Device& device); + +#endif // SRC_DAWN_SAMPLES_SAMPLEUTILS_H_
diff --git a/src/dawn/tests/DawnNativeTest.h b/src/dawn/tests/DawnNativeTest.h index 9e8df19..8d6fd8e 100644 --- a/src/dawn/tests/DawnNativeTest.h +++ b/src/dawn/tests/DawnNativeTest.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_DAWNNATIVETEST_H_ -#define TESTS_DAWNNATIVETEST_H_ +#ifndef SRC_DAWN_TESTS_DAWNNATIVETEST_H_ +#define SRC_DAWN_TESTS_DAWNNATIVETEST_H_ #include <gtest/gtest.h> @@ -50,4 +50,4 @@ static void OnDeviceError(WGPUErrorType type, const char* message, void* userdata); }; -#endif // TESTS_DAWNNATIVETEST_H_ +#endif // SRC_DAWN_TESTS_DAWNNATIVETEST_H_
diff --git a/src/dawn/tests/DawnTest.h b/src/dawn/tests/DawnTest.h index 877b2fc..8cee751 100644 --- a/src/dawn/tests/DawnTest.h +++ b/src/dawn/tests/DawnTest.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_DAWNTEST_H_ -#define TESTS_DAWNTEST_H_ +#ifndef SRC_DAWN_TESTS_DAWNTEST_H_ +#define SRC_DAWN_TESTS_DAWNTEST_H_ #include "dawn/common/Log.h" #include "dawn/common/Platform.h" @@ -795,4 +795,4 @@ } // namespace detail -#endif // TESTS_DAWNTEST_H_ +#endif // SRC_DAWN_TESTS_DAWNTEST_H_
diff --git a/src/dawn/tests/MockCallback.h b/src/dawn/tests/MockCallback.h index 2b795ed..c41139c 100644 --- a/src/dawn/tests/MockCallback.h +++ b/src/dawn/tests/MockCallback.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_TESTS_MOCKCALLBACK_H_ +#define SRC_DAWN_TESTS_MOCKCALLBACK_H_ + #include <gmock/gmock.h> #include "dawn/common/Assert.h" @@ -99,3 +102,5 @@ }; } // namespace testing + +#endif // SRC_DAWN_TESTS_MOCKCALLBACK_H_
diff --git a/src/dawn/tests/ParamGenerator.h b/src/dawn/tests/ParamGenerator.h index c90591d..3ce0429 100644 --- a/src/dawn/tests/ParamGenerator.h +++ b/src/dawn/tests/ParamGenerator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_PARAMGENERATOR_H_ -#define TESTS_PARAMGENERATOR_H_ +#ifndef SRC_DAWN_TESTS_PARAMGENERATOR_H_ +#define SRC_DAWN_TESTS_PARAMGENERATOR_H_ #include <tuple> #include <vector> @@ -137,4 +137,4 @@ std::forward<std::vector<Params>&&>(params)...); } -#endif // TESTS_PARAMGENERATOR_H_ +#endif // SRC_DAWN_TESTS_PARAMGENERATOR_H_
diff --git a/src/dawn/tests/ToggleParser.h b/src/dawn/tests/ToggleParser.h index d5ff90b..e6f949f 100644 --- a/src/dawn/tests/ToggleParser.h +++ b/src/dawn/tests/ToggleParser.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_TOGGLEPARSER_H_ -#define TESTS_TOGGLEPARSER_H_ +#ifndef SRC_DAWN_TESTS_TOGGLEPARSER_H_ +#define SRC_DAWN_TESTS_TOGGLEPARSER_H_ #include <string> #include <vector> @@ -34,4 +34,4 @@ std::vector<std::string> mDisabledToggles; }; -#endif // TESTS_TOGGLEPARSER_H_ +#endif // SRC_DAWN_TESTS_TOGGLEPARSER_H_
diff --git a/src/dawn/tests/end2end/VideoViewsTests.h b/src/dawn/tests/end2end/VideoViewsTests.h index 60d93a0..6c659bb 100644 --- a/src/dawn/tests/end2end/VideoViewsTests.h +++ b/src/dawn/tests/end2end/VideoViewsTests.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_VIDEOVIEWSTESTS_H_ -#define TESTS_VIDEOVIEWSTESTS_H_ +#ifndef SRC_DAWN_TESTS_END2END_VIDEOVIEWSTESTS_H_ +#define SRC_DAWN_TESTS_END2END_VIDEOVIEWSTESTS_H_ #include "dawn/tests/DawnTest.h" @@ -92,4 +92,4 @@ bool mIsMultiPlanarFormatsSupported = false; }; -#endif // TESTS_VIDEOVIEWSTESTS_H_ +#endif // SRC_DAWN_TESTS_END2END_VIDEOVIEWSTESTS_H_
diff --git a/src/dawn/tests/perf_tests/DawnPerfTest.h b/src/dawn/tests/perf_tests/DawnPerfTest.h index 548d212..1698dc0 100644 --- a/src/dawn/tests/perf_tests/DawnPerfTest.h +++ b/src/dawn/tests/perf_tests/DawnPerfTest.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_PERFTESTS_DAWNPERFTEST_H_ -#define TESTS_PERFTESTS_DAWNPERFTEST_H_ +#ifndef SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTEST_H_ +#define SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTEST_H_ #include "dawn/tests/DawnTest.h" @@ -127,4 +127,4 @@ using DawnPerfTest = DawnPerfTestWithParams<>; -#endif // TESTS_PERFTESTS_DAWNPERFTEST_H_ +#endif // SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTEST_H_
diff --git a/src/dawn/tests/perf_tests/DawnPerfTestPlatform.h b/src/dawn/tests/perf_tests/DawnPerfTestPlatform.h index f41d6d9..adc567f 100644 --- a/src/dawn/tests/perf_tests/DawnPerfTestPlatform.h +++ b/src/dawn/tests/perf_tests/DawnPerfTestPlatform.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_PERFTESTS_DAWNPERFTESTPLATFORM_H_ -#define TESTS_PERFTESTS_DAWNPERFTESTPLATFORM_H_ +#ifndef SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTESTPLATFORM_H_ +#define SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTESTPLATFORM_H_ #include "dawn/platform/DawnPlatform.h" @@ -88,4 +88,4 @@ std::mutex mTraceEventBufferMapMutex; }; -#endif // TESTS_PERFTESTS_DAWNPERFTESTPLATFORM_H_ +#endif // SRC_DAWN_TESTS_PERF_TESTS_DAWNPERFTESTPLATFORM_H_
diff --git a/src/dawn/tests/unittests/native/mocks/BindGroupLayoutMock.h b/src/dawn/tests/unittests/native/mocks/BindGroupLayoutMock.h index 8135f0c..6ed7727 100644 --- a/src/dawn/tests/unittests/native/mocks/BindGroupLayoutMock.h +++ b/src/dawn/tests/unittests/native/mocks/BindGroupLayoutMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUT_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUT_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUTMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUTMOCK_H_ #include "dawn/native/BindGroupLayout.h" #include "dawn/native/Device.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUT_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPLAYOUTMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/BindGroupMock.h b/src/dawn/tests/unittests/native/mocks/BindGroupMock.h index f6a2370..02f82b0 100644 --- a/src/dawn/tests/unittests/native/mocks/BindGroupMock.h +++ b/src/dawn/tests/unittests/native/mocks/BindGroupMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUP_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUP_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPMOCK_H_ #include "dawn/native/BindGroup.h" #include "dawn/native/Device.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUP_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUPMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/BufferMock.h b/src/dawn/tests/unittests/native/mocks/BufferMock.h index 8f17d1d..6955e7c 100644 --- a/src/dawn/tests/unittests/native/mocks/BufferMock.h +++ b/src/dawn/tests/unittests/native/mocks/BufferMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_BUFFER_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_BUFFER_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BUFFERMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BUFFERMOCK_H_ #include "dawn/native/Buffer.h" #include "dawn/native/Device.h" @@ -46,4 +46,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_BINDGROUP_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_BUFFERMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/CommandBufferMock.h b/src/dawn/tests/unittests/native/mocks/CommandBufferMock.h index 7f0198b..65d3168 100644 --- a/src/dawn/tests/unittests/native/mocks/CommandBufferMock.h +++ b/src/dawn/tests/unittests/native/mocks/CommandBufferMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFER_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFER_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFERMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFERMOCK_H_ #include "dawn/native/CommandBuffer.h" #include "dawn/native/Device.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFER_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMMANDBUFFERMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/ComputePipelineMock.h b/src/dawn/tests/unittests/native/mocks/ComputePipelineMock.h index 6071051..b7bb467 100644 --- a/src/dawn/tests/unittests/native/mocks/ComputePipelineMock.h +++ b/src/dawn/tests/unittests/native/mocks/ComputePipelineMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINEMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINEMOCK_H_ #include "dawn/native/ComputePipeline.h" #include "dawn/native/Device.h" @@ -38,4 +38,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_COMPUTEPIPELINEMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/DeviceMock.h b/src/dawn/tests/unittests/native/mocks/DeviceMock.h index d0d5c319..7639e81 100644 --- a/src/dawn/tests/unittests/native/mocks/DeviceMock.h +++ b/src/dawn/tests/unittests/native/mocks/DeviceMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_DEVICE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_DEVICE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_DEVICEMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_DEVICEMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/RenderPipeline.h" @@ -118,4 +118,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_DEVICE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_DEVICEMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/ExternalTextureMock.h b/src/dawn/tests/unittests/native/mocks/ExternalTextureMock.h index c40276b..5de8065 100644 --- a/src/dawn/tests/unittests/native/mocks/ExternalTextureMock.h +++ b/src/dawn/tests/unittests/native/mocks/ExternalTextureMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTURE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTURE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTUREMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTUREMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/ExternalTexture.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTURE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_EXTERNALTEXTUREMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/PipelineLayoutMock.h b/src/dawn/tests/unittests/native/mocks/PipelineLayoutMock.h index 7e82a40..5b31e4b 100644 --- a/src/dawn/tests/unittests/native/mocks/PipelineLayoutMock.h +++ b/src/dawn/tests/unittests/native/mocks/PipelineLayoutMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUT_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUT_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUTMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUTMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/PipelineLayout.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUT_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_PIPELINELAYOUTMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/QuerySetMock.h b/src/dawn/tests/unittests/native/mocks/QuerySetMock.h index c4b8349..43aa27f 100644 --- a/src/dawn/tests/unittests/native/mocks/QuerySetMock.h +++ b/src/dawn/tests/unittests/native/mocks/QuerySetMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSET_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSET_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSETMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSETMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/QuerySet.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSET_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_QUERYSETMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/RenderPipelineMock.h b/src/dawn/tests/unittests/native/mocks/RenderPipelineMock.h index 71e0287..c0cd457 100644 --- a/src/dawn/tests/unittests/native/mocks/RenderPipelineMock.h +++ b/src/dawn/tests/unittests/native/mocks/RenderPipelineMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINEMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINEMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/RenderPipeline.h" @@ -38,4 +38,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_RENDERPIPELINEMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/SamplerMock.h b/src/dawn/tests/unittests/native/mocks/SamplerMock.h index 48ab087..8f974f7 100644 --- a/src/dawn/tests/unittests/native/mocks/SamplerMock.h +++ b/src/dawn/tests/unittests/native/mocks/SamplerMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLER_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLER_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLERMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLERMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/Sampler.h" @@ -36,4 +36,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLER_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SAMPLERMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/ShaderModuleMock.h b/src/dawn/tests/unittests/native/mocks/ShaderModuleMock.h index 8beeabf..d926fe1 100644 --- a/src/dawn/tests/unittests/native/mocks/ShaderModuleMock.h +++ b/src/dawn/tests/unittests/native/mocks/ShaderModuleMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULEMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULEMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/Error.h" @@ -38,4 +38,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SHADERMODULEMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/SwapChainMock.h b/src/dawn/tests/unittests/native/mocks/SwapChainMock.h index 711f6ff..74c92fd 100644 --- a/src/dawn/tests/unittests/native/mocks/SwapChainMock.h +++ b/src/dawn/tests/unittests/native/mocks/SwapChainMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAIN_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAIN_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAINMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAINMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/SwapChain.h" @@ -43,4 +43,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAIN_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_SWAPCHAINMOCK_H_
diff --git a/src/dawn/tests/unittests/native/mocks/TextureMock.h b/src/dawn/tests/unittests/native/mocks/TextureMock.h index 10aa2e9..de39529 100644 --- a/src/dawn/tests/unittests/native/mocks/TextureMock.h +++ b/src/dawn/tests/unittests/native/mocks/TextureMock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_NATIVE_MOCKS_TEXTURE_MOCK_H_ -#define TESTS_UNITTESTS_NATIVE_MOCKS_TEXTURE_MOCK_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_TEXTUREMOCK_H_ +#define SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_TEXTUREMOCK_H_ #include "dawn/native/Device.h" #include "dawn/native/Texture.h" @@ -46,4 +46,4 @@ } // namespace dawn::native -#endif // TESTS_UNITTESTS_NATIVE_MOCKS_TEXTURE_MOCK_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_NATIVE_MOCKS_TEXTUREMOCK_H_
diff --git a/src/dawn/tests/unittests/validation/ValidationTest.h b/src/dawn/tests/unittests/validation/ValidationTest.h index 989de41..0db5f53 100644 --- a/src/dawn/tests/unittests/validation/ValidationTest.h +++ b/src/dawn/tests/unittests/validation/ValidationTest.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_UNITTESTS_VALIDATIONTEST_H_ -#define TESTS_UNITTESTS_VALIDATIONTEST_H_ +#ifndef SRC_DAWN_TESTS_UNITTESTS_VALIDATION_VALIDATIONTEST_H_ +#define SRC_DAWN_TESTS_UNITTESTS_VALIDATION_VALIDATIONTEST_H_ #include "dawn/common/Log.h" #include "dawn/native/DawnNative.h" @@ -156,4 +156,4 @@ bool mExpectDestruction = false; }; -#endif // TESTS_UNITTESTS_VALIDATIONTEST_H_ +#endif // SRC_DAWN_TESTS_UNITTESTS_VALIDATION_VALIDATIONTEST_H_
diff --git a/src/dawn/tests/unittests/wire/WireTest.h b/src/dawn/tests/unittests/wire/WireTest.h index 235dcf5..f332db4 100644 --- a/src/dawn/tests/unittests/wire/WireTest.h +++ b/src/dawn/tests/unittests/wire/WireTest.h
@@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef SRC_DAWN_TESTS_UNITTESTS_WIRE_WIRETEST_H_ +#define SRC_DAWN_TESTS_UNITTESTS_WIRE_WIRETEST_H_ + #include "dawn/mock_webgpu.h" #include "gtest/gtest.h" @@ -148,3 +151,5 @@ std::unique_ptr<utils::TerribleCommandBuffer> mS2cBuf; std::unique_ptr<utils::TerribleCommandBuffer> mC2sBuf; }; + +#endif // SRC_DAWN_TESTS_UNITTESTS_WIRE_WIRETEST_H_
diff --git a/src/dawn/tests/white_box/VulkanImageWrappingTests.h b/src/dawn/tests/white_box/VulkanImageWrappingTests.h index d4173a7..49b9026 100644 --- a/src/dawn/tests/white_box/VulkanImageWrappingTests.h +++ b/src/dawn/tests/white_box/VulkanImageWrappingTests.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TESTS_VULKANIMAGEWRAPPINGTESTS_H_ -#define TESTS_VULKANIMAGEWRAPPINGTESTS_H_ +#ifndef SRC_DAWN_TESTS_WHITE_BOX_VULKANIMAGEWRAPPINGTESTS_H_ +#define SRC_DAWN_TESTS_WHITE_BOX_VULKANIMAGEWRAPPINGTESTS_H_ // This must be above all other includes otherwise VulkanBackend.h includes vulkan.h before we had // time to wrap it with vulkan_platform.h @@ -73,4 +73,4 @@ } // namespace dawn::native::vulkan -#endif // TESTS_VULKANIMAGEWRAPPINGTESTS_H_ +#endif // SRC_DAWN_TESTS_WHITE_BOX_VULKANIMAGEWRAPPINGTESTS_H_
diff --git a/src/dawn/utils/BackendBinding.h b/src/dawn/utils/BackendBinding.h index 352d294..7c988e7 100644 --- a/src/dawn/utils/BackendBinding.h +++ b/src/dawn/utils/BackendBinding.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_BACKENDBINDING_H_ -#define UTILS_BACKENDBINDING_H_ +#ifndef SRC_DAWN_UTILS_BACKENDBINDING_H_ +#define SRC_DAWN_UTILS_BACKENDBINDING_H_ #include "dawn/native/DawnNative.h" #include "dawn/webgpu_cpp.h" @@ -43,4 +43,4 @@ } // namespace utils -#endif // UTILS_BACKENDBINDING_H_ +#endif // SRC_DAWN_UTILS_BACKENDBINDING_H_
diff --git a/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h b/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h index c1ef12b..bd0abe3 100644 --- a/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h +++ b/src/dawn/utils/ComboRenderBundleEncoderDescriptor.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ -#define UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ +#ifndef SRC_DAWN_UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ +#define SRC_DAWN_UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ #include <dawn/webgpu_cpp.h> @@ -32,4 +32,4 @@ } // namespace utils -#endif // UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_ +#endif // SRC_DAWN_UTILS_COMBORENDERBUNDLEENCODERDESCRIPTOR_H_
diff --git a/src/dawn/utils/ComboRenderPipelineDescriptor.h b/src/dawn/utils/ComboRenderPipelineDescriptor.h index 1e4662f..1de61f5 100644 --- a/src/dawn/utils/ComboRenderPipelineDescriptor.h +++ b/src/dawn/utils/ComboRenderPipelineDescriptor.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ -#define UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ +#ifndef SRC_DAWN_UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ +#define SRC_DAWN_UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ #include <dawn/webgpu_cpp.h> @@ -61,4 +61,4 @@ } // namespace utils -#endif // UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_ +#endif // SRC_DAWN_UTILS_COMBORENDERPIPELINEDESCRIPTOR_H_
diff --git a/src/dawn/utils/GLFWUtils.h b/src/dawn/utils/GLFWUtils.h index f2299cb..7df9f75 100644 --- a/src/dawn/utils/GLFWUtils.h +++ b/src/dawn/utils/GLFWUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_GLFWUTILS_H_ -#define UTILS_GLFWUTILS_H_ +#ifndef SRC_DAWN_UTILS_GLFWUTILS_H_ +#define SRC_DAWN_UTILS_GLFWUTILS_H_ #include "dawn/webgpu_cpp.h" @@ -39,4 +39,4 @@ } // namespace utils -#endif // UTILS_GLFWUTILS_H_ +#endif // SRC_DAWN_UTILS_GLFWUTILS_H_
diff --git a/src/dawn/utils/ObjCUtils.h b/src/dawn/utils/ObjCUtils.h index 17b3956..543fb6f 100644 --- a/src/dawn/utils/ObjCUtils.h +++ b/src/dawn/utils/ObjCUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_OBJCUTILS_H_ -#define UTILS_OBJCUTILS_H_ +#ifndef SRC_DAWN_UTILS_OBJCUTILS_H_ +#define SRC_DAWN_UTILS_OBJCUTILS_H_ // Contains helper function to manipulate ObjC objects. This helps having C++ files do a little bit // of ObjectiveC calls, when they cannot be converted to ObjectiveC++ because they are used on @@ -26,4 +26,4 @@ } // namespace utils -#endif // UTILS_OBJCUTILS_H_ +#endif // SRC_DAWN_UTILS_OBJCUTILS_H_
diff --git a/src/dawn/utils/PlatformDebugLogger.h b/src/dawn/utils/PlatformDebugLogger.h index 33c46de..23ff4c8 100644 --- a/src/dawn/utils/PlatformDebugLogger.h +++ b/src/dawn/utils/PlatformDebugLogger.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_PLATFORMDEBUGLOGGER_H_ -#define UTILS_PLATFORMDEBUGLOGGER_H_ +#ifndef SRC_DAWN_UTILS_PLATFORMDEBUGLOGGER_H_ +#define SRC_DAWN_UTILS_PLATFORMDEBUGLOGGER_H_ namespace utils { @@ -26,4 +26,4 @@ } // namespace utils -#endif // UTILS_PLATFORMDEBUGLOGGER_H_ +#endif // SRC_DAWN_UTILS_PLATFORMDEBUGLOGGER_H_
diff --git a/src/dawn/utils/ScopedAutoreleasePool.h b/src/dawn/utils/ScopedAutoreleasePool.h index bd00a1a..bad9704 100644 --- a/src/dawn/utils/ScopedAutoreleasePool.h +++ b/src/dawn/utils/ScopedAutoreleasePool.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_SCOPEDAUTORELEASEPOOL_H_ -#define UTILS_SCOPEDAUTORELEASEPOOL_H_ +#ifndef SRC_DAWN_UTILS_SCOPEDAUTORELEASEPOOL_H_ +#define SRC_DAWN_UTILS_SCOPEDAUTORELEASEPOOL_H_ #include "dawn/common/Compiler.h" @@ -58,4 +58,4 @@ } // namespace utils -#endif // UTILS_SCOPEDAUTORELEASEPOOL_H_ +#endif // SRC_DAWN_UTILS_SCOPEDAUTORELEASEPOOL_H_
diff --git a/src/dawn/utils/SystemUtils.h b/src/dawn/utils/SystemUtils.h index 1f42cc5..1be5439 100644 --- a/src/dawn/utils/SystemUtils.h +++ b/src/dawn/utils/SystemUtils.h
@@ -12,12 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_SYSTEMUTILS_H_ -#define UTILS_SYSTEMUTILS_H_ +#ifndef SRC_DAWN_UTILS_SYSTEMUTILS_H_ +#define SRC_DAWN_UTILS_SYSTEMUTILS_H_ namespace utils { void USleep(unsigned int usecs); } -#endif // UTILS_SYSTEMUTILS_H_ +#endif // SRC_DAWN_UTILS_SYSTEMUTILS_H_
diff --git a/src/dawn/utils/TerribleCommandBuffer.h b/src/dawn/utils/TerribleCommandBuffer.h index 6960b2b..2f4acc4 100644 --- a/src/dawn/utils/TerribleCommandBuffer.h +++ b/src/dawn/utils/TerribleCommandBuffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_TERRIBLE_COMMAND_BUFFER_H_ -#define UTILS_TERRIBLE_COMMAND_BUFFER_H_ +#ifndef SRC_DAWN_UTILS_TERRIBLECOMMANDBUFFER_H_ +#define SRC_DAWN_UTILS_TERRIBLECOMMANDBUFFER_H_ #include "dawn/wire/Wire.h" @@ -39,4 +39,4 @@ } // namespace utils -#endif // UTILS_TERRIBLE_COMMAND_BUFFER_H_ +#endif // SRC_DAWN_UTILS_TERRIBLECOMMANDBUFFER_H_
diff --git a/src/dawn/utils/TestUtils.h b/src/dawn/utils/TestUtils.h index 02b0daf..e33cb1b 100644 --- a/src/dawn/utils/TestUtils.h +++ b/src/dawn/utils/TestUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_TESTHELPERS_H_ -#define UTILS_TESTHELPERS_H_ +#ifndef SRC_DAWN_UTILS_TESTUTILS_H_ +#define SRC_DAWN_UTILS_TESTUTILS_H_ #include <dawn/webgpu_cpp.h> @@ -64,4 +64,4 @@ } // namespace utils -#endif // UTILS_TESTHELPERS_H_ +#endif // SRC_DAWN_UTILS_TESTUTILS_H_
diff --git a/src/dawn/utils/TextureUtils.h b/src/dawn/utils/TextureUtils.h index f9dab08..26e60bf 100644 --- a/src/dawn/utils/TextureUtils.h +++ b/src/dawn/utils/TextureUtils.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_TEXTURE_UTILS_H_ -#define UTILS_TEXTURE_UTILS_H_ +#ifndef SRC_DAWN_UTILS_TEXTUREUTILS_H_ +#define SRC_DAWN_UTILS_TEXTUREUTILS_H_ #include <array> @@ -248,4 +248,4 @@ const wgpu::TextureViewDimension dimension); } // namespace utils -#endif +#endif // SRC_DAWN_UTILS_TEXTUREUTILS_H_
diff --git a/src/dawn/utils/Timer.h b/src/dawn/utils/Timer.h index 86587dd..cc61343 100644 --- a/src/dawn/utils/Timer.h +++ b/src/dawn/utils/Timer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_TIMER_H_ -#define UTILS_TIMER_H_ +#ifndef SRC_DAWN_UTILS_TIMER_H_ +#define SRC_DAWN_UTILS_TIMER_H_ namespace utils { @@ -38,4 +38,4 @@ } // namespace utils -#endif // UTILS_TIMER_H_ +#endif // SRC_DAWN_UTILS_TIMER_H_
diff --git a/src/dawn/utils/WGPUHelpers.h b/src/dawn/utils/WGPUHelpers.h index bfffae2..8279def 100644 --- a/src/dawn/utils/WGPUHelpers.h +++ b/src/dawn/utils/WGPUHelpers.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_DAWNHELPERS_H_ -#define UTILS_DAWNHELPERS_H_ +#ifndef SRC_DAWN_UTILS_WGPUHELPERS_H_ +#define SRC_DAWN_UTILS_WGPUHELPERS_H_ #include <dawn/webgpu_cpp.h> @@ -179,4 +179,4 @@ } // namespace utils -#endif // UTILS_DAWNHELPERS_H_ +#endif // SRC_DAWN_UTILS_WGPUHELPERS_H_
diff --git a/src/dawn/utils/WireHelper.h b/src/dawn/utils/WireHelper.h index 78aa802..740c4c0 100644 --- a/src/dawn/utils/WireHelper.h +++ b/src/dawn/utils/WireHelper.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef UTILS_WIREHELPER_H_ -#define UTILS_WIREHELPER_H_ +#ifndef SRC_DAWN_UTILS_WIREHELPER_H_ +#define SRC_DAWN_UTILS_WIREHELPER_H_ #include "dawn/webgpu_cpp.h" @@ -41,4 +41,4 @@ } // namespace utils -#endif // UTILS_WIREHELPER_H_ +#endif // SRC_DAWN_UTILS_WIREHELPER_H_
diff --git a/src/dawn/wire/BufferConsumer.h b/src/dawn/wire/BufferConsumer.h index b11a68a..48f88f8 100644 --- a/src/dawn/wire/BufferConsumer.h +++ b/src/dawn/wire/BufferConsumer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_BUFFERCONSUMER_H_ -#define DAWNWIRE_BUFFERCONSUMER_H_ +#ifndef SRC_DAWN_WIRE_BUFFERCONSUMER_H_ +#define SRC_DAWN_WIRE_BUFFERCONSUMER_H_ #include "dawn/wire/WireResult.h" @@ -82,4 +82,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_BUFFERCONSUMER_H_ +#endif // SRC_DAWN_WIRE_BUFFERCONSUMER_H_
diff --git a/src/dawn/wire/BufferConsumer_impl.h b/src/dawn/wire/BufferConsumer_impl.h index eef5d72..11c771b 100644 --- a/src/dawn/wire/BufferConsumer_impl.h +++ b/src/dawn/wire/BufferConsumer_impl.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_BUFFERCONSUMER_IMPL_H_ -#define DAWNWIRE_BUFFERCONSUMER_IMPL_H_ +#ifndef SRC_DAWN_WIRE_BUFFERCONSUMER_IMPL_H_ +#define SRC_DAWN_WIRE_BUFFERCONSUMER_IMPL_H_ #include "dawn/wire/BufferConsumer.h" @@ -70,4 +70,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_BUFFERCONSUMER_IMPL_H_ +#endif // SRC_DAWN_WIRE_BUFFERCONSUMER_IMPL_H_
diff --git a/src/dawn/wire/ChunkedCommandHandler.h b/src/dawn/wire/ChunkedCommandHandler.h index 162feca..a0aaf4e 100644 --- a/src/dawn/wire/ChunkedCommandHandler.h +++ b/src/dawn/wire/ChunkedCommandHandler.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CHUNKEDCOMMANDHANDLER_H_ -#define DAWNWIRE_CHUNKEDCOMMANDHANDLER_H_ +#ifndef SRC_DAWN_WIRE_CHUNKEDCOMMANDHANDLER_H_ +#define SRC_DAWN_WIRE_CHUNKEDCOMMANDHANDLER_H_ #include "dawn/common/Assert.h" #include "dawn/wire/Wire.h" @@ -68,4 +68,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_CHUNKEDCOMMANDHANDLER_H_ +#endif // SRC_DAWN_WIRE_CHUNKEDCOMMANDHANDLER_H_
diff --git a/src/dawn/wire/ChunkedCommandSerializer.h b/src/dawn/wire/ChunkedCommandSerializer.h index 92b8a44..d71f864 100644 --- a/src/dawn/wire/ChunkedCommandSerializer.h +++ b/src/dawn/wire/ChunkedCommandSerializer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CHUNKEDCOMMANDSERIALIZER_H_ -#define DAWNWIRE_CHUNKEDCOMMANDSERIALIZER_H_ +#ifndef SRC_DAWN_WIRE_CHUNKEDCOMMANDSERIALIZER_H_ +#define SRC_DAWN_WIRE_CHUNKEDCOMMANDSERIALIZER_H_ #include "dawn/common/Alloc.h" #include "dawn/common/Compiler.h" @@ -111,4 +111,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_CHUNKEDCOMMANDSERIALIZER_H_ +#endif // SRC_DAWN_WIRE_CHUNKEDCOMMANDSERIALIZER_H_
diff --git a/src/dawn/wire/SupportedFeatures.h b/src/dawn/wire/SupportedFeatures.h index 9c173e1..0045155 100644 --- a/src/dawn/wire/SupportedFeatures.h +++ b/src/dawn/wire/SupportedFeatures.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_SUPPORTEDFEATURES_H_ -#define DAWNWIRE_SUPPORTEDFEATURES_H_ +#ifndef SRC_DAWN_WIRE_SUPPORTEDFEATURES_H_ +#define SRC_DAWN_WIRE_SUPPORTEDFEATURES_H_ #include <dawn/webgpu.h> @@ -23,4 +23,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_SUPPORTEDFEATURES_H_ +#endif // SRC_DAWN_WIRE_SUPPORTEDFEATURES_H_
diff --git a/src/dawn/wire/WireDeserializeAllocator.h b/src/dawn/wire/WireDeserializeAllocator.h index cc2ad7b..372b237 100644 --- a/src/dawn/wire/WireDeserializeAllocator.h +++ b/src/dawn/wire/WireDeserializeAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_WIREDESERIALIZEALLOCATOR_H_ -#define DAWNWIRE_WIREDESERIALIZEALLOCATOR_H_ +#ifndef SRC_DAWN_WIRE_WIREDESERIALIZEALLOCATOR_H_ +#define SRC_DAWN_WIRE_WIREDESERIALIZEALLOCATOR_H_ #include "dawn/wire/WireCmd_autogen.h" @@ -40,4 +40,4 @@ }; } // namespace dawn::wire -#endif // DAWNWIRE_WIREDESERIALIZEALLOCATOR_H_ +#endif // SRC_DAWN_WIRE_WIREDESERIALIZEALLOCATOR_H_
diff --git a/src/dawn/wire/WireResult.h b/src/dawn/wire/WireResult.h index 4025c2c..aeb1fdf 100644 --- a/src/dawn/wire/WireResult.h +++ b/src/dawn/wire/WireResult.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_WIRERESULT_H_ -#define DAWNWIRE_WIRERESULT_H_ +#ifndef SRC_DAWN_WIRE_WIRERESULT_H_ +#define SRC_DAWN_WIRE_WIRERESULT_H_ #include "dawn/common/Compiler.h" @@ -35,4 +35,4 @@ } // namespace dawn::wire -#endif // DAWNWIRE_WIRERESULT_H_ +#endif // SRC_DAWN_WIRE_WIRERESULT_H_
diff --git a/src/dawn/wire/client/Adapter.h b/src/dawn/wire/client/Adapter.h index 8753843..4afc687a 100644 --- a/src/dawn/wire/client/Adapter.h +++ b/src/dawn/wire/client/Adapter.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_ADAPTER_H_ -#define DAWNWIRE_CLIENT_ADAPTER_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_ADAPTER_H_ +#define SRC_DAWN_WIRE_CLIENT_ADAPTER_H_ #include <dawn/webgpu.h> @@ -67,4 +67,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_ADAPTER_H_ +#endif // SRC_DAWN_WIRE_CLIENT_ADAPTER_H_
diff --git a/src/dawn/wire/client/ApiObjects.h b/src/dawn/wire/client/ApiObjects.h index 080da48..1998d54 100644 --- a/src/dawn/wire/client/ApiObjects.h +++ b/src/dawn/wire/client/ApiObjects.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_APIOBJECTS_H_ -#define DAWNWIRE_CLIENT_APIOBJECTS_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_APIOBJECTS_H_ +#define SRC_DAWN_WIRE_CLIENT_APIOBJECTS_H_ #include "dawn/wire/client/ObjectBase.h" @@ -26,4 +26,4 @@ #include "dawn/wire/client/ApiObjects_autogen.h" -#endif // DAWNWIRE_CLIENT_APIOBJECTS_H_ +#endif // SRC_DAWN_WIRE_CLIENT_APIOBJECTS_H_
diff --git a/src/dawn/wire/client/Buffer.h b/src/dawn/wire/client/Buffer.h index 186c82b..c1539c5 100644 --- a/src/dawn/wire/client/Buffer.h +++ b/src/dawn/wire/client/Buffer.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_BUFFER_H_ -#define DAWNWIRE_CLIENT_BUFFER_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_BUFFER_H_ +#define SRC_DAWN_WIRE_CLIENT_BUFFER_H_ #include <dawn/webgpu.h> @@ -106,4 +106,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_BUFFER_H_ +#endif // SRC_DAWN_WIRE_CLIENT_BUFFER_H_
diff --git a/src/dawn/wire/client/Client.h b/src/dawn/wire/client/Client.h index fc84b3b..47cc53c 100644 --- a/src/dawn/wire/client/Client.h +++ b/src/dawn/wire/client/Client.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_CLIENT_H_ -#define DAWNWIRE_CLIENT_CLIENT_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_CLIENT_H_ +#define SRC_DAWN_WIRE_CLIENT_CLIENT_H_ #include <dawn/webgpu.h> #include <dawn/wire/Wire.h> @@ -92,4 +92,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_CLIENT_H_ +#endif // SRC_DAWN_WIRE_CLIENT_CLIENT_H_
diff --git a/src/dawn/wire/client/ClientMemoryTransferService_mock.h b/src/dawn/wire/client/ClientMemoryTransferService_mock.h index 0974f40..7e33afa 100644 --- a/src/dawn/wire/client/ClientMemoryTransferService_mock.h +++ b/src/dawn/wire/client/ClientMemoryTransferService_mock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_ -#define DAWNWIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_ +#define SRC_DAWN_WIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_ #include <gmock/gmock.h> @@ -96,4 +96,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_ +#endif // SRC_DAWN_WIRE_CLIENT_CLIENTMEMORYTRANSFERSERVICE_MOCK_H_
diff --git a/src/dawn/wire/client/Device.h b/src/dawn/wire/client/Device.h index 56e2af2..e254c12 100644 --- a/src/dawn/wire/client/Device.h +++ b/src/dawn/wire/client/Device.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_DEVICE_H_ -#define DAWNWIRE_CLIENT_DEVICE_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_DEVICE_H_ +#define SRC_DAWN_WIRE_CLIENT_DEVICE_H_ #include <dawn/webgpu.h> @@ -108,4 +108,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_DEVICE_H_ +#endif // SRC_DAWN_WIRE_CLIENT_DEVICE_H_
diff --git a/src/dawn/wire/client/Instance.h b/src/dawn/wire/client/Instance.h index 9c4cfc9..b13d507 100644 --- a/src/dawn/wire/client/Instance.h +++ b/src/dawn/wire/client/Instance.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_INSTANCE_H_ -#define DAWNWIRE_CLIENT_INSTANCE_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_INSTANCE_H_ +#define SRC_DAWN_WIRE_CLIENT_INSTANCE_H_ #include <dawn/webgpu.h> @@ -53,4 +53,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_INSTANCE_H_ +#endif // SRC_DAWN_WIRE_CLIENT_INSTANCE_H_
diff --git a/src/dawn/wire/client/LimitsAndFeatures.h b/src/dawn/wire/client/LimitsAndFeatures.h index e6c07e5..bdc903b 100644 --- a/src/dawn/wire/client/LimitsAndFeatures.h +++ b/src/dawn/wire/client/LimitsAndFeatures.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_LIMITSANDFEATURES_H_ -#define DAWNWIRE_CLIENT_LIMITSANDFEATURES_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_LIMITSANDFEATURES_H_ +#define SRC_DAWN_WIRE_CLIENT_LIMITSANDFEATURES_H_ #include <dawn/webgpu.h> @@ -37,4 +37,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_LIMITSANDFEATURES_H_ +#endif // SRC_DAWN_WIRE_CLIENT_LIMITSANDFEATURES_H_
diff --git a/src/dawn/wire/client/ObjectAllocator.h b/src/dawn/wire/client/ObjectAllocator.h index b14e91e8..67ab467 100644 --- a/src/dawn/wire/client/ObjectAllocator.h +++ b/src/dawn/wire/client/ObjectAllocator.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_OBJECTALLOCATOR_H_ -#define DAWNWIRE_CLIENT_OBJECTALLOCATOR_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_OBJECTALLOCATOR_H_ +#define SRC_DAWN_WIRE_CLIENT_OBJECTALLOCATOR_H_ #include "dawn/common/Assert.h" #include "dawn/common/Compiler.h" @@ -107,4 +107,4 @@ }; } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_OBJECTALLOCATOR_H_ +#endif // SRC_DAWN_WIRE_CLIENT_OBJECTALLOCATOR_H_
diff --git a/src/dawn/wire/client/ObjectBase.h b/src/dawn/wire/client/ObjectBase.h index 8a4c04d..b56816c 100644 --- a/src/dawn/wire/client/ObjectBase.h +++ b/src/dawn/wire/client/ObjectBase.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_OBJECTBASE_H_ -#define DAWNWIRE_CLIENT_OBJECTBASE_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_OBJECTBASE_H_ +#define SRC_DAWN_WIRE_CLIENT_OBJECTBASE_H_ #include <dawn/webgpu.h> @@ -48,4 +48,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_OBJECTBASE_H_ +#endif // SRC_DAWN_WIRE_CLIENT_OBJECTBASE_H_
diff --git a/src/dawn/wire/client/Queue.h b/src/dawn/wire/client/Queue.h index d205387..bd29a6f 100644 --- a/src/dawn/wire/client/Queue.h +++ b/src/dawn/wire/client/Queue.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_QUEUE_H_ -#define DAWNWIRE_CLIENT_QUEUE_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_QUEUE_H_ +#define SRC_DAWN_WIRE_CLIENT_QUEUE_H_ #include <dawn/webgpu.h> @@ -54,4 +54,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_QUEUE_H_ +#endif // SRC_DAWN_WIRE_CLIENT_QUEUE_H_
diff --git a/src/dawn/wire/client/RequestTracker.h b/src/dawn/wire/client/RequestTracker.h index c57ae92..31fe313 100644 --- a/src/dawn/wire/client/RequestTracker.h +++ b/src/dawn/wire/client/RequestTracker.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_REQUESTTRACKER_H_ -#define DAWNWIRE_CLIENT_REQUESTTRACKER_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_REQUESTTRACKER_H_ +#define SRC_DAWN_WIRE_CLIENT_REQUESTTRACKER_H_ #include "dawn/common/Assert.h" #include "dawn/common/NonCopyable.h" @@ -79,4 +79,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_REQUESTTRACKER_H_ +#endif // SRC_DAWN_WIRE_CLIENT_REQUESTTRACKER_H_
diff --git a/src/dawn/wire/client/ShaderModule.h b/src/dawn/wire/client/ShaderModule.h index fba76b4..c74c0d2 100644 --- a/src/dawn/wire/client/ShaderModule.h +++ b/src/dawn/wire/client/ShaderModule.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_CLIENT_SHADER_MODULE_H_ -#define DAWNWIRE_CLIENT_SHADER_MODULE_H_ +#ifndef SRC_DAWN_WIRE_CLIENT_SHADERMODULE_H_ +#define SRC_DAWN_WIRE_CLIENT_SHADERMODULE_H_ #include <dawn/webgpu.h> @@ -45,4 +45,4 @@ } // namespace dawn::wire::client -#endif // DAWNWIRE_CLIENT_SHADER_MODULE_H_ +#endif // SRC_DAWN_WIRE_CLIENT_SHADERMODULE_H_
diff --git a/src/dawn/wire/server/ObjectStorage.h b/src/dawn/wire/server/ObjectStorage.h index b9cba68..5487735 100644 --- a/src/dawn/wire/server/ObjectStorage.h +++ b/src/dawn/wire/server/ObjectStorage.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_SERVER_OBJECTSTORAGE_H_ -#define DAWNWIRE_SERVER_OBJECTSTORAGE_H_ +#ifndef SRC_DAWN_WIRE_SERVER_OBJECTSTORAGE_H_ +#define SRC_DAWN_WIRE_SERVER_OBJECTSTORAGE_H_ #include "dawn/wire/WireCmd_autogen.h" #include "dawn/wire/WireServer.h" @@ -225,4 +225,4 @@ } // namespace dawn::wire::server -#endif // DAWNWIRE_SERVER_OBJECTSTORAGE_H_ +#endif // SRC_DAWN_WIRE_SERVER_OBJECTSTORAGE_H_
diff --git a/src/dawn/wire/server/Server.h b/src/dawn/wire/server/Server.h index 9c7a02a..caa1bc7 100644 --- a/src/dawn/wire/server/Server.h +++ b/src/dawn/wire/server/Server.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_SERVER_SERVER_H_ -#define DAWNWIRE_SERVER_SERVER_H_ +#ifndef SRC_DAWN_WIRE_SERVER_SERVER_H_ +#define SRC_DAWN_WIRE_SERVER_SERVER_H_ #include "dawn/wire/ChunkedCommandSerializer.h" #include "dawn/wire/server/ServerBase_autogen.h" @@ -240,4 +240,4 @@ } // namespace dawn::wire::server -#endif // DAWNWIRE_SERVER_SERVER_H_ +#endif // SRC_DAWN_WIRE_SERVER_SERVER_H_
diff --git a/src/dawn/wire/server/ServerMemoryTransferService_mock.h b/src/dawn/wire/server/ServerMemoryTransferService_mock.h index faea0ed..4f23bfc 100644 --- a/src/dawn/wire/server/ServerMemoryTransferService_mock.h +++ b/src/dawn/wire/server/ServerMemoryTransferService_mock.h
@@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef DAWNWIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_ -#define DAWNWIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_ +#ifndef SRC_DAWN_WIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_ +#define SRC_DAWN_WIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_ #include <gmock/gmock.h> @@ -105,4 +105,4 @@ } // namespace dawn::wire::server -#endif // DAWNWIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_ +#endif // SRC_DAWN_WIRE_SERVER_SERVERMEMORYTRANSFERSERVICE_MOCK_H_
diff --git a/src/include/CPPLINT.cfg b/src/include/CPPLINT.cfg index 7077645..88c6f99 100644 --- a/src/include/CPPLINT.cfg +++ b/src/include/CPPLINT.cfg
@@ -1,2 +1 @@ -filter=-build/header_guard filter=-legal/copyright
diff --git a/src/include/dawn/EnumClassBitmasks.h b/src/include/dawn/EnumClassBitmasks.h index 143e980..2010c04 100644 --- a/src/include/dawn/EnumClassBitmasks.h +++ b/src/include/dawn/EnumClassBitmasks.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ +#define SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ + #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 f706d9f..b60f264 100644 --- a/src/include/dawn/dawn_proc.h +++ b/src/include/dawn/dawn_proc.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_DAWN_PROC_H_ +#define SRC_INCLUDE_DAWN_DAWN_PROC_H_ + #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 318acb13..f07db4f 100644 --- a/src/include/dawn/dawn_thread_dispatch_proc.h +++ b/src/include/dawn/dawn_thread_dispatch_proc.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ +#define SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ + #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 0ee9aab..c20ab80 100644 --- a/src/include/dawn/dawn_wsi.h +++ b/src/include/dawn/dawn_wsi.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_DAWN_WSI_H_ +#define SRC_INCLUDE_DAWN_DAWN_WSI_H_ + #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 a410df1..863cc87 100644 --- a/src/include/dawn/webgpu.h +++ b/src/include/dawn/webgpu.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WEBGPU_H_ +#define SRC_INCLUDE_DAWN_WEBGPU_H_ + #include <dawn/webgpu.h> + +#endif // SRC_INCLUDE_DAWN_WEBGPU_H_
diff --git a/src/include/dawn/webgpu_cpp.h b/src/include/dawn/webgpu_cpp.h index 8904453..f98aa5a 100644 --- a/src/include/dawn/webgpu_cpp.h +++ b/src/include/dawn/webgpu_cpp.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WEBGPU_CPP_H_ +#define SRC_INCLUDE_DAWN_WEBGPU_CPP_H_ + #include "dawn/webgpu_cpp.h" + +#endif // SRC_INCLUDE_DAWN_WEBGPU_CPP_H_
diff --git a/src/include/dawn_native/D3D12Backend.h b/src/include/dawn_native/D3D12Backend.h index ade0dd1..c399a94 100644 --- a/src/include/dawn_native/D3D12Backend.h +++ b/src/include/dawn_native/D3D12Backend.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ +#define SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ + #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 637d511..5019f6d 100644 --- a/src/include/dawn_native/DawnNative.h +++ b/src/include/dawn_native/DawnNative.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ +#define SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ + #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 1cb8a89..ade5d48 100644 --- a/src/include/dawn_native/MetalBackend.h +++ b/src/include/dawn_native/MetalBackend.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ +#define SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ + #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 38e1134..c0275bc 100644 --- a/src/include/dawn_native/NullBackend.h +++ b/src/include/dawn_native/NullBackend.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ +#define SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ + #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 e7d7adf..dcbe697 100644 --- a/src/include/dawn_native/OpenGLBackend.h +++ b/src/include/dawn_native/OpenGLBackend.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ +#define SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ + #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 f183c03..c81d6e6 100644 --- a/src/include/dawn_native/VulkanBackend.h +++ b/src/include/dawn_native/VulkanBackend.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ +#define SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ + #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 89f8287..b7e2bcb 100644 --- a/src/include/dawn_native/dawn_native_export.h +++ b/src/include/dawn_native/dawn_native_export.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ +#define SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ + #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 2b40383..f93fe7b 100644 --- a/src/include/dawn_platform/DawnPlatform.h +++ b/src/include/dawn_platform/DawnPlatform.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ +#define SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ + #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 066e7ab..9762460 100644 --- a/src/include/dawn_wire/Wire.h +++ b/src/include/dawn_wire/Wire.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WIRE_WIRE_H_ +#define SRC_INCLUDE_DAWN_WIRE_WIRE_H_ + #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 0de7599..b05dcf8 100644 --- a/src/include/dawn_wire/WireClient.h +++ b/src/include/dawn_wire/WireClient.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ +#define SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ + #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 be7030b..6d38c65 100644 --- a/src/include/dawn_wire/WireServer.h +++ b/src/include/dawn_wire/WireServer.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ +#define SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ + #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 36624f8..d203fe9 100644 --- a/src/include/dawn_wire/dawn_wire_export.h +++ b/src/include/dawn_wire/dawn_wire_export.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ +#define SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ + #include <dawn/wire/dawn_wire_export.h> + +#endif // SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_
diff --git a/src/include/webgpu/webgpu.h b/src/include/webgpu/webgpu.h index 4a29d37..c9c5704 100644 --- a/src/include/webgpu/webgpu.h +++ b/src/include/webgpu/webgpu.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_WEBGPU_WEBGPU_H_ +#define SRC_INCLUDE_WEBGPU_WEBGPU_H_ + #include "dawn/webgpu.h" + +#endif // SRC_INCLUDE_WEBGPU_WEBGPU_H_
diff --git a/src/include/webgpu/webgpu_cpp.h b/src/include/webgpu/webgpu_cpp.h index 5bbd869..4dfa8ff 100644 --- a/src/include/webgpu/webgpu_cpp.h +++ b/src/include/webgpu/webgpu_cpp.h
@@ -1 +1,6 @@ +#ifndef SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_ +#define SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_ + #include <dawn/webgpu_cpp.h> + +#endif // SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_