upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/vulkan_aftermath.cpp
diff options
context:
space:
mode:
authorTreXito <81475944+TreXito@users.noreply.github.com>2026-11-23 05:07:49 +0000
committerTreXito <81475944+TreXito@users.noreply.github.com>2026-11-23 12:00:23 +0000
commite0d91d0b331799de099794b9fb844772ad8796d3 (patch)
tree50d88c9771c01e465e56af388e3ada50ada2a9a4 /runtime/src/vulkan_aftermath.cpp
parent561b65a832218fbb9e6d2effd392a8eef093a3f8 (diff)
tools/cvt_diff.py: differential fuzzer for the rounding and normalizing conversions (FUZZ-58)
No fuzzer generated v_cvt_flr_i32_f32, v_cvt_rpi_i32_f32, v_cvt_norm_{i16,u16}_f16 or v_cvt_pknorm_{i16,u16}_{f32,f16}. cvt_diff.py runs them with every source kind and modifier the translator takes, and compares the translation (run in spirv_mini_interp) with a reference in exact rationals, bit for bit. Stages: a source and modifier sweep, an edge grid that holds every f16 near tie, seeded random programs, and --exhaustive-f16 over all 65,536 halves. tests/test_cvt_diff.py pins the reference to the measured words and checks the generator and a wrong-translation canary. docs/shader_validation.md gets a subsection with the results. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions