Fix fallback path to read ripple_amplitude from dynamic_params
Some checks are pending
GPU Worker CI/CD / test (push) Waiting to run
GPU Worker CI/CD / deploy (push) Blocked by required conditions

The Python fallback path was reading amplitude directly from effect dict
instead of checking dynamic_params first like the CUDA kernel path does.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-04 12:11:27 +00:00
parent 949d716d9a
commit 180d6a874e

View File

@@ -918,7 +918,7 @@ def prim_fused_pipeline(img, effects_list, **dynamic_params):
result = gpu_hue_shift(result, degrees)
elif op == 'ripple':
result = gpu_ripple(result,
amplitude=effect.get('amplitude', 10),
amplitude=dynamic_params.get('ripple_amplitude', effect.get('amplitude', 10)),
frequency=effect.get('frequency', 8),
decay=effect.get('decay', 2),
phase=dynamic_params.get('ripple_phase', effect.get('phase', 0)),