Description
Part of #870. Found in local runs of the application, native shaders only. Related: #3527, #3532, #1629, #3385.
Finding. One fixed slot 57 pipeline, a full-screen pass into one R8G8B8A8_UNORM target, gets no native pipeline.
It writes the 3840×2160 layer the final composite samples. Without it the layer is never redrawn, so earlier frames
persist on screen (stale render target). The published translation of the same pipeline draws it.
- Native-only key
05dc00b8b79c1d4b; the published path reuses the plain key7b25dcce8b9a69e8(startup: -NativeShaders stops ordinary direct graphics pipelines from translating (PSI1 key suffix, .ps57in not read by fallback) #3385). - Captured
PSI1:SPI_PS_INPUT_ADDR = 0x8080(bit 15POS_FIXED_PT, and bit 7),NUM_INTERP = 0. - Refused at
src/direct_compute_cache.cpp:729-730(native: admit fixed pixel entries with zero or more than seven interpolants #3527 heada1b10c53):captured interpolation count disagrees with pixel interface, a zero count on a pair that is not exact. An exact pair would stop at:733-737, which
admits zero count only with0x0000or a subset of0x0f00.
| fresh start, 190 s, native shaders only | stale frames on screen | 05dc00b8b79c1d4b |
|---|---|---|
main 44a3ad5a + #3506 #3516 #3464 #3521 #3097 |
yes | refused |
| the same + #3527 | yes | refused |
| the same, only this pipeline from its published translation (local experiment) | no | drawn |
the same build with published translations (-Translate) |
no | drawn (plain key) |
Proposal. Admit a zero-interpolant fixed entry with POS_FIXED_PT (0x8000, here with bit 7) for a pair that is
not exact, with the fixed-point position input the lowering needs (the packed screen-position ABI of #1629), and
keep refusing other unadmitted addresses. A fixture with ADDR 0x8080, NUM_INTERP 0 and a non-exact pair would pin
it. It fits #3527's count and address rules; I noted it there.
RTX 3080 Ti, Windows 10 19045, Agility SDK 1.620, release build. Not reproducible on a source-built input: the
pipeline is the application's own, so the evidence is the keys, the captured registers and the runs above.
This issue was AI-assisted.
Activity
shader: support packed screen position in fixed slot 57 draws
lukaslw-lab commentedon Dec 1, 2026
Fixed by #3601 (merged 30 Nov): fixed slot 57 draws now accept the packed screen position, so this pass (ADDR 0x8080, NUM_INTERP 0) no longer has to be refused natively.