diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-09 14:01:28 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-09 14:01:28 +0100 |
| commit | dd41b296f9299ce1269005452d5db8d2854ac61b (patch) | |
| tree | bfb83a07bad430a5987e39d67d0c6d16dca47589 /src/test_demo.cc | |
| parent | 744bcadfe8f4bb1b2d4f1daf9f880fa511d65405 (diff) | |
fix(3d): VisualDebug uniform buffer size mismatch
Fixed validation error in test_3d_render:
- Uniform buffer was 64 bytes (mat4) but bind group expected 176 bytes (GlobalUniforms)
- Updated buffer creation to use sizeof(GlobalUniforms)
- Updated bind group entry size to match
- Updated update_buffers to write full GlobalUniforms struct
Error was:
Binding size 64 of Buffer with '' label is less than minimum 176
Root cause: VisualDebug uses same GlobalUniforms structure as main renderer
but was only allocating/binding mat4 portion.
Testing:
- All 34 tests passing (100%)
- test_3d_render runs without validation errors
- GPU procedural textures working (noise, perlin, grid)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/test_demo.cc')
0 files changed, 0 insertions, 0 deletions
