diff options
| author | QemmHD <290605352+QemmHD@users.noreply.github.com> | 2026-11-25 08:06:48 -0500 |
|---|---|---|
| committer | QemmHD <290605352+QemmHD@users.noreply.github.com> | 2026-11-25 08:07:27 -0500 |
| commit | 59c1586d4ede89e93cacf8788becfe6662aa4c25 (patch) | |
| tree | bcc5a259485a27c9c2a7a0d41c559ea354c56254 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 98c2f7777276f83eb90b491a51721ef90a43ea73 (diff) | |
d3d12: LEONIDA_HOST_IMAGE_COPY switch, auto off on NVIDIAclaude/host-image-copy-switch
The layer enables VK_EXT_host_image_copy for WriteToSubresource and
ReadFromSubresource whenever the device has the extension and its
hostImageCopy feature. On an RTX 4070 SUPER (Windows 11) a real boot lost
the device with WRITE_INVALID in 7 of 7 runs that used host image copies
and in 0 of 2 that did not. The mechanism is not known yet.
LEONIDA_HOST_IMAGE_COPY chooses: 0 never, 1 whenever available, auto (the
default, also for unset or unrecognized text) as 1 except on NVIDIA
(vendorID 0x10DE), where it is off. Off, the extension is neither enabled
nor chained, so no image gets host-transfer usage and every CPU texture
copy takes the existing staging submit, as on a device without it.
The choice is a pure function (src/host_image_copy_policy.h) with a unit
test of its table, and device creation logs one line with the choice and
the reason in place of the old "no VK_EXT_host_image_copy" line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions