diff options
| author | Gustavo Rafael Schmidt <204491080+gustavorafaelschmidt@users.noreply.github.com> | 2026-11-22 16:07:27 -0300 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 23:48:51 +0200 |
| commit | bd53fcee307e65878f5048f12934f2ba1f5d0b86 (patch) | |
| tree | 5ca3366b3b5aabbeb3c8fb9b5836cbbaa9fea4d5 /docs/coder.md | |
| parent | 7eb642a87aa9c7c65ce4723aa7101c4f76115404 (diff) | |
Runtime: port #3077's forced host-transfer retry into the staging fallback
Ported from @gustavorafaelschmidt's #3077 commit 2612b150 (author credited
below). With their go-ahead on #4682, keep one fix for both the empty-mask
driver case and the allocation-failure case this PR already handled:
- VulkanDeviceInfo::force_host_transfer_retry (tests only) forces the
no-memory-type branch on any GPU, so d3d12_vulkan_device_test and
d3d12_subresource_copy_test run their CPU copies through a third path.
- create_image() is a lambda that leaves image_ null after a failed create
(the handle is undefined on failure and ~Resource destroys any non-null
one), and log_once reports when the fallback fires.
- After dropping host-transfer usage, check_image_support is re-run before
the image is made again; this PR's allocation/bind-failure retry is kept
alongside it.
- docs/d3d12_vulkan.md and docs/testing.md record the Pascal measurement and
the tier-1 host note.
The tier-1 heap/WARP comparison changes in #3077 are not part of this port:
they belong to D3D-504 (#5000). Tests on GTX 1060 / 582.78: both executables
built with MSVC 19.44; d3d12_subresource_copy_test OK with all three paths
(109 compared steps, 0 mismatches each); d3d12_vulkan_device_test's three
CPU-copy paths matched, with only the known pre-existing tier-1
heap_mismatches assert (D3D-504) still failing. No game data.
AI-assisted (OpenCode).
Original commit by Gustavo Rafael Schmidt <204491080+gustavorafaelschmidt@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/coder.md')
0 files changed, 0 insertions, 0 deletions