Records one call (or a short sequence) per case on a fresh allocator and
direct list, closes it, and holds the layer's verdict to WARP's. Today's
23 cases where the layer fails a list WARP closes, and 15 where it closes
a list WARP fails, are marked as known differences; the test checks they
are still there, so a fix that makes one match fails until its mark is
removed. Nothing is executed. A measured WARP column is the reference
when there is no WARP device (Wine).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Upgrade dxgi_com.h to dxgi1_6.h for IDXGIOutput6 / DXGI_OUTPUT_DESC1.
- Enumerate Win32 monitors via EnumDisplayMonitors / EnumDisplaySettingsW with headless 1920x1080@60 fallback.
- Implement Output (IDXGIOutput..IDXGIOutput6) and wire Adapter::EnumOutputs and SwapChain::GetContainingOutput against host dxgi.dll behavior.
- Add D3D-313 unit and host-comparison coverage in dxgi_swapchain_test.cpp (synthetic, no game data).
AI-assisted.
main's G:/T: drives (4c52ce27) made a T: create build its parent folders and pinned
that in file_system_test. The folder-exists rule of this branch now applies to the
package view (GAME:, G:) only, so that merged behaviour stands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-up on #3819 (@Vonsek, @shdann), after rebasing onto main
4c52ce27:
- "the Xbox device vtable beyond slots 62, 67 and 76" is unmeasured was
too broad: docs/d3d12_vulkan.md question 2 records device slots 14, 15,
16, 18, 19, 27, 38, 62 and 76 confirmed by the FSR DLL's calls, with 67
a console-only pipeline call. Say that, and point to question 2.
- main now serves XPersistentLocalStorageImpl from QueryApiImpl
(runtime/shims/xgameruntime.cpp:491), so the list names five classes.
Written with AI assistance (Claude, via OpenBot).
Tested: python -I tests/test_docs_{design_rows,links,list_items,repo_paths}.py,
tests/test_i18n_index.py and tests/test_text_write_line_endings.py pass
(Windows 11, docs only).
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
Two passages were out of date or vague.
The d3d12_xs bullet said the Vulkan device covers submission, heaps,
views, committed resources and copies. It also creates root signatures,
graphics and compute pipeline states, and records draws, dispatches and
ExecuteIndirect (shims/d3d12_vulkan_device.cpp, shims/d3d12_com.cpp).
"Current limits" listed what the missing executable blocks without saying
what exists. Now, per item, checked against the code:
- D3D12XboxCreateDevice exists (shims/d3d12_xs.cpp) and wraps the PC or the
Vulkan device in the proxy; the params/flag layout and the Xbox vtable
beyond slots 62, 67 and 76 are unmeasured (shims/d3d12_xs_device.h,
docs/d3d12_vulkan.md);
- the queue and fence proxies forward the public slots and refuse the
console's PresentX/SuspendX/ResumeX slots, which are unknown; PresentX and
the frame events are implemented in shims/xbox_present.* and tested
(xbox_present_test) but not reachable through those slots yet;
- xgameruntime: QueryApiImpl serves XThreadingImpl, XErrorImpl,
XNetworkingImpl and XSystemImpl and refuses other classes with a log
(shims/xgameruntime.cpp, xgameruntime_test).
Say that none of this was measured against the real executable.
Claimed in #3574. Written with AI assistance (Claude, via OpenBot).
Tested: python -I tests/test_docs_{design_rows,links,list_items,repo_paths}.py,
tests/test_i18n_index.py and tests/test_text_write_line_endings.py pass;
git diff --check is clean (Windows 11, docs only; no GPU involved).
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
collect answered ERROR_PATH_NOT_FOUND for any folder that is not one in the title's
view. The host tells a missing folder (3) from a file in the folder's place (267);
view() already knows which. Reported in review by shdann, with the host table.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three places where the shim disagreed with the host about GAME: paths:
- write_target created the parent folders before checking anything. A failed
OPEN_EXISTING left the missing folders behind, and a create succeeded in a
folder that was never made, below a package file (which then read as a folder)
and inside a folder the title had removed. The parent now has to be a folder in
the title's view, as CreateDirectory, MoveFile and CopyFile already require;
otherwise ERROR_PATH_NOT_FOUND and nothing is created.
- FindFirstFile inside a removed package folder returned "." and "..", and inside
a folder that never existed reported ERROR_FILE_NOT_FOUND. Both are now
ERROR_PATH_NOT_FOUND.
- MoveFile onto the same name, or to the same name in another case, failed with
ERROR_ALREADY_EXISTS. The first now succeeds and changes nothing; the second
renames the overlay entry (a package file gets an overlay copy under the new
spelling; a package folder is refused like any other move of one).
Two existing checks encoded the old answers and are changed: the test that made
GAME:\save\slot1.bin without making GAME:\save first, and the one that expected
ERROR_FILE_NOT_FOUND for a listing inside a missing folder.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
An OpTypeImage with Sampled 2 and Dim SubpassData is a subpassInput, not a
storage image, so a pixel shader reading an input attachment no longer
needs fragmentStoresAndAtomics. NonWritable applied through
OpDecorationGroup / OpGroupDecorate / OpGroupMemberDecorate is resolved like
a direct decoration. spirv_stores_test covers both. Found in review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A malformed module whose array type names itself made the element walk spin
inside CreateGraphicsPipelineState; it now stops after 16 levels, with a case in
spirv_stores_test. d3d12_stores_atomics_test turns the validation layer on for
itself only when the variable is unset. The docs say how the 1,018 of 1,038
figure is counted.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
create_vulkan_device_standalone never enabled fragmentStoresAndAtomics or
vertexPipelineStoresAndAtomics, so a pixel shader with a writable storage
image (an image atomic: 1,018 corpus pixel shaders) broke
VUID-RuntimeSpirv-NonWritable-06340 while CreateGraphicsPipelineState
answered S_OK.
The device enables both where the GPU has them. A graphics PSO whose stage
declares writable storage (src/spirv_stores.h reads the declarations) on a
device without the feature is refused with E_NOTIMPL and a log line.
spirv_stores_test checks the rule on hand-built SPIR-V; d3d12_stores_atomics_test
checks the refusal and the standalone device under the validation layer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
`--force-feedback` creates a constant effect at magnitude 1.0 on motor 0 and
holds it for a second, so the wheel owner the RT-160 finding asks for can feel
the magnitude and the axis instead of only reading `forcefeedback=`; a pad with
no force-feedback motor is skipped with the reason printed. Docs and the probe
comment name the flag.
AI-assisted
WinHttpSendRequest assigned its dwContext to the request unconditionally, so a client that set the context with
WINHTTP_OPTION_CONTEXT_VALUE and sent with 0 got 0 back from WinHttpQueryOption and in its REQUEST_ERROR and
HANDLE_CLOSING callbacks. The host's winhttp.dll (Windows 11, asynchronous session, loopback) keeps the option's
value in all three. A nonzero dwContext still replaces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>