diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 13:24:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 13:24:56 +0100 |
| commit | e3f0b002c0998c8553e782273b254869107ffc0f (patch) | |
| tree | e1e5f8a6c5d119e7764d8d7a43b43bc0c65f4e78 /tools | |
| parent | bdb1a4e95a545f3f4d88630b8aec6ab771776d99 (diff) | |
feat(uniforms): Add noise field with per-frame random values
Replace _pad with noise field in UniformsSequenceParams, providing
effects with non-deterministic random values [0..1] updated each frame.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cnn_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cnn_test.cc b/tools/cnn_test.cc index 5694a62..1262021 100644 --- a/tools/cnn_test.cc +++ b/tools/cnn_test.cc @@ -1391,7 +1391,7 @@ int main(int argc, char** argv) { .beat_time = 0.0f, .beat_phase = 0.0f, .audio_intensity = 0.0f, - ._pad = 0.0f, + .noise = 0.0f, }; wgpuQueueWriteBuffer(queue, common_uniform_buffer, 0, &common_u, sizeof(common_u)); |
