X-Git-Url: http://git.mutantstargoat.com?p=demo;a=blobdiff_plain;f=src%2Fvulkan%2Fshader-vk.h;h=1914a4f0bd1b41eb2a1f049b79a5cc2b1f68a27d;hp=88e07bcb38a6719eef1052b052a021f06e22660c;hb=32feb79dc3b9ddeeab84a0329d53b8aaff86bb80;hpb=72995482b98ff2a014ddd737131a0935ead89977 diff --git a/src/vulkan/shader-vk.h b/src/vulkan/shader-vk.h index 88e07bc..1914a4f 100644 --- a/src/vulkan/shader-vk.h +++ b/src/vulkan/shader-vk.h @@ -4,6 +4,13 @@ #include #include "shader.h" +/* each shader program will correspond to a pipeline. The pipeline + * must have the cull, zbuffer etc since they can't be dynamic states */ + +struct Pipeline { + +}; + class ShaderVK : public Shader { protected: @@ -23,6 +30,7 @@ public: class ShaderProgramVK : public ShaderProgram { protected: + Pipeline pipeline; /*ubo*/ public: @@ -49,4 +57,4 @@ public: virtual void set_uniform_matrix(int location, const Mat4 &mat) override; }; -#endif // SHADER_VK_H_ \ No newline at end of file +#endif // SHADER_VK_H_