// This file is auto-generated by wgsl-gen. Do not edit manually. #pragma once #ifndef INCLUDED_BY_WGSL_GEN_IMPL #error "This file is expected to be included by wgsl-gen impl. Do not include it directly." #endif // Helper functions or macros #pragma push_macro("MainFunctionStart") #undef MainFunctionStart #define MainFunctionStart() { [[maybe_unused]] auto& ss = shader_helper.MainFunctionBody(); #pragma push_macro("MainFunctionEnd") #undef MainFunctionEnd #define MainFunctionEnd() } // Helper templates namespace wgsl_detail { template >> std::string pass_as_string(T&& v) { return std::to_string(std::forward(v)); } template std::string_view pass_as_string(std::string_view sv) { return sv; } template std::string pass_as_string(T&& v) { return std::forward(v); } } // namespace wgsl_detail // Include template implementations #include "generated/tensor/pad.h" // 46a83353752f30eb492abbc0d8c95cbf7a85db09944c5484cce69f5a8136dd78 #pragma pop_macro("MainFunctionStart") #pragma pop_macro("MainFunctionEnd")