Blender Git Commit Log

Git Commits -> Revision e76dd30

February 20, 2020, 12:00 (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: e76dd30c8ab0615f689dc751aafe26498d76531b
Parent Commit: 978d430
Committed By: Julian Eisel
Lines Changed: +6, -2

1 Modified Path:

/source/blender/gpu/intern/gpu_batch.c (+6, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021