NVIDIA (RTX 5080): descriptor heap smaller than HEAP_VIEWS → overflow-warning stall crashes title at Game Init; ~2.4 s GPU submissions once past it #3851

Open
opened 2026-11-29 16:43:20 +00:00 by mrstalk7-tech · 2 comments
mrstalk7-tech commented 2026-11-29 16:43:20 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by mrstalk7-tech on 2026-11-29T16:43:20Z.


GPU: RTX 5080, driver 621.40
OS: Windows 11 (build 26200)
Commit: 63bcca4
Title: build Series 1.0.2.1, game version 930.048.020, console mode series-x (default)

Unit tests

victory-gpu (2 failures):

  • descriptor::host::tests::dynamic_slots_are_held_until_released
    assertion failed: heap.heap.GetDesc().NumDescriptors >= victory_shader::emit::HEAP_VIEWS
  • memory::tests::lists_share_a_table_and_copies_keep_their_views
    panicked: "past the dynamic slots"

victory-shader (run with --test-threads=1):

  • emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index
    STATUS_ACCESS_VIOLATION (crashes the test process)
  • emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride
    hardware: got [101,104,107,...,131,0,0...], expected [200..231]
  • emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros
    hardware: dispatch failed: The parameter is incorrect.
  • emit::synthetic_tests::gathers_at_a_level_match_the_hardware
    hardware: lane 0 got [0,1,0,0], expected [0,0,0,0]

All failures are on the hardware adapter; the WARP side of the same tests passes.
Everything else passes (298/301 shader, 229/231 gpu, all other crates).

Translate

translate --cache --pipelines on shaders.rpf + exe + XboxBvhBuilder.dll + amd_fidelityfx_upscaler_xbox.dll:

  • Shaders: 25,756 translated, 229 refused
  • Pipelines: 28,164 in pack, 23,128 made, 3,610 already in library. Skipped:
    • 852 rasteriser state not named, 139 depth-stencil not named, 3 blend not named
    • 24 compute + 1 pixel shader does not translate, 8 shader not found, 2 other stages
    • 397 "the host refuses it", likely NVIDIA-specific

run without --execute binds cleanly: 0 missing imports in the exe and all four title DLLs.

Run 1: crash at Game Init (~34 s)

The log is flooded with:

WARN victory_gpu::descriptor::host: title slot past the host heap index=960457 … 964903 count=934464

count=934464 = 1,000,000 − 65,536, so the host heap is NVIDIA's 1,000,000 shader-visible descriptor limit minus the dynamic slots. The title indexes past it (≥ 960k seen). Same root cause as the NumDescriptors >= HEAP_VIEWS test failure.

The title then crashes itself: the title's own crash handler (Breakpad) fires with Game State: Game Init, Frame 0. The minidump shows a deliberate fatal (mov dword ptr [0], 2EF1E94Bh) on a title thread.

The other threads in the dump suggest the warning flood is what stalls init:

  • One thread is in HostHeap::mirror (host.rs:735), blocked in NtWriteFile writing the overflow warning to stderr
  • A title thread is blocked on a mutex in descriptor::mirror (descriptor.rs:134) via create_cbv → record
  • Another is blocked on a mutex in queue::held (queue.rs:164) via copy_page_mappings
  • title-main is waiting

So a warning per out-of-range slot, written synchronously while the descriptor lock is held, serializes title threads behind stderr. With stderr piped through PowerShell 5.1 Tee-Object it's slow enough for the title's watchdog to fire.

Workaround: RUST_LOG=info,victory_gpu::descriptor::host=error with stderr redirected straight to a file. The title gets past Game Init. Suggest rate-limiting or coalescing that warning, or emitting it outside the lock.

Run 2: past init, intro video at ~0.4 fps

With the warning silenced, the title runs into the intro but each frame takes seconds:

WARN victory_gpu::host: slow host submission ms=2399 lists=28 pipelines={…~30 compute, 6 mesh/pixel…}
INFO victory_gpu::queue: … longest_ms=2414.67 pump_ms=0.1421 fence_waits=0
  • 34 slow submissions, all ~2.4 s. The time is GPU/driver-side (pump_ms ≈ 0.14, no fence waits).
  • The same ~15 compute pipelines appear in most slow submissions (counts 15–21 of 34):
    00167d58cc5a78d7, 26b8bbb2e7ae4dc6, 89106710b9d623ca, 1f69e52b2cb228b9, 7ddd1b511732d145, 4ceef06fab7b49dc, 5b7af3b2c2cfe892, 545138fdb1d94e1b, 9381f54ec01b7adb, 185f68f27ec763d6, 5bb23d336331db1d, 4c0ac499ad613809, 36e010b53acffd77, af1bc518abc76643, a4b6503d37087340
  • None of these appear in the refused/dropped warnings, so they create and execute; they're just slow. My guess is reads past the heap or the wave64 assumption (NVIDIA is wave32), but I can't confirm that from the logs.

Other runtime warnings in the same run:

  • 142 × victory_gpu::pipeline::host: host pipeline refused
  • 11 × victory_gpu::draw: a draw or dispatch dropped
  • 1 × no dynamic slots for root views
  • 1 × a dispatch without a host
  • 2 × victory_gpu::object: method not implemented
  • 1 × no host texture, 1 × the host refuses castable

The window closed cleanly: lifecycle suspended, the title didn't finish suspending in time, and it was ended.

Happy to run builds or capture more (full logs, the minidump, PIX/Nsight captures) on NVIDIA if useful.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6681344184 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3851). Originally posted by [mrstalk7-tech](https://github.com/mrstalk7-tech) on 2026-11-29T16:43:20Z. --- GPU: RTX 5080, driver 621.40 OS: Windows 11 (build 26200) Commit: [63bcca4](https://github.com/Marvisak/VIctory/commit/63bcca43c6a00a758510398fa43096ce7e4f7df0) Title: build Series 1.0.2.1, game version 930.048.020, console mode series-x (default) ## Unit tests victory-gpu (2 failures): * `descriptor::host::tests::dynamic_slots_are_held_until_released` `assertion failed: heap.heap.GetDesc().NumDescriptors >= victory_shader::emit::HEAP_VIEWS` * `memory::tests::lists_share_a_table_and_copies_keep_their_views` panicked: "past the dynamic slots" victory-shader (run with `--test-threads=1`): * `emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index` `STATUS_ACCESS_VIOLATION` (crashes the test process) * `emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride` hardware: got `[101,104,107,...,131,0,0...]`, expected `[200..231]` * `emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros` hardware: `dispatch failed: The parameter is incorrect.` * `emit::synthetic_tests::gathers_at_a_level_match_the_hardware` hardware: lane 0 got `[0,1,0,0]`, expected `[0,0,0,0]` All failures are on the hardware adapter; the WARP side of the same tests passes. Everything else passes (298/301 shader, 229/231 gpu, all other crates). ## Translate `translate --cache --pipelines` on shaders.rpf + exe + XboxBvhBuilder.dll + amd_fidelityfx_upscaler_xbox.dll: * Shaders: 25,756 translated, 229 refused * Pipelines: 28,164 in pack, 23,128 made, 3,610 already in library. Skipped: * 852 rasteriser state not named, 139 depth-stencil not named, 3 blend not named * 24 compute + 1 pixel shader does not translate, 8 shader not found, 2 other stages * **397 "the host refuses it"**, likely NVIDIA-specific `run` without `--execute` binds cleanly: 0 missing imports in the exe and all four title DLLs. ## Run 1: crash at Game Init (~34 s) The log is flooded with: ``` WARN victory_gpu::descriptor::host: title slot past the host heap index=960457 … 964903 count=934464 ``` `count=934464` = 1,000,000 − 65,536, so the host heap is NVIDIA's 1,000,000 shader-visible descriptor limit minus the dynamic slots. The title indexes past it (≥ 960k seen). Same root cause as the `NumDescriptors >= HEAP_VIEWS` test failure. The title then crashes itself: the title's own crash handler (Breakpad) fires with **Game State: Game Init, Frame 0**. The minidump shows a deliberate fatal (`mov dword ptr [0], 2EF1E94Bh`) on a title thread. The other threads in the dump suggest **the warning flood is what stalls init**: * One thread is in `HostHeap::mirror` (host.rs:735), blocked in `NtWriteFile` writing the overflow warning to stderr * A title thread is blocked on a mutex in `descriptor::mirror` (descriptor.rs:134) via `create_cbv` → `record` * Another is blocked on a mutex in `queue::held` (queue.rs:164) via `copy_page_mappings` * `title-main` is waiting So a warning per out-of-range slot, written synchronously while the descriptor lock is held, serializes title threads behind stderr. With stderr piped through PowerShell 5.1 `Tee-Object` it's slow enough for the title's watchdog to fire. **Workaround:** `RUST_LOG=info,victory_gpu::descriptor::host=error` with stderr redirected straight to a file. The title gets past Game Init. Suggest rate-limiting or coalescing that warning, or emitting it outside the lock. ## Run 2: past init, intro video at ~0.4 fps With the warning silenced, the title runs into the intro but each frame takes seconds: ``` WARN victory_gpu::host: slow host submission ms=2399 lists=28 pipelines={…~30 compute, 6 mesh/pixel…} INFO victory_gpu::queue: … longest_ms=2414.67 pump_ms=0.1421 fence_waits=0 ``` * 34 slow submissions, all ~2.4 s. The time is GPU/driver-side (`pump_ms` ≈ 0.14, no fence waits). * The same ~15 compute pipelines appear in most slow submissions (counts 15–21 of 34): `00167d58cc5a78d7`, `26b8bbb2e7ae4dc6`, `89106710b9d623ca`, `1f69e52b2cb228b9`, `7ddd1b511732d145`, `4ceef06fab7b49dc`, `5b7af3b2c2cfe892`, `545138fdb1d94e1b`, `9381f54ec01b7adb`, `185f68f27ec763d6`, `5bb23d336331db1d`, `4c0ac499ad613809`, `36e010b53acffd77`, `af1bc518abc76643`, `a4b6503d37087340` * None of these appear in the refused/dropped warnings, so they create and execute; they're just slow. My guess is reads past the heap or the wave64 assumption (NVIDIA is wave32), but I can't confirm that from the logs. Other runtime warnings in the same run: * 142 × `victory_gpu::pipeline::host: host pipeline refused` * 11 × `victory_gpu::draw: a draw or dispatch dropped` * 1 × `no dynamic slots for root views` * 1 × `a dispatch without a host` * 2 × `victory_gpu::object: method not implemented` * 1 × `no host texture`, 1 × `the host refuses castable` The window closed cleanly: lifecycle suspended, the title didn't finish suspending in time, and it was ended. Happy to run builds or capture more (full logs, the minidump, PIX/Nsight captures) on NVIDIA if useful.
MannA-001 commented 2026-11-29 18:47:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by MannA-001 on 2026-11-29T18:47:20Z.


The NVIDIA view-heap cap: the open PRs side by side, and a merge order

About 33 open issues trace back to one cause: NVIDIA (and Intel Arc) refuse a shader-visible CBV/SRV/UAV heap larger than 1,000,000 descriptors, while main sizes heaps and clamps shader indices for HEAP_VIEWS = 2^21. There are about 20 open PRs on it and none has been merged since 25 November. A large part of the blockage is that every one of them rewrites HostHeap::new. Each merges cleanly into main alone, but any two of #2461, #3518 and #3512 conflict in crates/victory-gpu/src/descriptor/host.rs. So whatever is merged first forces the others to rebase. Below is what each one does, so a merge order can be picked.

Two separate problems

  1. Shaders index past the host heap. Translated shaders clamp below 2^21, so on a 1,000,000 heap an index can name a descriptor that does not exist, and the device is removed. The fix is to probe the host's limit before the first translation, clamp below it, and key the shader cache on it.
  2. Title descriptors past the cap are lost. The retail title uses about 1.25 M view slots (count=1245184 in #3518's Arc log). On main, every slot past about 934 k is dropped (title slot past the host heap). A clamp makes those reads return null; it does not bring the views back. Only remapping keeps them.

The PRs

PR Problem What it does Size Triage bot NVIDIA runs in the thread
#2461 (lhnizdo) 1 probes the cap before the first translation and before the first heap, clamps shaders below it, cache key carries it; shader test host probes too +241/−44 merge-candidate RTX 5090, 5080 Laptop: the 2 main failures pass
#2683 (pes7) 1 clamp below the largest heap any host can make (1 M) on every host +124/−10 needs-work RTX 4060, 4070, 4070 Ti, 5090
#2628 (moe-miau) 1 as #2461, plus the full dynamic range and title indices past the portable count sent to null +243/−128 needs-work RTX 5060, 4060
#3476 (Koaio) 1 as #2461 +117/−45 none none
#2185, #2650 1 earlier versions needs-rebase
#3518 (danielibabet) 2 keeps 672,320 title slots 1:1 and maps higher ones into 262,144 overflow slots through a table shaders read; VICTORY_CAPPED_HEAP=1 forces it +961/−257 none RTX 3070 Ti: prologue world for 15 to 38 min, 0 slot warnings, no device removal (with #2885 and others); RTX 5060: the 2 failures pass
#3512 (neonbyte1) perf heap sync stops at the host heap instead of the title's count +66/−5 none RTX 4090 Laptop: synthetic, −12 % sync time
#3122, #3419, #3300 dynamic slots a capped heap keeps more dynamic slots / room for view pairs (#3419 and #3300 do the same thing) small needs-work / none
#2634, #2898, #3475 log the per-slot warning said once (three PRs for one change) #2634 merge-candidate
#2937, #3191, #3244, #3286, #3235 tests the two main tests stop assuming a 2^21 heap #2937 merge-candidate

#2885 (FIND-11, raw views of structured buffers) also comes up in these threads but is a separate NVIDIA bug; it is a merge-candidate of its own and conflicts with #3518 in host.rs, lower.rs and emit/mod.rs.

Run here (an AMD host: no cap)

RX 7800 XT, Windows 11 26200, each PR's head as is. WARP on this Windows build takes a 2^21 heap too, so it cannot stand in for NVIDIA here.

PR head victory-gpu --lib victory-shader --lib --features host
#2461 229 / 0 failed 302 / 0
#2885 234 / 0 304 / 0
#3512 232 / 0 302 / 0
#3518 232 / 0 303 / 0
#3518, VICTORY_CAPPED_HEAP=1 (its capped layout on this card) 232 / 0 303 / 0

So none of them regresses an uncapped host, and #3518's remap passes the suites on hardware with the cap forced. #3518's red CI is frame::tests::waits_end_on_ticks_and_count_frames, a timing test outside its change.

A suggested order

  1. #2461 (problem 1, the bot's merge-candidate, verified on 5090 and 5080 Laptop). Close #2683, #2628, #3476, #2185 and #2650 as covered, or have their authors rebase what is extra (#2628's dynamic range) onto it.
  2. #3518 rebased onto it (problem 2). It is the only PR that keeps the title's views past the cap, and the only one with an NVIDIA run that stays in the world. #2461's probe and #3518's capped-device detection overlap and should become one.
  3. #3512, then one of #3419/#3300, then #2634 and #2937. These are small, so they are easy to rebase.

The numbers above come from the PR threads, except for the AMD table. AI-assisted (Claude Code); the AMD runs are mine.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7260758799 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3851#issuecomment-7260758799). Originally posted by [MannA-001](https://github.com/MannA-001) on 2026-11-29T18:47:20Z. --- ## The NVIDIA view-heap cap: the open PRs side by side, and a merge order About 33 open issues trace back to one cause: NVIDIA (and Intel Arc) refuse a shader-visible CBV/SRV/UAV heap larger than 1,000,000 descriptors, while `main` sizes heaps and clamps shader indices for `HEAP_VIEWS` = 2^21. There are about 20 open PRs on it and none has been merged since 25 November. A large part of the blockage is that **every one of them rewrites `HostHeap::new`**. Each merges cleanly into `main` alone, but any two of #2461, #3518 and #3512 conflict in `crates/victory-gpu/src/descriptor/host.rs`. So whatever is merged first forces the others to rebase. Below is what each one does, so a merge order can be picked. ### Two separate problems 1. **Shaders index past the host heap.** Translated shaders clamp below 2^21, so on a 1,000,000 heap an index can name a descriptor that does not exist, and the device is removed. The fix is to probe the host's limit before the first translation, clamp below it, and key the shader cache on it. 2. **Title descriptors past the cap are lost.** The retail title uses about 1.25 M view slots (`count=1245184` in #3518's Arc log). On `main`, every slot past about 934 k is dropped (`title slot past the host heap`). A clamp makes those reads return null; it does not bring the views back. Only remapping keeps them. ### The PRs | PR | Problem | What it does | Size | Triage bot | NVIDIA runs in the thread | |---|---|---|---|---|---| | **#2461** (lhnizdo) | 1 | probes the cap before the first translation and before the first heap, clamps shaders below it, cache key carries it; shader test host probes too | +241/−44 | **merge-candidate** | RTX 5090, 5080 Laptop: the 2 `main` failures pass | | #2683 (pes7) | 1 | clamp below the largest heap any host can make (1 M) on every host | +124/−10 | needs-work | RTX 4060, 4070, 4070 Ti, 5090 | | #2628 (moe-miau) | 1 | as #2461, plus the full dynamic range and title indices past the portable count sent to null | +243/−128 | needs-work | RTX 5060, 4060 | | #3476 (Koaio) | 1 | as #2461 | +117/−45 | none | none | | #2185, #2650 | 1 | earlier versions | | needs-rebase | | | **#3518** (danielibabet) | 2 | keeps 672,320 title slots 1:1 and maps higher ones into 262,144 overflow slots through a table shaders read; `VICTORY_CAPPED_HEAP=1` forces it | +961/−257 | none | RTX 3070 Ti: prologue world for 15 to 38 min, 0 slot warnings, no device removal (with #2885 and others); RTX 5060: the 2 failures pass | | #3512 (neonbyte1) | perf | heap sync stops at the host heap instead of the title's count | +66/−5 | none | RTX 4090 Laptop: synthetic, −12 % sync time | | #3122, #3419, #3300 | dynamic slots | a capped heap keeps more dynamic slots / room for view pairs (#3419 and #3300 do the same thing) | small | needs-work / none | | | #2634, #2898, #3475 | log | the per-slot warning said once (three PRs for one change) | | #2634 merge-candidate | | | #2937, #3191, #3244, #3286, #3235 | tests | the two `main` tests stop assuming a 2^21 heap | | #2937 merge-candidate | | #2885 (FIND-11, raw views of structured buffers) also comes up in these threads but is a separate NVIDIA bug; it is a merge-candidate of its own and conflicts with #3518 in `host.rs`, `lower.rs` and `emit/mod.rs`. ### Run here (an AMD host: no cap) RX 7800 XT, Windows 11 26200, each PR's head as is. WARP on this Windows build takes a 2^21 heap too, so it cannot stand in for NVIDIA here. | PR head | `victory-gpu --lib` | `victory-shader --lib --features host` | |---|---|---| | #2461 | 229 / 0 failed | 302 / 0 | | #2885 | 234 / 0 | 304 / 0 | | #3512 | 232 / 0 | 302 / 0 | | #3518 | 232 / 0 | 303 / 0 | | #3518, `VICTORY_CAPPED_HEAP=1` (its capped layout on this card) | 232 / 0 | 303 / 0 | So none of them regresses an uncapped host, and #3518's remap passes the suites on hardware with the cap forced. #3518's red CI is `frame::tests::waits_end_on_ticks_and_count_frames`, a timing test outside its change. ### A suggested order 1. **#2461** (problem 1, the bot's merge-candidate, verified on 5090 and 5080 Laptop). Close #2683, #2628, #3476, #2185 and #2650 as covered, or have their authors rebase what is extra (#2628's dynamic range) onto it. 2. **#3518** rebased onto it (problem 2). It is the only PR that keeps the title's views past the cap, and the only one with an NVIDIA run that stays in the world. #2461's probe and #3518's capped-device detection overlap and should become one. 3. #3512, then one of #3419/#3300, then #2634 and #2937. These are small, so they are easy to rebase. The numbers above come from the PR threads, except for the AMD table. AI-assisted (Claude Code); the AMD runs are mine.
MannA-001 commented 2026-11-30 09:47:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by MannA-001 on 2026-11-30T09:47:59Z.


Follow-up to the comparison above: #2461 and #3518 stacked and made into one mechanism, so they can go in together without either author rebasing. @lhnizdo @danielibabet, this is your work. Take any of it into your PRs, or tell me what's wrong with it.

Branch: MannA-001/VIctory stack/heap-cap-2461-3518, at 826d6c6. It is main + #2461 (6544a52) + #3518 (df88467) + one merge commit with the resolutions below.

How the two fit together

  • Detection: #2461's probe decides whether a host is capped: the reported MaxViewDescriptorHeapSize, else a trial heap. VICTORY_CAPPED_HEAP=1 from #3518 now forces it there. #3518's own trial heap in Host::create is removed, and host::capped_heap() reads the probe.
  • Limit: a capped host gets PORTABLE_VIEWS (1,000,000) as its limit, whatever cap it reports, because #3518's direct, overflow and dynamic ranges are sized for that. Every capped device in these threads reports exactly 1,000,000. So view_heap_limit() and #3518's per-shader heap_views always agree.
  • Layout: #3518's remap replaces #2461's capped branch. That branch kept title slots below about 721k and left the rest out, on the note that the title's highest index seen is about 720,000. But this issue's log shows indices up to 964,903 of 1,245,184.
  • Cache key: keeps #2461's limit value, which implies capped. NULL_BUFFER_VIEW gives way to #2461's null_buffer_view().
  • Test: a_reported_view_heap_size_is_the_limit now expects the layout's size on a capped host, reported or forced.

Checks (RX 7800 XT, Windows 11; VICTORY_CAPPED_HEAP=1 puts the capped layout on this card):

victory-gpu --lib victory-shader --lib --features host
normal 233 / 0 failed 303 / 0
VICTORY_CAPPED_HEAP=1 233 / 0 (incl. #3518's remap test) 303 / 0 (incl. its remap tests)

cargo clippy -p victory-gpu -p victory-shader -p victory --all-targets -- -D warnings, with and without diagnostics: clean.

Not covered here: a real capped device. A run of this branch on an NVIDIA or Arc card (the two main failures, then a world load) is what would show it holds.

AI-assisted (Claude Code); the runs are mine.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7274701524 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3851#issuecomment-7274701524). Originally posted by [MannA-001](https://github.com/MannA-001) on 2026-11-30T09:47:59Z. --- Follow-up to the comparison above: #2461 and #3518 stacked and made into one mechanism, so they can go in together without either author rebasing. @lhnizdo @danielibabet, this is your work. Take any of it into your PRs, or tell me what's wrong with it. Branch: [MannA-001/VIctory `stack/heap-cap-2461-3518`](https://github.com/MannA-001/VIctory/tree/stack/heap-cap-2461-3518), at `826d6c6`. It is `main` + #2461 (`6544a52`) + #3518 (`df88467`) + one merge commit with the resolutions below. **How the two fit together** - **Detection:** #2461's probe decides whether a host is capped: the reported `MaxViewDescriptorHeapSize`, else a trial heap. `VICTORY_CAPPED_HEAP=1` from #3518 now forces it there. #3518's own trial heap in `Host::create` is removed, and `host::capped_heap()` reads the probe. - **Limit:** a capped host gets `PORTABLE_VIEWS` (1,000,000) as its limit, whatever cap it reports, because #3518's direct, overflow and dynamic ranges are sized for that. Every capped device in these threads reports exactly 1,000,000. So `view_heap_limit()` and #3518's per-shader `heap_views` always agree. - **Layout:** #3518's remap replaces #2461's capped branch. That branch kept title slots below about 721k and left the rest out, on the note that the title's highest index seen is about 720,000. But this issue's log shows indices up to 964,903 of 1,245,184. - **Cache key:** keeps #2461's limit value, which implies capped. `NULL_BUFFER_VIEW` gives way to #2461's `null_buffer_view()`. - **Test:** `a_reported_view_heap_size_is_the_limit` now expects the layout's size on a capped host, reported or forced. **Checks** (RX 7800 XT, Windows 11; `VICTORY_CAPPED_HEAP=1` puts the capped layout on this card): | | `victory-gpu --lib` | `victory-shader --lib --features host` | |---|---|---| | normal | 233 / 0 failed | 303 / 0 | | `VICTORY_CAPPED_HEAP=1` | 233 / 0 (incl. #3518's remap test) | 303 / 0 (incl. its remap tests) | `cargo clippy -p victory-gpu -p victory-shader -p victory --all-targets -- -D warnings`, with and without `diagnostics`: clean. **Not covered here:** a real capped device. A run of this branch on an NVIDIA or Arc card (the two `main` failures, then a world load) is what would show it holds. AI-assisted (Claude Code); the runs are mine.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory#3851
No description provided.