From 161a59fa50bb92e3664c389fa03b95aefe349b3f Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 15 Feb 2026 18:44:17 +0100 Subject: refactor(cnn): isolate CNN v2 to cnn_v2/ subdirectory Move all CNN v2 files to dedicated cnn_v2/ directory to prepare for CNN v3 development. Zero functional changes. Structure: - cnn_v2/src/ - C++ effect implementation - cnn_v2/shaders/ - WGSL shaders (6 files) - cnn_v2/weights/ - Binary weights (3 files) - cnn_v2/training/ - Python training scripts (4 files) - cnn_v2/scripts/ - Shell scripts (train_cnn_v2_full.sh) - cnn_v2/tools/ - Validation tools (HTML) - cnn_v2/docs/ - Documentation (4 markdown files) Changes: - Update CMake source list to cnn_v2/src/cnn_v2_effect.cc - Update assets.txt with relative paths to cnn_v2/ - Update includes to ../../cnn_v2/src/cnn_v2_effect.h - Add PROJECT_ROOT resolution to Python/shell scripts - Update doc references in HOWTO.md, TODO.md - Add cnn_v2/README.md Verification: 34/34 tests passing, demo runs correctly. Co-Authored-By: Claude Sonnet 4.5 --- src/gpu/demo_effects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu') diff --git a/src/gpu/demo_effects.h b/src/gpu/demo_effects.h index d4df20b..60ca581 100644 --- a/src/gpu/demo_effects.h +++ b/src/gpu/demo_effects.h @@ -19,7 +19,7 @@ #include "effects/chroma_aberration_effect.h" #include "effects/circle_mask_effect.h" #include "effects/cnn_effect.h" -#include "effects/cnn_v2_effect.h" +#include "../../cnn_v2/src/cnn_v2_effect.h" #include "effects/distort_effect.h" #include "effects/fade_effect.h" #include "effects/flash_cube_effect.h" -- cgit v1.2.3