summaryrefslogtreecommitdiff
path: root/assets/common/shaders/math/common_utils.wgsl
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-11 07:16:51 +0100
committerskal <pascal.massimino@gmail.com>2026-02-11 07:16:51 +0100
commitbadf6907dd071afa7a5438fdf575d73c4c417e3f (patch)
treeff2627cdf3201333a6127b6108c0caa3ce606048 /assets/common/shaders/math/common_utils.wgsl
parentd594609420b3d0ca43d760ff043b3750e2be55ca (diff)
debug: Add shader load verification and GPU sync to CNN test tool
Debug additions: - Print loaded shader size (confirms assets work: 2274 bytes) - Add wgpuDevicePoll after each layer for GPU sync - Verify shader loading with null/empty checks Findings: - Shader loads correctly (2274 bytes) - GPU commands execute without validation errors - Pipeline compiles successfully - Output remains all-black despite correct architecture Likely causes: - Render setup differs from demo's CNNEffect - Possible issue with bind group bindings - Fragment shader may not be executing - Texture sampling might be failing Next steps: - Create minimal solid-color render test - Compare bind group setup with working CNNEffect - Add fragment shader debug output (if possible) - Test with demo's CNN effect to verify weights/shader work Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'assets/common/shaders/math/common_utils.wgsl')
0 files changed, 0 insertions, 0 deletions