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:
authorClément Foucault <foucault.clem@gmail.com>2020-09-01 03:41:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-01 13:03:52 +0300
commit53a806f6dffb2a778e383a82c3d0cdb6e9d9d552 (patch)
tree3bfc9bb0d705a1c198c19b62fe134bda525e51ad /source/blender/gpu/opengl/gl_shader_interface.hh
parent5ec0250df9d8cf44d099e5b6fffca99bf9cf0c46 (diff)
GPU: Move UBO binding validation to GL backend
This also make the validation quicker by tracking the currently bound slots.
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader_interface.hh')
-rw-r--r--source/blender/gpu/opengl/gl_shader_interface.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpu/opengl/gl_shader_interface.hh b/source/blender/gpu/opengl/gl_shader_interface.hh
index 0b9585aa389..8cac84a5990 100644
--- a/source/blender/gpu/opengl/gl_shader_interface.hh
+++ b/source/blender/gpu/opengl/gl_shader_interface.hh
@@ -55,8 +55,6 @@ class GLShaderInterface : public ShaderInterface {
void ref_add(GLVaoCache *ref);
void ref_remove(GLVaoCache *ref);
- // bool resource_binding_validate();
-
MEM_CXX_CLASS_ALLOC_FUNCS("GLShaderInterface");
};