Blender Git Loki
Git Commits -> Revision 8dde1e1
Revision 8dde1e1 by Sergey Sharybin (master) September 11, 2018, 12:45 (GMT) |
FIx/workaround wrong number of primitives in PBVG grid buffers Nodes can have different number of grids, so can not so simply re-use index buffer across nodes. For now allow re-using buffer if number of grids matches. The issue is, number of grids is probably almost never matches, so in order to have this optimization working need more tricks. Maybe we can "instance" index buffers? |
Commit Details:
Full Hash: 8dde1e13e26b78295e112fccac0b2c4dfbd42e3c
Parent Commit: 7951adf
Lines Changed: +4, -1
1 Modified Path:
/source/blender/gpu/intern/gpu_buffers.c (+4, -1) (Diff)