Skip to content

GPU Threefry ​

Threefry-4x32-20 in WGSL, bit-exact against the Rust reference

6/6 passed in 27ms

TestWhat it doesResult
test_words_draw_axisA non-zero draw index selects a different block, identically on both.✅ pass
test_words_every_stageThe GPU and CPU words agree for each of the five noise stages.✅ pass
test_words_high_counterCounters past 2^32 match, exercising the counter's high word.✅ pass
test_words_index_pureA word depends only on its counter, not on how many were asked for.✅ pass
test_words_match_referenceThe GPU's Threefry blocks equal the CPU's exactly over 4096 counters.✅ pass
test_words_seeds_differTwo seeds give different words.✅ pass