shader: combine mesh f16 mixlo/mixhi halves #3762
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-12-01T16:57:10Z.
A 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 #3497