Blender Git Loki
Git Commits -> Revision 77619f5
Revision 77619f5 by Clément Foucault (master) February 18, 2020, 17:20 (GMT) |
GPU: Fix huge performance regression regarding instancing Under some circumstances, MultiDrawIndirect was disabled to improve perf. of average scene. But this conflicted with the normal instancing buffer filling if only 1 or 2 instances were needed to fill the buffer. All consecutive drawcalls could not be batched together and performance would degrade rapidly. This patch make my instance test scene go from 11fps back to 40fps where it should have been. |
Commit Details:
Full Hash: 77619f527403608a349b3037d18f71893d4484d1
Parent Commit: 56d6666
Lines Changed: +6, -2
1 Modified Path:
/source/blender/gpu/intern/gpu_batch.c (+6, -2) (Diff)