[Bf-blender-cvs] [6b7160ed3bd] tmp-workbench-rewrite2: Fix GPU debug groups
Miguel Pozo
noreply at git.blender.org
Tue Dec 20 16:38:16 CET 2022
Commit: 6b7160ed3bdd4abdad00cf443eb13c93cad5d01f
Author: Miguel Pozo
Date: Tue Dec 20 16:30:05 2022 +0100
Branches: tmp-workbench-rewrite2
https://developer.blender.org/rB6b7160ed3bdd4abdad00cf443eb13c93cad5d01f
Fix GPU debug groups
===================================================================
M source/blender/draw/engines/workbench/workbench_shadow.cc
===================================================================
diff --git a/source/blender/draw/engines/workbench/workbench_shadow.cc b/source/blender/draw/engines/workbench/workbench_shadow.cc
index e82f032db8e..0259233cb9f 100644
--- a/source/blender/draw/engines/workbench/workbench_shadow.cc
+++ b/source/blender/draw/engines/workbench/workbench_shadow.cc
@@ -223,6 +223,7 @@ void ShadowPass::ShadowView::compute_visibility(ObjectBoundsBuf &bounds,
}
else if (current_pass_type_ == ShadowPass::Fail) {
/* Already computed in the ShadowPass::Pass */
+ GPU_debug_group_end();
return;
}
else {
More information about the Bf-blender-cvs
mailing list