mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 02:10:43 +00:00
Fixture: - check_lock64 keeps its upload buffer alive until the list that copies from it has run. - The spin lock takes an acquire DeviceMemoryBarrier after winning the lock, before reading the data, as well as the release barrier. - A check that fails partway through recording closes and resets the list (abandon) instead of leaving stale commands for the next check. - wave.control checks what D3D12 guarantees: one wave width for every thread, and lane indices forming a permutation within each wave, with waves identified by WaveReadLaneFirst(id.x). It no longer assumes lane == i % width. - Skips with exit 77 when shader model 6.6 is unavailable or the query fails. - submit checks Signal, SetEventOnCompletion and the Reset calls. Resources the GPU may still use are leaked rather than released after a hung or removed queue. Note: the measured constraints are separated from the reports taken from a commercial title. The reports move to an "Unverified reports (not evidence)" section, each with the synthetic workload that would verify it. The M2-gate inference is dropped, and the roadmap rows link only the measured section. The results are re-measured after the fixes: with the acquire fence, the 64-try cap drops 96-108 of 512 updates. The 1024-try cap is still exact. Signed-off-by: Vicente Abarca <135478656+Scarlet-Noble@users.noreply.github.com>
Synthetic PE32+ Conformance Tests (tests/conformance/)
Every directory matching test_*/CMakeLists.txt is auto-discovered by tests/conformance/CMakeLists.txt when running scripts/build-shims.sh.
Adding a New Test (Zero Shared-File Edits)
- Create
tests/conformance/test_<shim>/CMakeLists.txtandmain.cpp. - Build via
scripts/build-shims.sh(outputsbuild-shims/bin/test_<shim>.exe). - Run live under CrossOver + Rosetta 2:
target/debug/bx-cli run --prefix /tmp/bx-test --shims build-shims/bin --log /tmp/bx-test.jsonl --exe build-shims/bin/test_<shim>.exe