a96aabc6f65f463ebd74f7b437d58385625973fa
After previous changes to allow command buffers to not require execution and completion in submission order, guarantees for releasing freed buffers back to the memory pool within the frame life time had changed. This could mean a released buffer could be returned to the memory pool prematurely, if a subsequent command buffer completes before a previously submitted one, flagging a resource as no longer in use by the GPU, while it still may be in use by the orignal command buffer. This PR defers final reference count release for buffers being actively used until the following call to GPU_render_step, to ensure that buffers freed will be available for the lifetime of the frame, covering all command submissions, rather than just within the lifetime of the command buffer submission within which a buffer was freed. Authored by Apple: Michael Parkin-White Pull Request: https://projects.blender.org/blender/blender/pulls/114329
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
