/* * Copyright (c) 2022, Stephan Unverwerth * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace GLSL { class Compiler final { public: ErrorOr> compile(Vector const& sources); String messages() const { return m_messages; } private: String m_messages; }; }