Preserve integer bits in typed buffer stores #109
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!109
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-109"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-27 01:33 UTC · original
TaynanGT:fix/typed-integer-store-nan-guard→main· +72 −9 · 3 files · 1 commits · merged 2026-11-27 02:28 UTCChanges
Typed buffer stores currently run their values through the floating-point NaN guard even when the destination has an integer format. The guard can change a valid integer with bits such as
0x7fc00000or0x7f800000.The translator now uses the existing descriptor view-kind metadata for typed buffer stores. Integer views receive the original bits and float views keep NaN and infinity handling. The translator cache version advances to 4 so a normal cached launch can pick up the corrected DXIL.
Validation
git diff --check. The Windows workflow passed Clippy, the default test suite and the diagnostics suite. The new typed-store test and both adjacent typed-load and d16 regressions are reported as passing in the default job.Follow-up to the original review on #27.