This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/opengl
Kévin Dietrich 214a56ce8c 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
2021-12-18 00:55:54 +01:00
..
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-07-26 12:32:42 +10:00
2021-07-07 13:42:46 +10:00
2021-05-06 08:09:05 +10:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00