diff --git a/generator/templates/CPPLINT.cfg b/generator/templates/CPPLINT.cfg new file mode 100644 index 0000000000..51ff339c18 --- /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 88211b8eae..cab84f8002 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 3947f007a4..e5272f308b 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 @@ -153,4 +153,4 @@ namespace dawn { } // 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 adeec46335..94cc306048 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 @@ WGPU_EXPORT void dawnProcSetProcs(const DawnProcTable* procs); } // 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 4d08ba8adc..7b12c67e27 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 @@ WGPU_EXPORT void dawnProcSetPerThreadProcs(const DawnProcTable* procs); } // 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 f1a6047b5b..cf30dffa88 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 @@ -83,4 +83,4 @@ typedef struct { } 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 6f11bb77f5..599921bab0 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 #include @@ -108,4 +108,4 @@ namespace dawn::native::d3d12 { } // 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 d62d0ef02a..d6ccaca521 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 #include @@ -258,4 +258,4 @@ namespace dawn::native { // 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 54b01cee43..dfe71148fc 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 #include @@ -70,4 +70,4 @@ namespace dawn::native::metal { #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 d2799e39ca..5df866456f 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 #include @@ -22,4 +22,4 @@ namespace dawn::native::null { 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 53c878c48d..5077a5209e 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 { } // 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 a02cc3c55e..5bbc00e35e 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 #include @@ -137,4 +137,4 @@ namespace dawn::native::vulkan { } // 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 ffbd9cc369..329b1a1d8b 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 d983794630..0ace9f883b 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 @@ namespace dawn::platform { // 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 0626467ce7..e8d22e37aa 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 6e63b3e7ad..10028e05b7 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 #include @@ -76,4 +76,4 @@ namespace dawn::wire { // 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 d5e9629416..ddda1d302c 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 dawn::wire { } // 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 b561bbb360..2e37446e25 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 @@ -147,4 +147,4 @@ namespace dawn::wire { } // 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 8043f618c1..285d5db002 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 7077645246..88c6f99113 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 4a29d37346..0e3bc28983 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 5bbd869b94..4f5ea4e653 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 + +#endif // INCLUDE_WEBGPU_WEBGPU_CPP_H_ diff --git a/src/dawn/CPPLINT.cfg b/src/dawn/CPPLINT.cfg index ad70cb4776..4cc4411907 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 940d5ff451..c13b33b24a 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 #include @@ -30,4 +30,4 @@ T* AllocNoThrow(size_t count) { 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 e7961d7f4e..ee9eeb477b 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 @@ void HandleAssertionFailure(const char* file, 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 f14a76c977..a6d3a2354e 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 @@ BitSetIterator IterateBitSet(const std::bitset& bitset) { return BitSetIterator(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 ae4f5c0d76..db759333cd 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 @@ extern void __cdecl __debugbreak(void); # 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 e11b646988..87543ef8fe 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 @@ class ConcurrentCache : public NonMovable { std::unordered_set mCache; }; -#endif +#endif // SRC_DAWN_COMMON_CONCURRENTCACHE_H_ diff --git a/src/dawn/common/Constants.h b/src/dawn/common/Constants.h index 13b5995d22..a5d20ab54e 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 @@ -65,4 +65,4 @@ static constexpr uint8_t kUniformsPerExternalTexture = 1u; // 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 e6cafbefd8..f77e8e08c5 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 @@ CFRef AcquireCFRef(T pointee) { 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 66d846ee89..00f3960194 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 @@ class DynamicLib { 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 26c91036e6..9a03677185 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 #include @@ -63,4 +63,4 @@ namespace gpu_info { 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 e59e8c5434..3aaa960fd3 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 { }; } // 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 4ff441372a..43119a4619 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 @@ IORef AcquireIORef(T pointee) { 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 673f596e62..81d6889239 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 @@ LinkedListIterator end(LinkedList& l) { return LinkedListIterator(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 0504af61ed..d2b4fdbcc8 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 { } // 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 9ef02d0c40..59384430ff 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 @@ constexpr bool IsSubset(T1 subset, T2 set) { 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 5bf49145c4..ddec95e3f8 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 @@ NSPRef AcquireNSPRef(T pointee) { 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 2d217dfbad..8223ad583d 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 @@ class NonMovable : NonCopyable { 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 6c715ca66a..dc097ac136 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 @@ -39,4 +39,4 @@ class PlacementAllocated { } }; -#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 f9471021fd..5e4f9d7ff4 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 @@ -79,4 +79,4 @@ static_assert(sizeof(sizeof(char)) == 4, "Expect sizeof(size_t) == 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 4eef736aa7..458ccb3ba9 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 5d1078916b..fca12d600d 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 @@ class RefBase { 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 65f37b935f..d9f92aa184 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 @@ Ref AcquireRef(T* pointee) { 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 5566829a9a..d3ccbf1910 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 @@ std::unique_ptr Result::AcquireError() { 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 750f16e093..74a4657f6a 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 @@ void SerialMap::Enqueue(std::vector&& values, Serial seria } } -#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 3e33f1e61f..0091ecaf30 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 @@ void SerialQueue::Enqueue(std::vector&& values, Serial ser 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 8a103f584d..9821659081 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 @@ const typename SerialStorage::Value& SerialStorage::ConstItera 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 58d2d94d0c..3a6f3485d2 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 @@ class SlabAllocator : public SlabAllocatorImpl { } }; -#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 4de688ffb5..1efcc054c7 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 @@ class StackVector 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 c1ad5f2e62..93f9b61a36 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 @@ DawnSwapChainImplementation CreateSwapChainImplementation(T* swapChain) { 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 bb59966727..31b39023e6 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 @@ class ScopedEnvironmentVar { 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 3348b892f4..40e76c0280 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 @@ -31,4 +31,4 @@ struct HasEqualityOperator< 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 6669d148e6..d00160c350 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 { } // 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 09c72c023f..5b499da4ca 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 @@ -48,4 +48,4 @@ namespace detail { template using UnderlyingType = typename detail::UnderlyingTypeImpl::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 3ab916bbcd..1a2b906976 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 @@ -21,4 +21,4 @@ std::string WCharToUTF8(const wchar_t* input); 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 c7db71a0c0..cb0d650e93 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 { } // 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 9c27cfe6ea..0d181c3dd6 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 @@ Index GetHighestBitIndexPlusOne(const ityp::bitset& bitset) { #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 c73f983118..893982cf56 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 { } // 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 47c437e365..ada5637a18 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 { } // 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 9d83adf8e5..dc4f4c97be 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 { } // 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 620034ff31..097e4cb890 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 @@ static constexpr uint64_t VK_NULL_HANDLE = 0; # 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 686da9fa9f..337ed605ab 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 7ac5a62b7d..8073aa2c94 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 83b6d3a9d4..19510ef9ea 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 @@ -32,3 +35,5 @@ namespace DawnWireServerFuzzer { 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 bd66c8b87e..99b68e7318 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 { } // 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 ca2edd0d66..b71c80e96b 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 #include @@ -62,4 +62,4 @@ namespace dawn::native { } // 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 21eff85c56..63c5defb17 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 { } // 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 2879fad963..45b0709fb9 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 { } // 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 7ba883a9fa..61e373ae5b 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 { } // 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 5b91a2fd4e..3e11a283ff 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 { } // 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 72d0cf4ce4..dd2f056c95 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 { } // 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 027ce52efa..e04d014afe 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 { } // 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 31c8b0b9fd..30717502e9 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 #include @@ -114,4 +114,4 @@ namespace dawn::native { } // 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 7fcfe71cb3..e4d4f10b4c 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 { } // 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 2a9759ff2d..60a41bceee 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 { } // 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 e97e770b8a..4fff61b95d 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 #include @@ -131,4 +131,4 @@ namespace dawn::native { } // 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 7d28ae8f12..5e485602be 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 { } // 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 37fddd431d..0a4253ac44 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 #include @@ -42,4 +42,4 @@ namespace dawn::native { } // 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 9d2b471825..4b7ea99a56 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 { } // 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 3d9d71a0ba..a41b48293a 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 { } // 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 b68e27a068..d212876f64 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 { } // 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 59e19c62dc..81263c0539 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 { } // 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 1cae7cc3e1..c65e9837c6 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 { } // 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 3c2d8abf3e..be465fcf2c 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 { } // 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 92e33465a1..4697045ddc 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 { } // 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 16dd11d058..a2bb08ff12 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 { } // 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 1bd97d1dcf..6de7ac55b9 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 { } // 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 de82f5f979..86e3135a69 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 { } // 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 4b936cf674..28497264c0 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 { } // 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 db13e093dd..24f832210c 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 { } // 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 fa3f80a1cc..3bec13cd3b 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 { }; } // 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 659a9a72b4..341cc10509 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 { } // 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 671db23325..51453cd594 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 { } // 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 6653ef4195..70e226879e 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 { } // 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 64c481f999..1a5ac313f8 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 { } // 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 901c54f1dc..6ad2e13576 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 { } // 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 ab41886529..02cbea26ad 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 #include @@ -65,4 +65,4 @@ namespace dawn::native { #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 766a81eca0..68a0dde1c2 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 { } // 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 e32b6317f4..23f65d4eef 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 { }; } // 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 de75e99ed0..6a110a20ee 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 #include @@ -80,4 +80,4 @@ namespace dawn::native { } // 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 457c6cb1e6..509e64bdc1 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 { } // 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 36b092c371..80125a4dcd 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 @@ -68,4 +68,4 @@ namespace dawn::native { } // 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 602be861f7..76f61db499 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 { } // 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 6714137037..de246c25c7 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 { } // 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 58986893a1..7dfaf51c9e 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 { } // 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 fd4c2f14eb..48658e2882 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 { } // 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 64e7728266..4f80d9db4b 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 { } // 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 f41eaa8697..c8724e48b2 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 { } // 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 8f110a18c4..4ea489c0d5 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 { } // 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 c1ca32a914..8a065a834f 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 { } // 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 c6fe535009..307a7266f0 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 { } // 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 ad0ef92fe1..e6626f5a1e 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 { } // 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 83039b2b9f..266bf92b4d 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 { } // 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 7854d59f4e..e112449e71 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 { }; } // 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 ab078c3563..a0e5c05369 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 { } // 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 4850536d42..e15a0e31f7 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 { } // 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 898bafe497..184613a2d0 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 { } // 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 6bba7a2752..6a7918f6ea 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 { } // 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 111b1952cd..744e612a41 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 { } // 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 39a69df425..72ad861709 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 { } // 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 ee1074de87..b7bb986229 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 { } // 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 9112b77c99..0fa9ec5808 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 { } // 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 46c147005e..53ab119b94 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 { } // 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 80128f3082..18ac91a299 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 { } // 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 970af73b5d..757b46b658 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 { } // 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 429f2a9ce4..56d482fba1 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 { } // 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 cb45c88280..b0ea037c5f 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 { } // 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 3c861543b8..42b922904c 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 { } // 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 307d90a1db..5fea0f1131 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 @@ -77,4 +77,4 @@ namespace dawn::native { }; } // 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 8049470f4c..27f7622449 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 { }; } // 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 e21b52ce7a..5b3823c023 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 { } // 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 7845022b1e..45f2d7aade 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 { } // 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 ff643eb9f8..bd69e5d730 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 { } // 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 984ebcdefc..0b4f368938 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 @@ -25,3 +28,5 @@ namespace dawn::native { 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 0ebb1c4a42..eafc78d0c8 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 { } // 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 63795e5f7e..f985c685a3 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 { } // 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 345f994cea..9dc9d99f41 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 { } // 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 c5d6185e50..c66253a60a 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 { } // 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 48b827032d..7c7d95c6dc 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 { } // 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 227aeb0fae..8b2210b403 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 { } // 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 2dcb8f31e6..e3f6c3ab0b 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 { } // 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 a2a69cb8cc..ef8f2377ff 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 { } // 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 a45a82e3af..883d0239d5 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 #include @@ -99,4 +99,4 @@ namespace dawn::native { } // 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 f88ae28909..d321232233 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 { } // 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 52998a4d9a..5f0659ed26 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 { } // 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 3247a133c9..b1f676083f 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 { } // 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 01ae6bca7f..4d0ff7c748 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 { } // 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 7fcf782cf6..58498fc9ae 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 { }; } // 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 f16b16b915..5a3596421d 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 { } // 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 253565a387..8d10bbbcae 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 { } // 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 997d056384..5c8526827c 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 @@ -44,4 +44,4 @@ namespace dawn::native::d3d12 { } // 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 1f8cc1e4f8..baec984bcb 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 { } // 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 d6d44385b1..952d4503b8 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 { } // 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 21a60f23ed..59c2ffaafe 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 { }; } // 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 03a0259522..cf55c13caf 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 { } // 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 af7e680be6..4d960ff3b1 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 { } // 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 f70690ad91..fda0ebe886 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 #include "dawn/native/Error.h" @@ -42,4 +42,4 @@ namespace dawn::native::d3d12 { } // 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 83ee83764b..d38c485535 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 @@ namespace dawn::native::d3d12 { ResultOrError 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 1a837929a3..2dc97d07cf 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 { } // 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 a7aedb786e..3004f2ed9d 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 { } // 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 7f7ce1ecb6..a7ac12c6ed 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 { } // 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 055f739340..3cc8ee06b0 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 { } // 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 c16036659a..b1efe5e0af 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 { }; } // 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 1e3dbfbd4d..eff3d0d789 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 { } // 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 8ed5ee24a5..5eee004d67 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 { } // 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 19355dc296..a52a8a1616 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 { }; } // 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 d1e845301a..a1db136fb7 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 { } // 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 a236b1a156..a8218f7ab1 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 { } // 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 5ace792384..e67b12f9eb 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 { } // 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 6f15a7dfbd..aaf0a98ae2 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 { } // 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 5731c5268a..0e7dcad68f 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 { }; } // 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 13d4a1af25..049520deeb 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 { } // 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 26d9cf06e2..490e487510 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 { } // 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 331c982c7d..41058ce8c2 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 { } // 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 c9de601e28..7cd765c684 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 { } // 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 e296afbf3e..c1013c1dac 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 { } // 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 be38d219cf..28c6fae54e 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 { } // 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 2fd3a80380..71d923ad5e 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 { } // 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 dca8b2995d..38a182abd7 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 { }; } // 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 b810541649..6e67a1aefe 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 { }; } // 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 454aa09add..5c69589aad 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 { } // 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 1e8a7d98a1..4aff922694 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 { } // 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 d549b906da..207e9165dc 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 @@ namespace dawn::native::d3d12 { 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 1264f7628d..2a05e97e63 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 { }; } // 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 00c850f385..912d1b7f34 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 { } // 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 f020fec14d..0622576b9b 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 c8863afba0..3be467bd34 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 @@ -59,4 +59,4 @@ namespace dawn::native { static_cast(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 0dd72045fa..16f8843184 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 { } // 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 bf4c3e92cc..fbd344cab3 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 { } // 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 238635c0e8..9fd71d2ebb 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 { } // 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 8eb9a36d0f..4e36736fc5 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 { } // 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 29db87057f..6fd68cf10d 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 { } // 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 fb06aa873a..925d8faa0c 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 { } // 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 d61db22056..3091d744a4 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 { } // 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 a6b6592e73..53d7b60e0f 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 { } // 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 bdfc31d98f..ab85da5766 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 { } // 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 efd3f51279..9e2ee158ff 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 { } // 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 23d6c44594..67cda0fdaa 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 { } // 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 fd94e0796a..de491b86bf 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 { } // 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 a4c6296b31..338a3e9288 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 { } // 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 166fbe4117..c71c884e10 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 { } // 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 0188bb17f1..89f1e54c62 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 { } // 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 4400598db1..7c6636fce2 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 { }; } // 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 9cae564a87..a5a1e4899d 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 { } // 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 c5544f6857..cf2e637484 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 { } // 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 5c4ae9c31c..3a0d76dc6f 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 { } // 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 d810c066ea..51645d05f4 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 { } // 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 12e7b47fa8..8c3bd95985 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 { } // 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 9d6ccec10e..fb6e2b5d39 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 { } // 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 1cb3cc267c..5e14798240 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 { } // 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 2cd1ae6eae..910e5dbcde 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 { } // 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 e0f3193c53..4b3da13263 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 @@ namespace dawn::native::opengl { 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 23be225d07..00a3ded504 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 { } // 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 f6c673c0cb..865013bec4 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 { } // 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 daf2dc32e1..2ebd2fbb9e 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 { } // 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 e3e31950c6..292fb4a6d3 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 { } // 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 bd7bc9de7e..6d52074cfe 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 { } // 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 3da6c860b6..128e5ec213 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 @@ -42,4 +42,4 @@ namespace dawn::native::opengl { } // 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 6b1e91bba4..d575ba8ae3 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 { } // 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 959e7f9ac6..fdfe293b57 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 { } // 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 9bbfffa8b0..da6fa281a6 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 { } // 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 f743d6a20a..a315221ba7 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 { } // 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 1bef7c50a1..7e2165451e 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 { } // 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 f83278df1b..bd362223a8 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 { } // 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 1ee3f81661..c1cb7f27e8 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 { } // 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 5d07ecb750..1afb6129a4 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 { } // 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 44cd0d40e5..89fecee919 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 { } // 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 2c6c91a842..d84c43c6ae 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 { } // 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 cf77972f0c..9d03201df5 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 { } // 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 0abaff793d..78e12dbbd0 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 { } // 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 04d91261f0..86d60db1b3 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 6e1fad2eba..e895905be8 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 @@ -120,4 +120,4 @@ namespace dawn::native::utils { } // 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 2f3948ecce..7616cdaefc 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 { } // 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 2902dbb43b..533f1cf814 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 { } // 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 d8adedc49f..8dc41c4911 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 { } // 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 100ea85291..af7680aebf 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 { } // 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 1f7ae74835..185170ea14 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 { } // 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 ab8e02d413..cae87d62b5 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 { } } // 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 d329a41868..e4ec4109cc 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 { } // 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 44f1c90726..94e2e04d8f 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 { } // 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 ef4aeff1be..c2b7d83cf4 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 { } // 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 ef72e860eb..ffe543e78c 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 { } // 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 b6cd49507d..cc3a96edd7 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 { } // 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 55697efeec..317e3151d5 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 { } // 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 24edf428cd..d2a68d5cad 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 { } // 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 bd4c88a24e..b8f9b133a4 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 { } // 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 35f6adecb9..e6ac30be35 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 { } // 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 529146576a..5dc309fd2a 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 { } // 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 56d51e577b..26f9f4e59d 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 { } // 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 78a52c0ab8..d0a3c9379c 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 { } // 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 a80b875ec6..05f379ce27 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 { } // 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 aaf9fc808f..6565b0d8f1 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 { } // 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 7d87cacabb..2c99f7e331 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 { } // 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 5b822c8990..b7d8068920 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 { } // 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 81864fd13e..0cd127cec9 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 { } // 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 1b246c99bd..078e02d718 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 { } // 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 3b69b75d1d..8688cccc61 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 { } // 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 b6ad68b06c..e69634ccce 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 { }; } // 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 bfab4b735d..a3503ce491 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 { } // 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 2452ade02c..c19d3b8df1 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 { } // 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 c18a5b6877..4ef8e459ff 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 { } // 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 e17e73b7ae..90d1242b4d 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 { } // 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 d58c35e0b8..1aea2bc570 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 { } // 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 0de5192b68..84c58acf58 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 { } // 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 5d87fcd61e..f75a11f406 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 @@ namespace dawn::native::vulkan { 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 034bada4cf..b03fb10499 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 { namespace vulkan::external_memory { }} // 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 c1f69f1dae..259afa8df4 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 { namespace vulkan::external_semaphore { }} // 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 ca7ddb5eba..0c141a3efb 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 { } // 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 c1fe57de8f..ec68e87b41 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 #include @@ -74,4 +74,4 @@ namespace wgpu::binding { } // 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 180a06a2d0..8ab9e533a5 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 #include @@ -407,4 +407,4 @@ namespace wgpu::binding { } // 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 10938128c8..d22fe48cb7 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 { } // 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 89b7b43fb9..b4d4e292d4 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 #include @@ -32,4 +32,4 @@ namespace wgpu::binding { }; } // 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 f31635fe43..f9861a7afd 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 { } // 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 aa97a8ad92..21fe9a4216 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 { } // 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 d5e12c7563..37bd298f3b 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 { } // 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 f6ad9c65ec..e3ff31df33 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 { } // 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 11443c8c79..1d26ca41b9 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 { } // 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 d2555bcd33..36325b2ff5 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 { } // 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 edd796d057..e752d82381 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 { } // 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 72f2cd6e58..53d894e253 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 { } // 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 ec68422f5c..027e1ed466 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 { } // 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 ac331338ca..a0a6be0290 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 { } // 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 3ffbb09783..e6b1bcd8ef 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 { } // 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 f853103fb8..bbfd26f50e 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 { } // 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 ceef531c52..6111ae0b49 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 { } // 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 4d7c41ebe2..e61b9d63c4 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 { } // 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 a59a20a104..9823824f23 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 { } // 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 ee2b855956..dbebd01669 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 { } // 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 ab521f8c79..f0c5d67954 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 { } // 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 ded83b5819..a467dcf3a7 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 { } // 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 89bfea295b..fd5016eb23 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 { } // 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 0f3071df3c..c9074f8920 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 { } // 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 464a763bab..66e7afe392 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 { } // 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 e749cfabac..0aa23e5a84 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 { } // 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 ed2388c250..51a99d32ea 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 #include @@ -807,4 +807,4 @@ namespace wgpu::interop { } // 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 cf7c7d8b20..bd7f4e4b2f 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 #include @@ -143,4 +143,4 @@ namespace wgpu::utils { } // 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 9079689655..949fdff496 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 { } // 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 0200ec50a1..3c97f542b0 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 dawn::platform { } // 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 e120e08611..0baf98fb85 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 @@ -988,4 +988,4 @@ namespace dawn::platform::TraceEvent { } // 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 8c6fdd78a1..1555d52f28 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 #include @@ -27,3 +30,5 @@ uint64_t GetSwapChainImplementation(); 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 9e8df19879..8d6fd8e6cb 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 @@ -50,4 +50,4 @@ class DawnNativeTest : public ::testing::Test { 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 877b2fccdf..8cee75114f 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 { } // 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 2b795eddfc..c41139caee 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 #include "dawn/common/Assert.h" @@ -99,3 +102,5 @@ namespace testing { }; } // namespace testing + +#endif // SRC_DAWN_TESTS_MOCKCALLBACK_H_ diff --git a/src/dawn/tests/ParamGenerator.h b/src/dawn/tests/ParamGenerator.h index c90591d827..3ce0429106 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 #include @@ -137,4 +137,4 @@ auto MakeParamGenerator(std::vector&& first, std::vector&&>(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 d5ff90bbe2..e6f949f693 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 #include @@ -34,4 +34,4 @@ class ToggleParser { std::vector 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 60d93a04f5..6c659bb4da 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 @@ class VideoViewsTests : public DawnTest { 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 548d212048..1698dc09de 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 @@ class DawnPerfTestWithParams : public DawnTestWithParams, public DawnPer 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 f41d6d977b..adc567f106 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 @@ class DawnPerfTestPlatform : public dawn::platform::Platform { 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 8135f0c209..6ed77275fe 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 { } // 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 f6a2370d8c..02f82b0dd4 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 { } // 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 8f17d1d013..6955e7cc95 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 { } // 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 7f0198b9c5..65d3168125 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 { } // 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 6071051f97..b7bb4670fe 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 { } // 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 d0d5c319bd..7639e81655 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 { } // 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 c40276bedf..5de8065548 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 { } // 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 7e82a40c9b..5b31e4bb00 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 { } // 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 c4b8349848..43aa27f74b 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 { } // 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 71e0287b5e..c0cd457fd4 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 { } // 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 48ab08778d..8f974f7158 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 { } // 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 8beeabfe1a..d926fe1e43 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 { } // 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 711f6fffaa..74c92fdd21 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 { } // 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 10aa2e95b2..de39529648 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 { } // 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 989de4102d..0db5f53359 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 @@ class ValidationTest : public testing::Test { 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 235dcf5f80..f332db4f0d 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 @@ class WireTest : public testing::Test { std::unique_ptr mS2cBuf; std::unique_ptr 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 d4173a7e0d..49b902695d 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 { } // 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 352d294c91..7c988e7dd5 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 { } // 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 c1ef12b50f..bd0abe37d1 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 @@ -32,4 +32,4 @@ namespace utils { } // 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 1e4662f58b..1de61f50c8 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 @@ -61,4 +61,4 @@ namespace utils { } // 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 f2299cba9d..7df9f75d63 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 { } // 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 17b3956a16..543fb6f73e 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 { } // 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 33c46dec44..23ff4c8fa0 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 { } // 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 bd00a1a196..bad97041dd 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 { } // 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 1f42cc539a..1be5439b60 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 6960b2b885..2f4acc4fac 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 { } // 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 02b0dafb31..e33cb1b5b7 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 @@ -64,4 +64,4 @@ namespace utils { } // 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 f9dab08eac..26e60bf2de 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 @@ -248,4 +248,4 @@ namespace utils { 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 86587ddba0..cc6134399b 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 { } // 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 bfffae2a7c..8279def821 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 @@ -179,4 +179,4 @@ namespace utils { } // 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 78aa802616..740c4c0624 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 { } // 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 b11a68a7bf..48f88f81a1 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 { } // 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 eef5d726ed..11c771b71d 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 { } // 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 162fecac4c..a0aaf4e7f5 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 { } // 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 92b8a445e2..d71f864883 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 { } // 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 9c173e1633..0045155918 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 @@ -23,4 +23,4 @@ namespace dawn::wire { } // 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 cc2ad7bb6f..372b237a63 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 { }; } // 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 4025c2cf49..aeb1fdfdeb 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 { } // 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 8753843f8f..4afc687a30 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 @@ -67,4 +67,4 @@ namespace dawn::wire::client { } // 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 080da482b7..1998d5493e 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 186c82bd59..c1539c514e 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 @@ -106,4 +106,4 @@ namespace dawn::wire::client { } // 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 fc84b3b87d..47cc53c5d1 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 #include @@ -92,4 +92,4 @@ namespace dawn::wire::client { } // 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 0974f40a77..7e33afaa08 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 @@ -96,4 +96,4 @@ namespace dawn::wire::client { } // 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 56e2af26ad..e254c123b9 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 @@ -108,4 +108,4 @@ namespace dawn::wire::client { } // 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 9c4cfc9722..b13d507934 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 @@ -53,4 +53,4 @@ namespace dawn::wire::client { } // 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 e6c07e5487..bdc903b72b 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 @@ -37,4 +37,4 @@ namespace dawn::wire::client { } // 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 b14e91e803..67ab46766c 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 { }; } // 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 8a4c04d7fa..b56816c6d9 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 @@ -48,4 +48,4 @@ namespace dawn::wire::client { } // 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 d205387deb..bd29a6f52d 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 @@ -54,4 +54,4 @@ namespace dawn::wire::client { } // 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 c57ae92623..31fe313bfa 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 { } // 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 fba76b41d8..c74c0d270c 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 @@ -45,4 +45,4 @@ namespace dawn::wire::client { } // 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 b9cba68239..5487735371 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 { } // 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 9c7a02ac92..caa1bc78f1 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 { } // 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 faea0edc11..4f23bfc860 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 @@ -105,4 +105,4 @@ namespace dawn::wire::server { } // 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 7077645246..88c6f99113 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 143e9803f9..2010c04c5b 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 + +#endif // SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ diff --git a/src/include/dawn/dawn_proc.h b/src/include/dawn/dawn_proc.h index f706d9f366..b60f26440d 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 + +#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 318acb139f..f07db4f13d 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 + +#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 0ee9aab2a6..c20ab80ddb 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 + +#endif // SRC_INCLUDE_DAWN_DAWN_WSI_H_ diff --git a/src/include/dawn/webgpu.h b/src/include/dawn/webgpu.h index a410df1dc8..863cc8775a 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 + +#endif // SRC_INCLUDE_DAWN_WEBGPU_H_ diff --git a/src/include/dawn/webgpu_cpp.h b/src/include/dawn/webgpu_cpp.h index 8904453979..f98aa5a32d 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 ade0dd1b88..c399a9435c 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 + +#endif // SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ diff --git a/src/include/dawn_native/DawnNative.h b/src/include/dawn_native/DawnNative.h index 637d511804..5019f6d113 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 + +#endif // SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ diff --git a/src/include/dawn_native/MetalBackend.h b/src/include/dawn_native/MetalBackend.h index 1cb8a892db..ade5d484c1 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 + +#endif // SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ diff --git a/src/include/dawn_native/NullBackend.h b/src/include/dawn_native/NullBackend.h index 38e1134948..c0275bc9e1 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 + +#endif // SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ diff --git a/src/include/dawn_native/OpenGLBackend.h b/src/include/dawn_native/OpenGLBackend.h index e7d7adf221..dcbe69766a 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 + +#endif // SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ diff --git a/src/include/dawn_native/VulkanBackend.h b/src/include/dawn_native/VulkanBackend.h index f183c03f59..c81d6e69c8 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 + +#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 89f828797b..b7e2bcb9cb 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 + +#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 2b40383df3..f93fe7b6a9 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 + +#endif // SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ diff --git a/src/include/dawn_wire/Wire.h b/src/include/dawn_wire/Wire.h index 066e7abe6b..9762460ab9 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 + +#endif // SRC_INCLUDE_DAWN_WIRE_WIRE_H_ diff --git a/src/include/dawn_wire/WireClient.h b/src/include/dawn_wire/WireClient.h index 0de75997d4..b05dcf805c 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 + +#endif // SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ diff --git a/src/include/dawn_wire/WireServer.h b/src/include/dawn_wire/WireServer.h index be7030beac..6d38c65e86 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 + +#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 36624f8e02..d203fe9bf1 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 + +#endif // SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ diff --git a/src/include/webgpu/webgpu.h b/src/include/webgpu/webgpu.h index 4a29d37346..c9c5704f16 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 5bbd869b94..4dfa8ffd76 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 + +#endif // SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_