summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-17 13:24:56 +0100
committerskal <pascal.massimino@gmail.com>2026-02-17 13:24:56 +0100
commite3f0b002c0998c8553e782273b254869107ffc0f (patch)
treee1e5f8a6c5d119e7764d8d7a43b43bc0c65f4e78 /tools
parentbdb1a4e95a545f3f4d88630b8aec6ab771776d99 (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.cc2
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));