Blender Git Loki
Git Commits -> Revision c3002d5
Revision c3002d5 by Clément Foucault (tmp-batch-cache-cleanup) July 23, 2019, 18:02 (GMT) |
Mesh Batch Cache: Fix threading issue with element buffer objects Some elements indices can be written by multiple thread at once and since setting an element is only garantee to be atomic for single verts, we cannot reliably use GPU_indexbuf_set_line_* in this case. To avoid this, we create another iteration for the problematic IBOs |
Commit Details:
Full Hash: c3002d51f5255dc8ec03ebc60a43e1d112b4bcf0
Parent Commit: c4b27eb
Lines Changed: +120, -91
1 Modified Path:
/source/blender/draw/intern/draw_cache_impl_mesh.c (+120, -91) (Diff)