This commit is contained in:
Martin Slachta
2026-07-18 14:31:15 +02:00
commit a04f0dc262
3343 changed files with 1140208 additions and 0 deletions
@@ -0,0 +1,23 @@
//
// 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<uint32_t>& code) const;
Shader from_file(std::string path) override;
};
#endif //LOFT_SPIRVSHADERBUILDER_HPP