Preserve integer bits in typed buffer stores #109
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T01:33:56Z.
Changes
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.