Skip to content

GPU Upload Heap & UMA. - #1421

Merged
blueskythlikesclouds merged 5 commits into
mainfrom
uma
Mar 24, 2025
Merged

GPU Upload Heap & UMA.#1421
blueskythlikesclouds merged 5 commits into
mainfrom
uma

Conversation

@blueskythlikesclouds

@blueskythlikesclouds blueskythlikesclouds commented Mar 18, 2025

Copy link
Copy Markdown
Member
  • Vulkan doesn't appear to have an explicit way to check for UMA. We can check for VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT memory type combination, but this also passes for my NVIDIA card, supposedly due to ReBAR being enabled? Needs to be verified.
  • GPU upload heaps supposedly can be reported as unsupported on UMA devices on old Windows versions, even if they are functionally the same. Falling back to UPLOAD does not work either, as they are restricted to GPU readonly states by the specification. This can be bypassed by creating a CUSTOM buffer with same properties as UPLOAD, but D3D12MA requires you to create a custom pool for that.

EDIT: Fixes #1076.

@DeaTh-G DeaTh-G linked an issue Mar 19, 2025 that may be closed by this pull request
@blueskythlikesclouds
blueskythlikesclouds marked this pull request as ready for review March 19, 2025 14:23
@DarioSamo DarioSamo modified the milestone: v1.0.3 Mar 20, 2025
@blueskythlikesclouds
blueskythlikesclouds merged commit d15bb7a into main Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Geometry on Spagonia on systems without Copy Queue Overlap Implement UMA/GPU Upload Heap path for copies

2 participants