diff options
| author | QemmHD <stephenlethco2@gmail.com> | 2026-11-24 11:25:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-24 11:25:15 -0500 |
| commit | 7b5f8042e408d4947e4129b9b37233c7bd35cd54 (patch) | |
| tree | b824b7b936c92548d234026ce3afbb473519d37d /runtime/src/thread_stacks.cpp | |
| parent | f5928c6b6bcedd4d5defe9a64cd58a0650a7d63d (diff) | |
| parent | 9f9a503406c581320bcd84d5a73dc77ae9626107 (diff) | |
Merge pull request #470 from Kokonotcu/pr/submission-barrier
Merging.
**Why merged:** Every queue submission now starts with a full memory barrier, which matches D3D12's ExecuteCommandLists boundary. Under synchronization validation, main's vk_queue_test fails with 10 WRITE_AFTER_WRITE errors; with this PR it reports "4 of 4 submissions start with a full memory barrier" and 0 errors. Three independent NVIDIA checks agree (kawaii-shakal, Timon360SB, DesertGamer).
**Why it's good:** Cost, measured here because it was the open question: d3d12_bindless_churn (96 frames, many ExecuteCommandLists on 2 queues), 5 alternating runs, median, main vs PR: deferred 437.7 vs 433.8 ms, async 432.6 vs 437.3 ms, old-wait 438.3 vs 433.4 ms, old-wait async 440.2 vs 443.6 ms. vk_queue_test: 0.374 vs 0.370 s. All within run-to-run noise (about ±2%). These are synthetic tests, so there's no game-load number yet.
Tested on Windows 11 / RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0. Alone on main, its tests passed both plain and with LEONIDA_VK_VALIDATION=1. Cumulative: #388, #418, #421, #434, #470, #484, #485, #486 and #488 merged onto main 1504c1af6 (a225e593e). There the repo-consistency set gives 566 passed / 5 skipped / 0 failed, compileall is clean, and full ctest is 306/308. The 2 failures are the same pre-existing ones as main (d3d12_execute_indirect_validation, d3d12_depth_resolve), with the same skip set. git merge-tree against current main 98a977b4b: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions