diff options
| author | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 18:25:47 -0600 |
|---|---|---|
| committer | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 18:25:47 -0600 |
| commit | d411fe9b4a3aab2a75dfbed4d6e4f01d758ef668 (patch) | |
| tree | 6fddc2666fe152d622b034a73741b3436613d582 /runtime/test/queue_proxy_test.cpp | |
| parent | d44285197237cfe331684aa150fb9dec4b1d08b5 (diff) | |
d3d12, process: null barrier arrays, CopyTiles in a bundle, calibration wait, entry thread and getmainargs expand
From kevincommits' finding (item 4) in #1608.
- d3d12_com.cpp:
- ResourceBarrier: a count with no array fails the list (check(false)) instead
of reading through null, as WriteBufferImmediate does.
- Barrier: the same for a null group array, and for a group with barriers but
no barrier array (the three array pointers are one union).
- CopyTiles: a bundle is refused for reserved buffers too, not only for sparse
images; no copy is allowed in a bundle.
- submitted_calibration: vkGetQueryPoolResults asks VK_QUERY_RESULT_WAIT_BIT,
so the read cannot answer VK_NOT_READY.
- process.cpp:
- run_entry passes the entry point itself to the game thread instead of a
pointer to its own stack: another thread can end the run before the game
thread first runs, and run_entry's frame is then gone.
- __getmainargs/__wgetmainargs expand wildcards when `expand` is nonzero
(mode 2, as _configure_*_argv does) and fail on a null argc or argv.
Tests: d3d12_com_test (null arrays fail Close; counts of 0 and valid calls
do not), d3d12_buffer_tiles_test (CopyTiles of a reserved buffer in a bundle
fails Close), process_cmdline_test (expand 0 and 1, null argc/argv).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions