Avoid rounding oversized GPU uploads past the pool limit #3078
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3078
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3078"
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?
@EternalAtake1 on GitHub · 2026-11-29 19:54 UTC · original
EternalAtake1:fix/right-size-oversized-uploads→main· +53 −9 · 2 files · 1 commits · closed without mergingRecording-list uploads and submission snapshots now use power-of-two sizes only when the pool can reuse the buffer. For example, with a 768 MiB pool limit, a 513 MiB request now allocates 513 MiB instead of 1 GiB. This reduces peak memory demand for large uploads.
Includes tests for pool boundaries, integer overflow, and actual D3D12 buffer widths. Related to #1383.
Pull request closed