#pragma once #include #include namespace mln { namespace webgpu { namespace detail { bool isDirective(const std::string& line, const std::string& directive); std::string getDirectiveArgument(const std::string& line); std::string preprocessWGSL(const std::string& source, const std::unordered_map& defines); } // namespace detail } // namespace webgpu } // namespace mln