7 /* each shader program will correspond to a pipeline. The pipeline
8 * must have the cull, zbuffer etc since they can't be dynamic states */
10 class ShaderVK : public Shader {
18 virtual bool create(char *buf, unsigned int bsz, const char *fname) override;
25 virtual bool load(const char *fname, ShaderType type) override;
26 virtual void destroy() override;
29 class ShaderProgramVK : public ShaderProgram
36 virtual ~ShaderProgramVK();
38 virtual bool create() override;
40 virtual bool use() const override;
41 virtual bool link() override;
42 virtual void destroy() override;
43 virtual void attach_shader(Shader *shader) override;
45 #endif // SHADER_VK_H_