diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-11 07:48:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-11 07:48:56 +0100 |
| commit | 6d64674f7e3d00a9d18ec61eaf968ed37c8e849b (patch) | |
| tree | 4fcffcc28b866daa61543f48a8c3e76fed982951 /training/ground_truth.png | |
| parent | badf6907dd071afa7a5438fdf575d73c4c417e3f (diff) | |
fix: CNN test tool GPU readback with wgpuDevicePoll
Fixed buffer mapping callback mode mismatch causing Unknown status.
Changed from WaitAnyOnly+ProcessEvents to AllowProcessEvents+DevicePoll.
Readback now functional but CNN output incorrect (all white).
Issue isolated to tool-specific binding/uniform setup - CNNEffect
in demo works correctly.
Technical details:
- WGPUCallbackMode_WaitAnyOnly requires wgpuInstanceWaitAny
- Using wgpuInstanceProcessEvents with WaitAnyOnly never fires callback
- Fixed by using AllowProcessEvents mode + wgpuDevicePoll
- Removed debug output and platform warnings
Status: 36/36 tests pass, readback works, CNN shader issue remains.
handoff(Claude): CNN test tool readback fixed, output debugging needed
Diffstat (limited to 'training/ground_truth.png')
0 files changed, 0 insertions, 0 deletions
