From 7041babc9e5333d01191f3eb80fd711bd26cd4f7 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 17 Feb 2026 08:46:01 +0100 Subject: feat: add time-based effect activation with auto-passthrough Effects now accept start/end time parameters and automatically passthrough when inactive. Implements buffer chain integrity via compile-time validation. - Effect base class: dispatch_render() checks time bounds, auto-passthroughs 1:1 input/output effects outside [start, end] interval - seq_compiler.py: validates producer/consumer lifespan constraints for multi-output effects, adds --validate flag, always validates before codegen - Updated all 9 effect classes and test fixtures to pass start/end times - check_all.sh: includes timeline validation step - Tests: 34/34 passing, demo runs successfully Co-Authored-By: Claude Sonnet 4.5 --- src/tests/gpu/test_sequence_e2e.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/gpu/test_sequence_e2e.cc') diff --git a/src/tests/gpu/test_sequence_e2e.cc b/src/tests/gpu/test_sequence_e2e.cc index ed8920a..5d59e0d 100644 --- a/src/tests/gpu/test_sequence_e2e.cc +++ b/src/tests/gpu/test_sequence_e2e.cc @@ -23,13 +23,13 @@ class SimpleTestSequence : public Sequence { // Effect DAG construction (2 effects: source->temp->sink) effect_dag_.push_back({.effect = std::make_shared( ctx, std::vector{"source"}, - std::vector{"temp"}), + std::vector{"temp"}, 0.0f, 1000.0f), .input_nodes = {"source"}, .output_nodes = {"temp"}, .execution_order = 0}); effect_dag_.push_back({.effect = std::make_shared( ctx, std::vector{"temp"}, - std::vector{"sink"}), + std::vector{"sink"}, 0.0f, 1000.0f), .input_nodes = {"temp"}, .output_nodes = {"sink"}, .execution_order = 1}); -- cgit v1.2.3