Blender Git Commit Log
Git Commits -> Revision 214a56c
Revision 214a56c by Kévin Dietrich (master) December 17, 2021, 23:55 (GMT) |
GPU: add memory barriers for vertex and index buffers This adds memory barriers to use with `GPU_memory_barrier` to ensure that writes to a vertex or index buffer issued before the barrier are completed after it, so they can be safely read later by another shader. `GPU_BARRIER_VERTEX_ATTRIB_ARRAY` should be used for vertex buffers (`GPUVertBuf`), and `GPU_BARRIER_ELEMENT_ARRAY` should be used for index buffers (`GPUIndexBuf`). Reviewed By: fclem Differential Revision: https://developer.blender.org/D13595 |
Commit Details:
Full Hash: 214a56ce8c67bb7a3af45aaafca8aa4a5ec85129
Parent Commit: 8e31e53
Lines Changed: +9, -1