mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #849] [CLOSED] d3d12: fall back to staging copies when host-transfer image has no memory type #886
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#886
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/849
Author: @kotekompotek
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:work/d3d12-host-image-copy-fix📝 Commits (1)
0c862ead3d12: fall back to staging copies when host-transfer image has no memory type📊 Changes
2 files changed (+23 additions, -3 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+2 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+21 -3)📄 Description
Claimed in the coordination issue as: coordination issue #14
What and why
main.HOST_TRANSFERimage returnsmemoryTypeBits == 0invkGetImageMemoryRequirementson drivers withidenticalMemoryTypeRequirements = false, destroy the probe image, log once vialog_once, clearVK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT, and fall back to staging copies; synceddocs/d3d12_vulkan.md.Tested
d3d12_com(Passed, 0.61s),d3d12_d24_support(Passed, 0.39s),d3d12_shader_cache(Passed, 1.06s), andd3d12_subresource_copy(Passed, 0.79s) ->4/4 Passed.d3d12_vulkan_device_test: bothWriteToSubresource/ReadFromSubresource (host image copy)and(staging copy)matched ([rt] d3d12: host-transfer image had no usable memory type; falling back to staging copies, usage 4194311); pre-existing unrelatedinvalid arguments heapmismatch at line 7317 fails on this Windows host.GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.