projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backup - needs fixing
[demo]
/
src
/
vulkan
/
shader-vk.h
diff --git
a/src/vulkan/shader-vk.h
b/src/vulkan/shader-vk.h
index
88e07bc
..
1914a4f
100644
(file)
--- a/
src/vulkan/shader-vk.h
+++ b/
src/vulkan/shader-vk.h
@@
-4,6
+4,13
@@
#include <string>
#include "shader.h"
#include <string>
#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:
class ShaderVK : public Shader
{
protected:
@@
-23,6
+30,7
@@
public:
class ShaderProgramVK : public ShaderProgram
{
protected:
class ShaderProgramVK : public ShaderProgram
{
protected:
+ Pipeline pipeline;
/*ubo*/
public:
/*ubo*/
public:
@@
-49,4
+57,4
@@
public:
virtual void set_uniform_matrix(int location, const Mat4 &mat) override;
};
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_