quick backup
[demo] / src / vulkan / shader-vk.cc
1 #include "vkutil.h"
2 #include "shader-vk.h"
3
4 /* static variables */
5 static vku_buffer ubo;
6
7 ShaderVK::ShaderVK()
8 {
9 }
10
11 ShaderVK::~ShaderVK()
12 {
13         destroy();
14 }
15
16 bool ShaderVK::create(char *buf, unsigned int bsz, const char *fname)
17 {
18         return true;
19 }
20
21 bool ShaderVK::load(const char *fname, SType type)
22 {
23         return true;
24 }
25
26 void ShaderVK::destroy()
27 {
28 }
29
30 ShaderProgramVK::ShaderProgramVK()
31 {
32 }
33
34 ShaderProgramVK::~ShaderProgramVK()
35 {
36 }
37
38 bool ShaderProgramVK::create()
39 {
40         return true;
41 }
42
43 bool ShaderProgramVK::link()
44 {
45         return true;
46 }
47
48 bool ShaderProgramVK::use() const
49 {
50         return true;
51 }
52
53 void ShaderProgramVK::destroy()
54 {
55 }
56
57 void ShaderProgramVK::attach_shader(Shader *shader)
58 {
59 }
60
61 int ShaderProgramVK::get_uniform_location(const char *name) const
62 {
63         return 0;
64 }
65
66 void ShaderProgramVK::set_uniformi(int location, int value)
67 {
68 }
69
70 void ShaderProgramVK::set_uniformi(int location, int x, int y)
71 {
72 }
73
74 void ShaderProgramVK::set_uniformi(int location, int x, int y, int z)
75 {
76 }
77
78 void ShaderProgramVK::set_uniformi(int location, int x, int y, int z, int w)
79 {
80 }
81
82
83 void ShaderProgramVK::set_uniformf(int location, float value)
84 {
85 }
86
87 void ShaderProgramVK::set_uniformf(int location, float x, float y)
88 {
89 }
90
91 void ShaderProgramVK::set_uniformf(int location, float x, float y, float z)
92 {
93 }
94
95 void ShaderProgramVK::set_uniformf(int location, float x, float y, float z, float w)
96 {
97 }
98
99 void ShaderProgramVK::set_uniform_matrix(int location, const Mat4 &mat)
100 {
101 }