This commit is contained in:
patchzyy committed 2026-08-23 17:10:50 +02:00
commit ec226e8348
1099 files changed
+400981

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#pragma once
#include <webgpu/webgpu_cpp.h>
#include <string_view>
static inline bool operator==(const wgpu::Extent3D& lhs, const wgpu::Extent3D& rhs) {
return lhs.width == rhs.width && lhs.height == rhs.height && lhs.depthOrArrayLayers == rhs.depthOrArrayLayers;
}
static inline bool operator!=(const wgpu::Extent3D& lhs, const wgpu::Extent3D& rhs) { return !(lhs == rhs); }
namespace wgpu {
inline std::string_view format_as(wgpu::StringView str) { return str; }
} // namespace wgpu