Repository navigation
Conversation
…t entries no longer delete each other's shader d3d12_bindless_churn and d3d12_bindless_churn_validated run the same program in one fixed folder, %TEMP%\leonida_bindless_churn_test, and each ends with remove_all. Under ctest -j the first to finish removed the other's index.json and SPIR-V while it still created its pipeline, and CreateComputePipelineState failed (line 142). The folder now carries the process id, as the conservative-raster, indirect-dispatch-count and file-system tests already do.
|
Tested
AI-assisted. No game files. |
|
Independent RTX 4080 A/B for the shared temp-folder race at
Synthetic fixtures only. AI-assisted with Codex. |
…mp_dir, the shared helper for it
|
Thanks @LocranKing and @CryingLaughing for the independent runs. One commit since them, Re-tested at |
|
Tested |
|
Tested |
|
Tested
Synthetic tests only, no game files. AI-assisted. |
|
Tested
|
Independent Windows stress-test results — partial campaignPR head: Negative control: Running the two CTest entries concurrently on the baseline reproduced the shared temporary-directory race: 8 passes and 1 failure. The validated test could not open PR stress-test results:
Important limitation: An unexpected Windows shutdown/restart interrupted the campaign after 1h09m20s of recorded wall time, before the planned 4h15m duration. Windows events 41 and 6008 indicate an unexpected shutdown, but do not establish its underlying cause. The campaign did not produce its normal final report. Conclusion: COMMENT. The completed tests provide strong evidence that this change eliminates the shared-directory interference observed on the baseline. However, full-duration stability remains unverified, and the interrupted executions are not counted as passes or test failures. Synthetic fixtures only; no proprietary game files used. AI-assisted testing and analysis with OpenAI Codex. |
|
Tested
No Both fix it; #6184 also uses |
Claimed in the coordination issue as: new finding, #6089 (comment)
What and why
d3d12_bindless_churnandd3d12_bindless_churn_validatedrun the samed3d12_bindless_churn_testin one fixed folder,%TEMP%\leonida_bindless_churn_test, and each run ends withremove_all. Underctest -jthe first to finish removes the other'sindex.jsonand SPIR-V while it is still creating its pipeline, so the other fails atline 142: SUCCEEDED(device->CreateComputePipelineState(...)). Both pass when run alone.The folder now carries the process id (
leonida_bindless_churn_test_<pid>), throughtestfiles::process_temp_dir(runtime/test/test_temp_dir.h), the shared helper other tests already use for this. It is the only test inruntime/testwith a fixed temp folder whose program is registered twice in ctest. Test only, no runtime change.Tested
Windows 11 (build 26300), MSVC RelWithDebInfo (
scripts/build_runtime.ps1), NVIDIA GeForce RTX 4070 Ti SUPER, driver 621.01:ctest -R "^d3d12_(bindless_churn|bindless_churn_validated|depth_resolve|queue_handover|typeless_rtv)$" -j 8 --repeat until-fail:8561b65a83: 3 of 3 rounds fail, at line 142 ind3d12_bindless_churnandd3d12_bindless_churn_validated.266c6bd65, and again ata06dcc044): 0 of 5 rounds fail each time, and noleonida_bindless_churn_test*folder is left in%TEMP%.-j 8): 243/247, the same four failures as main without the change:d3d12_indirect_rt(d3d12: an ARRAY_OF_POINTERS entry below the arena is not an overflow (d3d12_indirect_rt on NVIDIA) #6010),d3d12_indirect_dispatch_count(d3d12_indirect_dispatch_count_test: its compute fixture reads the root UAV at s4:s5 (D3D-448 layout) #5792),dxgi_deviceanddxgi_swapchain(run here from a session without a desktop).AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)🤖 Generated with Claude Code