ogl_beamforming

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

Commit: f8cd8d4d57af9141aca4fcb9bc059c2b6dd0e95a
Parent: b7655d49b9f84c14c5b7055305091f2771be2fca
Author: Randy Palamar
Date:   Mon,  3 Nov 2025 13:42:31 -0700

shaders/filter: don't zero first data sample of a transmit

this makes essentially no difference but for the sake of
correctness it is fixed

Diffstat:
Mshaders/filter.glsl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shaders/filter.glsl b/shaders/filter.glsl @@ -84,7 +84,7 @@ void main() const float scale = bool(ComplexFilter) ? 1 : sqrt(2); for (uint i = 0; i < samples_this_thread; i++) { uint index = thread_count * i + thread_index; - if (gl_WorkGroupID.x == 0 && index < FilterLength) { + if (gl_WorkGroupID.x == 0 && index < FilterLength - 1) { rf[index] = SAMPLE_TYPE(0); } else { #if Demodulate