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:15:18 -0800
committerabilliontokens <39147239+abilliontokens@users.noreply.github.com>2026-11-22 01:15:18 -0800
commit5aa659ee0b66f64de6fcd921297847d5293c9b81 (patch)
tree56434d096115926293ce9c12708e34dc0ed31464 /runtime/src/thread_stacks.cpp
parent741bc05cbccac2866be8b86403097faac642f6c3 (diff)
parent426023a585b47ba04509d5f3e5e52d6ae40e1109 (diff)
Merge origin/main into interp-guards: compose with #1214's f16 high-half model
Conflicts resolved: - tools/rdna2spirv.py: kept interp_pair_src ahead of the *_f16 interp's attribute() call and took main's attribute(..., half=...) with its PerVertexKHR docstring (quackottu's #1214 high model, on main as 98f485f4): the I/J source guard and the high-half attribute read are orthogonal — the guard checks the barycentric VGPR source, `high` selects the attribute half. Both methods kept side by side. - docs/design.md: kept our SHADER-177 contract row and main's updated Pixel-shader interpolants row (both rows; main's adds #1214's 16-bit-interpolation parenthetical). Also addresses review on #1224 (kapitche, Vonsek): - per-op I/J roles: v_interp_p1* must read I (v0 or a copy rooted at v0), v_interp_p2* must read J (v1 or a copy rooted at v1); swapped p1(v1)/p2(v0) and both-v0 pairs are now refused. interp_copy_sources tracks each copy chain's root; refusals name the register and the role. - copy-source provenance (Vonsek measurement row 3): a copy only qualifies while its source v0/v1 is itself unwritten up to the copy — a copy of an overwritten v0/v1 carries a computed value, not the pair; a write after the copy is fine (the copy saved the value; the corpus's one copy PS, 7PS_RasterizeWaterVolumeExposedSurface_d0369bb7, is exactly this shape and stays byte-identical). - tests/semantic/test_interp_guards.py: 5 new tests mirroring the measurement rows and the role/root rules (now 14). Direct v0/v1 reads after an overwrite stay accepted — modelling that computed barycentric is the separate provenance follow-up (#1218). Verified: semantic suite 1153 OK; 200-shader corpus slice 200/200 translated + spirv-val, all 419 output files byte-identical to current main (426023a5); the copy PS byte-identical to main.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions