// // Created by martin on 10/24/23. // #ifndef LOFT_SPIRVSHADERBUILDER_HPP #define LOFT_SPIRVSHADERBUILDER_HPP #include "ShaderBuilder.hpp" #include "Gpu.hpp" class SpirvShaderBuilder : public ShaderBuilder { private: const Gpu* m_gpu; public: SpirvShaderBuilder(const Gpu* gpu); Shader from_binary(const std::vector& code) const; Shader from_file(std::string path) override; }; #endif //LOFT_SPIRVSHADERBUILDER_HPP