summaryrefslogtreecommitdiff
path: root/doc/COMPLETED.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/COMPLETED.md')
-rw-r--r--doc/COMPLETED.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/COMPLETED.md b/doc/COMPLETED.md
index 2336f62..67f223d 100644
--- a/doc/COMPLETED.md
+++ b/doc/COMPLETED.md
@@ -29,6 +29,26 @@ Detailed historical documents have been moved to `doc/archive/` for reference:
Use `read @doc/archive/FILENAME.md` to access archived documents.
+## Recently Completed (February 11, 2026)
+
+- [x] **CNN Shader Testing Tool**
+ - **Goal**: Offline validation of trained CNN shaders with GPU-to-CPU readback
+ - **Implementation**:
+ - Core utility: `src/gpu/texture_readback.{h,cc}` - reusable synchronous texture readback (~150 lines)
+ - Standalone tool: `tools/cnn_test.cc` - PNG input → 3-layer CNN → PNG/PPM output (~450 lines)
+ - Refactored `OffscreenRenderTarget` to use new utility (eliminated 100 lines duplication)
+ - STRIP_ALL guards: 0 bytes in release builds
+ - **Features**:
+ - Loads PNG, processes through full 3-layer CNN, saves output
+ - `--blend` parameter (0.0-1.0) for final layer mixing
+ - `--format` option (png/ppm) for output format
+ - Automatic shader include resolution via ShaderComposer
+ - **Result**:
+ - All 36 tests pass (100%)
+ - Processes 64×64 test image successfully
+ - Ready for ground-truth validation vs Python training script
+ - Documented in `doc/CNN_TEST_TOOL.md`
+
## Recently Completed (February 10, 2026)
- [x] **WGPU Boilerplate Factorization**