ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | LICENSE

Commit: b4e0ee91ef624a6f186f7cd460ff7aabfd7774f3
Parent: 0d08b36ee29ec58043ba3d755a0a8a705f10a96a
Author: Randy Palamar
Date:   Wed, 14 Aug 2024 22:32:26 -0600

update comment based on intel & amd having a separate path

Diffstat:
Mbeamformer.h | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/beamformer.h b/beamformer.h @@ -105,9 +105,11 @@ typedef struct { f32 last_frame_time[CS_LAST]; /* NOTE: the raw_data_ssbo is allocated at 3x the required size to allow for tiled - * transfers when the GPU is running behind the CPU. It is not mapped because NVIDIA's - * drivers _will_ store the buffer in the sytem memory in that case (this doesn't happen - * for Intel or AMD). Instead BufferSubData is used to update the correct subrange */ + * transfers when the GPU is running behind the CPU. It is not mapped on NVIDIA because + * their drivers _will_ store the buffer in the system memory. This doesn't happen + * for Intel or AMD and mapping the buffer is prefered. In either case incoming data can + * be written to the arena at the appropriate offset for the current raw_data_index. An + * additional BufferSubData is needed on NVIDIA to upload the data. */ GLsync raw_data_fences[3]; Arena raw_data_arena; u32 raw_data_ssbo;