gpu: keep small mip tiles without room and track allocations past cap #192
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!192
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/192/head"
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?
@Androtim on GitHub · 2026-11-30 03:26 UTC · original
Androtim:feat/iter189-8gb-small-tiles-and-cap-tracking→main· +152 −5 · 2 files · 1 commits · closed without mergingSummary
Tiled::giveto keep allocating up toVICTORY_LEVELS_SMALL_TILES(default8, covering packed tail + smallest mips viasmall_held/small_levels) even when host VRAM room is tight, preventing unbacked textures from sampling black when large-mip uploads wait.own_card_bytes()inHost::video_memorywithuse_past_the_cap/past_the_capso drivers/layers that clamp reportedCurrentUsageat the DXGI budget still expose allocations made past the cap to residency guards.tiles::tests::without_room_the_smallest_held_levels_still_get_tilesandhost::tests::use_at_the_budget_counts_what_the_layer_made_since, and updatedtiles::tests::card_wrote_failure_does_not_poison_card_maskso held level 1 exceedssmall_tiles()when testingroom == false.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(311 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu tiles:: -- --test-threads=1(8 passed; 0 failed; 1 ignored)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu host::tests::use_at_the_budget -- --test-threads=1(1 passed; 0 failed)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warningscargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warningsPlayParity): all 6 gates PASS, median12.55 fps(min 5.3 fps,preparing 35.85 ms,max_draws=12464),used_max=6565 MB / budget_min=6868 MB(over=0 MB,room_false=66.7%),final_waiting=1700,mapped_rate=7.86 ms/s,bakes=8(failed=0),lit=20/24(luma=103.0,near_black=0.0%,magenta=0.0%),0crashes; late captured PNGs visually verified crisp.PlayParity): median10.5 fps(preparing 38.8 ms,min 4.4 fps),lit=18/24(luma=104.35,near_black=0.01%,edge_energy=7.83,magenta=0.0%),0crashes; late captured PNGs visually verified crisp.@Androtim on GitHub · 2026-11-30 07:33 UTC · original
CI check is failing (
FAILURE); markingtriage: needs workso it can be fixed before GPU testing.@Androtim on GitHub · 2026-11-30 10:02 UTC · original
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):failingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).@Androtim on GitHub · 2026-12-01 01:39 UTC · original
Closing stale/conflicted backlog PR per #276. Superseded by the active root-architecture replacement pillars with isolated plain --release A/B verification.
Pull request closed