diff options
author | Germano Cavalcante <mano-wii> | 2021-08-23 15:52:13 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-08-23 19:37:32 +0300 |
commit | ebdae7573618637c60e836bbc00618f65a7a7c4f (patch) | |
tree | 1514432827aa9f55d2e385ba9247c4f067101029 /source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_weights.cc | |
parent | 7d17f2addf80f7ee315b49e0c281562050ee0667 (diff) |
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
Diffstat (limited to 'source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_weights.cc')
0 files changed, 0 insertions, 0 deletions