shader: combine mesh f16 mixlo/mixhi halves #3764
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3764
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3762"
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?
@lambirou on GitHub · 2026-12-01 16:57 UTC · original
lambirou:codex/mesh-f16-mix→main· +29 −1 · 2 files · 1 commits · merged 2026-12-01 17:07 UTCA real slot 57 mesh request (
req_72e1909e13df6f66, MS 3072, PS 4608, root 5724 bytes) still refused at+0x7c0withunproven mesh entry register 287. The program writes both halves ofv31:v_fma_mixlo_f16 v31, s81, v18, v30at+0x79cv_fma_mixhi_f16 v31, s82, v18, v15at+0x7b8and then reads the whole word. The mesh stage only tracked half-writes when
layout.texture_heap_slot_mapwas set, so each instruction left the value marked partial and the whole-word read refused.This enables
graphics_half_writesfor every mesh stage. The existingDirectComputebookkeeping already merges the two halves when both are written; a lone half still refuses a whole-word read, which the new negative control covers.Validation (Windows, Release, DXC 10.0.26100):
python -B tests/native_direct_mesh_check.py out\build\release\compile_dxil.exe "<DXC dir>"- pass, includingmesh-mixed-half-pair(both halves throughlegacyF32ToF16andor i32, exported) andmesh-mixed-half-single(refused, register 276 undefined).ctest --preset release --no-tests=error -R '^native_direct'- 2/2 passed (native_direct_container,native_direct_mesh).Counts only; request bytes stay local.
Refs #3499
github-bot referenced this pull request2026-12-01 23:59:37 +00:00