From e3f0b002c0998c8553e782273b254869107ffc0f Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 17 Feb 2026 13:24:56 +0100 Subject: 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 --- tools/cnn_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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)); -- cgit v1.2.3