... | ... |
@@ -2,6 +2,7 @@ |
2 | 2 |
|
3 | 3 |
|
4 | 4 |
#extension GL_ARB_shading_language_include : require |
5 |
+#extension GL_ARB_uniform_buffer_object : require |
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
#include "all_green.h" |
... | ... |
@@ -9,6 +10,10 @@ |
9 | 10 |
|
10 | 11 |
uniform float blue; |
11 | 12 |
uniform vec4 color; |
13 |
+layout(std140) uniform small |
|
14 |
+{ |
|
15 |
+ vec4 value1; |
|
16 |
+}; |
|
12 | 17 |
|
13 | 18 |
|
14 | 19 |
void main() |