diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-18 20:19:12 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-18 20:20:00 +0300 |
commit | 77619f527403608a349b3037d18f71893d4484d1 (patch) | |
tree | e62f7c366a858a0a8e0202419734d5ae3355d1db /source/blender/makesdna/DNA_scene_types.h | |
parent | 56d6666689f7027126e8c115d01564810d1ae1bb (diff) |
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.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
0 files changed, 0 insertions, 0 deletions