diff options
| author | nonverifiedperson <8898330+nonverifiedperson@users.noreply.github.com> | 2026-11-22 18:27:10 +0100 |
|---|---|---|
| committer | nonverifiedperson <8898330+nonverifiedperson@users.noreply.github.com> | 2026-11-22 18:27:10 +0100 |
| commit | c15761b8cccb48d91cede3e7fcb95d1618067816 (patch) | |
| tree | 574759f4bc9d6a8cc3d8011968e1435320a80dba /runtime/shims/gameinput.cpp | |
| parent | 49475796c226c8511b9470bf97a4daf57b8af323 (diff) | |
SHADER-430: measure the v_interp ALU ops on gfx1036; p2_f16 keeps vdst's high half
tools/interp_hw_probe.py runs v_interp_* in a compute wave through tools/hw_oracle (the ops read the
attribute words from LDS at M0) and checks them against exact models: p1/p2_f32 and p1ll_f16 are single
fmas rounded to f32, p2_f16 rounds once straight to f16 (30 discriminating ties), and a 32-bit read of a
packed channel takes the raw words as f32. f32 denormal words follow MODE. All 292,474 checks match per
mode on a Radeon gfx1036 iGPU.
v_interp_p2_f16 keeps the high 16 bits of vdst on hardware; the translator zeroed them. It now writes
the low half only (write_lo16), with a semantic test that fails on the old code.
The SPI half (what a real draw writes into LDS for a packed channel) stays unverified; it needs a
pixel-shader harness.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/gameinput.cpp')
0 files changed, 0 insertions, 0 deletions