startup: create committed upload and readback resources in their required initial states #1894
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1901"
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 lukaslw-lab on 2026-11-24T20:41:14Z.
AI-assisted (Claude Code).
Change
Device slot 127 (
device_create_committed_x) now passesGENERIC_READfor an upload heap andCOPY_DESTfor a readback heap; other heaps keepCOMMON. The Windows 10 runtime refusesCOMMONthere withE_INVALIDARG. Fixes #1900. Refs #870.Verification
mainat4c5afa8e+ this branch, Windows 10 22H2 (19045), RTX 3080 Ti driver 32.0.16.1047, WARP in-box, debug layer off.startup_committed_heap_state_warp0x80070057startup_committed_heap_state_hardwarestartup_committed_heap_state_upload_texture_control(WILL_FAIL)Affected areas,
devandrelease(full build of each preset):15/15 passed in each preset, 0 failed. Of those, 2 are capability skips (77):
startup_root_heap_warpand_hardware, because the Windows 10 runtime rejects the heap-indexing root flags (#1277); not related to this change.Evidence and follow-up
tests/startup_committed_heap_state_check.cpp, source-built: default, upload (150 x 768 and 320 x 768 bytes, sizes seen in a startup run) and readback buffers through slot 127, as a title passes them. It prints what the runtime does withCOMMONon an upload buffer: refused on Windows 10; a newer runtime that accepts it still passes.main'sd3d12_xs_device.cpp(the change reverted locally): it fails on Windows 10 only, because newer runtimes acceptCOMMON.Checklist
🤖 Generated with Claude Code