cpu: load the app-local WARP in the mapped shim host #1101
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1108"
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 archielcqp-a11y on 2026-11-24T01:08:35Z.
Change
The
pe_maprun of the shim tests hosts the EXE inpython.exe, so DXGI does not find an app-locald3d10warp.dll(OFFSCREEN_WARP_DIR) beside the native EXE and falls back to the in-box WARP.tests/cpu/shim_startup_check.py --mapnow loads that copy first when it exists, so the mapped run uses the same WARP as the native and AOT runs. Builds without an app-local WARP are unchanged. Independent problem; no issue.Verification
Commit
c70ee1con upstream31f9ebb, Windows 10 build 19045, debug layer enabled.-DOFFSCREEN_AGILITY_620_DIR,-DOFFSCREEN_WARP_DIR):ctest --no-tests=error -R '^cpu_shim_'→ 12/12 passed on31f9ebbwith this change. Before, on31f9ebb:cpu_shim_shadow_warpfailed (the mapped run created the device and closed it without a frame,shadow close surfaces=0 device=1) andcpu_shim_chain_warpskipped.cpu_shim_shadowstale-binding control still reports its expected mismatch.Also tested on upstream
31f9ebbwith all five rebased changes stacked (620 tests, Agility SDK 1.620.2 + WARP 1.0.22 build, bottom-up ASLR off):gpu_alias_registry_hardware/_warp,cpu_shim_shadow_warp,cpu_shim_chain_warpand bothwave64_emulatetests pass. The remaining failures also fail on plain31f9ebb:bvh_wave64_warp,wave_shuffle_warp(#145),cpu_archive_texture_gpu_warp,cpu_native_load_config_callback,pe_package_import_closure.Evidence and follow-up
No new fixture.
docs/experiments.mdgains a paragraph under the shim shadow section.Checklist
This change was AI-assisted.
🤖 Generated with Claude Code