Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-07-07 17:49:04 +0300
committerJeroen Bakker <jeroen@blender.org>2021-07-07 17:49:04 +0300
commit8ff67b51d17288fcd13e1e86ae7027d2bd43ef08 (patch)
tree8c3148196d26c3cc894274462f189abc6cc07acb /source/blender/gpu/opengl/gl_shader_interface.hh
parent9f7bca255ecd227a4ac3fa0bdf38087e5467deb0 (diff)
Added uniform builtin struct to shader.
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader_interface.hh')
-rw-r--r--source/blender/gpu/opengl/gl_shader_interface.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader_interface.hh b/source/blender/gpu/opengl/gl_shader_interface.hh
index 89a5b631047..5125c885cc5 100644
--- a/source/blender/gpu/opengl/gl_shader_interface.hh
+++ b/source/blender/gpu/opengl/gl_shader_interface.hh
@@ -35,6 +35,7 @@
#include "glew-mx.h"
#include "gpu_shader_interface.hh"
+#include "gpu_uniform_buffer_private.hh"
namespace blender::gpu {
@@ -49,7 +50,7 @@ class GLShaderInterface : public ShaderInterface {
Vector<GLVaoCache *> refs_;
public:
- GLShaderInterface(GLuint program);
+ GLShaderInterface(const UniformBuiltinStructType *type_info, GLuint program);
~GLShaderInterface();
void ref_add(GLVaoCache *ref);