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:
Diffstat (limited to 'source/blender/gpu/opengl/gl_context.hh')
-rw-r--r--source/blender/gpu/opengl/gl_context.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_context.hh b/source/blender/gpu/opengl/gl_context.hh
index 99076fa3d1e..fa1c6b9918e 100644
--- a/source/blender/gpu/opengl/gl_context.hh
+++ b/source/blender/gpu/opengl/gl_context.hh
@@ -52,6 +52,10 @@ class GLSharedOrphanLists {
};
class GLContext : public GPUContext {
+ public:
+ /** Used for debugging purpose. Bitflags of all bound slots. */
+ uint16_t bound_ubo_slots;
+
/* TODO(fclem) these needs to become private. */
public:
/** VBO for missing vertex attrib binding. Avoid undefined behavior on some implementation. */