Blender Git Commit Log
Git Commits -> Revision ebdae75
Revision ebdae75 by Germano Cavalcante (master) August 23, 2021, 16:37 (GMT) |
Cleanup: Move 'tris_per_mat' member out of 'MeshBufferCache' `MeshBufferCache` is a struct representing a list of buffers. As such, `GPUIndexBuf **tris_per_mat` is out of place as it does not represent one of the buffers in the list. In fact this member should be close to `GPUBatch **surface_per_mat` as they are related. The code for dependencies between buffer and batch had to be reworked as it relies on the member's position. Differential Revision: https://developer.blender.org/D12227 |
Commit Details:
Full Hash: ebdae7573618637c60e836bbc00618f65a7a7c4f
Parent Commit: 7d17f2a
Lines Changed: +165, -159