diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 19:51:14 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 19:51:14 +0100 |
| commit | edd549e1527444ae9c74c70f1e3e44b11862f3da (patch) | |
| tree | ba9a6989b1b2a5ada64720db716b6e593a77e709 /src/3d/bvh.h | |
| parent | a7340d378909cadbfd72dbd1f5b756f907c2a3e0 (diff) | |
CNN test tool: Add CNN v2 support with compute shader architecture
Implement full CNN v2 support for offline validation:
- Add --cnn-version flag (1=render pipeline, 2=compute shader)
- Load binary weights from storage buffer (~3-5 KB)
- Static features compute pass (7D: RGBD + UV + sin + bias)
- Dynamic layer count from binary header
- RGBA32Uint texture readback with f16→u8 conversion
- Custom f16 decoder (handles denormals, infinity, NaN)
Status:
- CNN v1: Produces incorrect output (all white)
- CNN v2: ✅ Fully functional, matches CNNv2Effect
Updated docs:
- doc/CNN_TEST_TOOL.md: Architecture, usage, validation workflow
- doc/HOWTO.md: Recommend v2 for validation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/3d/bvh.h')
0 files changed, 0 insertions, 0 deletions
