upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorabilliontokens <39147239+abilliontokens@users.noreply.github.com>2026-11-22 01:09:58 -0800
committerabilliontokens <39147239+abilliontokens@users.noreply.github.com>2026-11-22 01:41:37 -0800
commit5b67ae08150fc304a63ff34edf8a60c514440bd7 (patch)
tree13bc450077431440ff8f7aba57ab38a20fa6bae8 /runtime/src/thread_stacks.cpp
parente7584c5207e44ed51472e6aa05c781f39ea975f6 (diff)
Tools+docs: decode PS interpolation modes from PSV0 and census the corpus (SHADER-181)
No FSSM word stores SPI_PS_INPUT_ENA/ADDR (u16 scan of 0x00-0x138 over all 12,101 PS against the signature-reconstructed value). tools/ps_interp_modes.py decodes the mode from the DXBC PSV0 input elements (DXIL::InterpolationMode, mapped to the SPI_PS_INPUT_ENA pair bits per Mesa gfx103.json), cross-checks the FSSM table flags (read-method bits 0/1/3/4) and the disassembly I/J operands, and runs a census: all generic inputs are Constant or perspective-centre Linear (zero centroid/sample/noperspective); SV_Position is noperspective by D3D rule, interpolated through the parameter cache in only 4 PS; every shader reads a single barycentric pair (v0/v1, one v14 copy). 23 synthetic tests; decoder+census only, no translator change.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions