docs: UAV float clears round toward zero, as the code does (DOC-UAV-CLEAR-ROUNDING) #945
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!945
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/945/head"
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?
@TheGeogeo on GitHub · 2026-11-24 15:26 UTC · original
TheGeogeo:docs/uav-clear-rounding→main· +4 −4 · 1 files · 1 commits · merged 2026-11-25 21:26 UTCClaimed in the coordination issue as: DOC-UAV-CLEAR-ROUNDING (#14)
What and why
docs/d3d12_vulkan.md(the UAV clear bullet, about line 325) said the 16-bit and packed 11/10-bit float UAV clears round to nearest even. The code does not.runtime/src/uav_clear.hdocuments and implements round toward zero insmall_float, with a finite value too large becoming the largest finite value (D3D11.3 3.2.2) and infinity staying infinity. This changes only that sentence (and rewraps the lines after it) so the doc matches the code. No code, tests or other text are changed.Tested
python -I -B tests/test_docs_links.py: Ran 16 tests, OK.tests/test_docs_tables.pydoes not exist in the repo, so it was not run.git diff --check: no output, exit 0.python -I scripts/check_no_game_data.py docs/d3d12_vulkan.md: exit 0.docs/d3d12_vulkan.md, rewrapped. No GPU tests were run; this is a documentation-only change.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (Not applicable: no translator rule.)