// 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 "string_table.h" // 16d2563fc58e81b41c9b3be4a1c9a9e0a4458c7ff6849b4359f77a6ec7f3d23c // Include template implementations #include "generated/shader/triangle.h" // d61822d677fc73d87adbe0b7b8e81d556ca515fef270bbe01dcdcb10596c350b #pragma pop_macro("MainFunctionStart") #pragma pop_macro("MainFunctionEnd")