From b2ede3f0680edc894a54e28374cb87ab2690afa2 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 14:32:59 +0100 Subject: refactor: remove v2 versioning artifacts, establish Sequence as canonical system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete v1→v2 migration cleanup: rename 29 files (sequence_v2→sequence, effect_v2→effect, 14 effect files, 8 shaders, compiler, docs), update all class names and references across 54 files. Archive v1 timeline. System now uses standard naming with all versioning removed. 30/34 tests passing. Co-Authored-By: Claude Sonnet 4.5 --- src/tests/gpu/test_demo_effects.cc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/tests/gpu/test_demo_effects.cc') diff --git a/src/tests/gpu/test_demo_effects.cc b/src/tests/gpu/test_demo_effects.cc index 02aee78..7bba831 100644 --- a/src/tests/gpu/test_demo_effects.cc +++ b/src/tests/gpu/test_demo_effects.cc @@ -14,7 +14,7 @@ #include // Helper: Test v2 effect construction -static int test_effect_v2(const char* name, std::shared_ptr effect) { +static int test_effect(const char* name, std::shared_ptr effect) { fprintf(stdout, " Testing %s...\n", name); if (!effect) { @@ -27,7 +27,7 @@ static int test_effect_v2(const char* name, std::shared_ptr effect) { } // Test all available v2 effects -static void test_v2_effects() { +static void test_effects() { fprintf(stdout, "Testing V2 effects...\n"); WebGPUTestFixture fixture; @@ -36,40 +36,40 @@ static void test_v2_effects() { return; } - std::vector>> effects = { - {"PassthroughEffectV2", - std::make_shared( + std::vector>> effects = { + {"PassthroughEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"GaussianBlurEffectV2", - std::make_shared( + {"GaussianBlurEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"PlaceholderEffectV2", - std::make_shared( + {"PlaceholderEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"HeptagonEffectV2", - std::make_shared( + {"HeptagonEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"ParticlesEffectV2", - std::make_shared( + {"ParticlesEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"RotatingCubeEffectV2", - std::make_shared( + {"RotatingCubeEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, - {"Hybrid3DEffectV2", - std::make_shared( + {"Hybrid3DEffect", + std::make_shared( fixture.ctx(), std::vector{"source"}, std::vector{"sink"})}, }; int passed = 0; for (const auto& [name, effect] : effects) { - passed += test_effect_v2(name, effect); + passed += test_effect(name, effect); } fprintf(stdout, " ✓ %d/%zu V2 effects tested\n", passed, effects.size()); @@ -81,7 +81,7 @@ int main() { extern void InitShaderComposer(); InitShaderComposer(); - test_v2_effects(); + test_effects(); fprintf(stdout, "=== All Tests Passed ===\n"); return 0; -- cgit v1.2.3