GPU tests: fall back to 1,000,000 view descriptors in replay_big on capped adapters (#116) #120
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!120
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-120"
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?
@ESAT586 on GitHub · 2026-11-26 04:42 UTC · original
ESAT586:avatarmanz/replay-big-portable-views→main· +10 −5 · 1 files · 1 commits · merged 2026-11-26 08:17 UTCAddresses #116 (
replay_bigheap failure on 1M-capped NVIDIA adapters).Problem
tests/replay_big.rshardcodedVIEWS = 1_500_000when creating its shader-visibleCBV_SRV_UAVdescriptor heap. On adapters that cap shader-visible view heaps at1_000_000(NVIDIA),CreateDescriptorHeapreturnedE_INVALIDARG, preventingreplay_bigfrom running even though the runtime already falls back toPORTABLE_VIEWS(1_000_000).Change
CreateDescriptorHeap(VIEWS)(1_500_000) first so uncapped adapters (AMD / WARP) remain unchanged, and fall back toPORTABLE_VIEWS(1_000_000) when rejected.0..view_countinstead of0..VIEWS.Verification
BIG_TEXTURES=500 BIG_CARD=100 cargo test -p victory-gpu --features diagnostics --locked --test replay_big -- --ignored --nocaptureon NVIDIA GeForce RTX 3060 Ti 8 GB: 1 passed, 0 failed (falls back cleanly to1_000_000view descriptors and passes full record + replay byte-equality check).cargo clippy -p victory-gpu --all-targets --all-features --locked: 0 warnings intests/replay_big.rs.cargo xtask policy --staged:asset policy: 1 files ok.github-bot referenced this pull request2026-11-26 06:46:47 +00:00
@juliptree on GitHub · 2026-11-26 06:51 UTC · original
Independently validated on an RTX 5060 Ti 16 GB with BIG_TEXTURES=500 and BIG_CARD=100. Base
85d5641failed creating the 1.5M shader-visible descriptor heap with 0x80070057. PRd0aaed0hit the same rejection, fell back to 1M descriptors, and passed a_frame_of_a_titles_size with matching recorded and replayed image hashes. Temporary instrumentation logged the selected adapter and heap sizes. No game files were used.@avatarmanz on GitHub · 2026-11-26 07:54 UTC · original
Merged into main in the next push (tests pass); thanks.