gpu: keep small mip tiles without room and track allocations past cap #192
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/192"
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?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T03:26:49Z.
Summary
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.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T07:33:30Z.
CI check is failing (
FAILURE); markingtriage: needs workso it can be fixed before GPU testing.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T10:02:50Z.
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).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:39:03Z.
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