GPU, Shaders: a capped view heap clamps shader heap indices from the first shader #2626

Open
moe-miau wants to merge 3 commits from upstream-pr/2628 into main
moe-miau commented 2026-11-25 17:10:57 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-25T17:10:57Z.


Problem

On NVIDIA the shader-visible CBV/SRV/UAV heap holds at most 1,000,000 descriptors, while translated shaders clamp their heap indices below HEAP_VIEWS (2^21). main already rebuilds tables past the cap and falls back to fewer dynamic slots (3827767, 3c81420, e8d3b64). The translator still lets a shader index anywhere below HEAP_VIEWS, including programs translated before the title made its heap. On a capped heap those indices name descriptors that do not exist.

On an RTX 4070 SUPER this is visible in main's own tests. cargo test -p victory-gpu fails dynamic_slots_are_held_until_released and lists_share_a_table_and_copies_keep_their_views (NumDescriptors >= HEAP_VIEWS).

Change

  • Before the first translation, the host probes whether it can make the full HEAP_VIEWS view heap (portable_view_heap). If it cannot, every heap uses the portable layout (PORTABLE_VIEWS, MIN_DYNAMIC dynamic slots).
  • The translator gets that limit (emit::Options::view_heap_limit). Indices at or past it go to null views.
  • The shader's last three slots stay reserved for the null UAV, SRV and general view on every heap, large or capped. Mirrored and dynamic slots end before them (view_layout), so a redirected index never reaches a live resource.
  • An index the title takes from the heap itself past its own slots (PORTABLE_TITLE_VIEWS) reads the null view, so it never reaches the dynamic slots that follow them. Table indices keep the heap-wide clamp.
  • The limit is part of the shader cache key.
  • Raw-memory view pairs keep their own range.
  • A capped heap keeps all 2^18 dynamic slots (main drops to 2^16 there, which ran out in game). The title keeps about 737,000 slots, above the highest it was seen to use (about 720,000).
  • On a host whose heap holds HEAP_VIEWS, the layout matches main.

Ported from Zettrox/ztrx (commit 578d459: probe_view_limit, set_view_heap_limit), which is based on fxceless/victory-fork. Both are GPL-3.0-or-later. Unlike the fork, the probe asks for the size actually used (HEAP_VIEWS, not 1,000,001), and the null slots are reserved on large heaps too.

Tested

RTX 4070 SUPER, driver 32.0.16.1742, Windows 11 26300.

  • cargo test -p victory-gpu --locked: 197 passed, 0 failed (also at 36ccd6e); main fails the two tests above here. New tests cover the probe choosing the layout before translation, every requested heap size, and mirrored and dynamic slots ending before the null views.
  • cargo test -p victory-shader --lib, with --skip heap_direct_texture_reads_mark_their_heap_index, which crashes the test process on main here too: 267 passed. 3 failed (stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride, a_heap_buffer_read_where_no_buffer_view_is_reads_zeros, synthetic_tests::gathers_at_a_level_match_the_hardware), as on main with NVIDIA.
  • cargo clippy --workspace --all-targets --locked -- -D warnings, also with --all-features: clean. cargo xtask policy: ok.
  • In game, together with the packed-format PR: 67e8ae1 + #1906 + #2098 + both PRs runs 6 min without a device removal and reaches the world. main + #1906 + #2098 dies at 30 s on the format-115 target, which is the other PR's fix. With review fixes folded in (head 11339f3), a second 6-minute run: no device removal, no host texture 0, 141 compute pipelines refused (the WaveSize(64) programs of #189). The world stays black at about 8 s a frame on this stack because it leaves out #2178 (structured views as raw), which no longer merges with main. That run still dropped draws for lack of dynamic slots (40 times); with 36ccd6e (the full dynamic range) a third 6-minute run dropped none, with no device removal.

AI-assisted (Claude Code, with a review pass by Codex). Runs done on my machine.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6609702854 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-25T17:10:57Z. --- ## Problem On NVIDIA the shader-visible CBV/SRV/UAV heap holds at most 1,000,000 descriptors, while translated shaders clamp their heap indices below `HEAP_VIEWS` (2^21). `main` already rebuilds tables past the cap and falls back to fewer dynamic slots (`3827767`, `3c81420`, `e8d3b64`). The translator still lets a shader index anywhere below `HEAP_VIEWS`, including programs translated before the title made its heap. On a capped heap those indices name descriptors that do not exist. On an RTX 4070 SUPER this is visible in `main`'s own tests. `cargo test -p victory-gpu` fails `dynamic_slots_are_held_until_released` and `lists_share_a_table_and_copies_keep_their_views` (`NumDescriptors >= HEAP_VIEWS`). ## Change - Before the first translation, the host probes whether it can make the full `HEAP_VIEWS` view heap (`portable_view_heap`). If it cannot, every heap uses the portable layout (`PORTABLE_VIEWS`, `MIN_DYNAMIC` dynamic slots). - The translator gets that limit (`emit::Options::view_heap_limit`). Indices at or past it go to null views. - The shader's last three slots stay reserved for the null UAV, SRV and general view on every heap, large or capped. Mirrored and dynamic slots end before them (`view_layout`), so a redirected index never reaches a live resource. - An index the title takes from the heap itself past its own slots (`PORTABLE_TITLE_VIEWS`) reads the null view, so it never reaches the dynamic slots that follow them. Table indices keep the heap-wide clamp. - The limit is part of the shader cache key. - Raw-memory view pairs keep their own range. - A capped heap keeps all 2^18 dynamic slots (`main` drops to 2^16 there, which ran out in game). The title keeps about 737,000 slots, above the highest it was seen to use (about 720,000). - On a host whose heap holds `HEAP_VIEWS`, the layout matches `main`. Ported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx) (commit `578d459`: `probe_view_limit`, `set_view_heap_limit`), which is based on [fxceless/victory-fork](https://github.com/fxceless/victory-fork). Both are GPL-3.0-or-later. Unlike the fork, the probe asks for the size actually used (`HEAP_VIEWS`, not 1,000,001), and the null slots are reserved on large heaps too. ## Tested RTX 4070 SUPER, driver 32.0.16.1742, Windows 11 26300. - `cargo test -p victory-gpu --locked`: 197 passed, **0 failed** (also at `36ccd6e`); `main` fails the two tests above here. New tests cover the probe choosing the layout before translation, every requested heap size, and mirrored and dynamic slots ending before the null views. - `cargo test -p victory-shader --lib`, with `--skip heap_direct_texture_reads_mark_their_heap_index`, which crashes the test process on `main` here too: 267 passed. 3 failed (`stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride`, `a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`, `synthetic_tests::gathers_at_a_level_match_the_hardware`), as on `main` with NVIDIA. - `cargo clippy --workspace --all-targets --locked -- -D warnings`, also with `--all-features`: clean. `cargo xtask policy`: ok. - In game, together with the packed-format PR: `67e8ae1` + #1906 + #2098 + both PRs runs 6 min without a device removal and reaches the world. `main` + #1906 + #2098 dies at 30 s on the format-115 target, which is the other PR's fix. With review fixes folded in (head `11339f3`), a second 6-minute run: no device removal, `no host texture` 0, 141 compute pipelines refused (the `WaveSize(64)` programs of #189). The world stays black at about 8 s a frame on this stack because it leaves out #2178 (structured views as raw), which no longer merges with `main`. That run still dropped draws for lack of dynamic slots (40 times); with `36ccd6e` (the full dynamic range) a third 6-minute run dropped none, with no device removal. AI-assisted (Claude Code, with a review pass by Codex). Runs done on my machine. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DrDarkDK commented 2026-11-25 18:02:22 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DrDarkDK on 2026-11-25T17:25:03Z.

Review: CHANGES_REQUESTED


I ran a standalone D3D12 probe that explicitly selected the RTX 4070 Ti (driver 621.01, Windows 11 build 26300).

Shader-visible CBV/SRV/UAV slots requested CreateDescriptorHeap
2,097,152 E_INVALIDARG
1,000,001 E_INVALIDARG
1,000,000 S_OK

For a large title heap on this layout, the dynamic range starts at 737_853. The direct texture heap clamp checks the physical limit, so a title index like 800_000 passes the clamp and can select a live dynamic descriptor. That index was still in the mirrored title range on the base.

Could direct title-heap accesses check the mirrored range separately from host-generated indices? A focused test could populate a dynamic slot and verify that a title-derived index with the same number resolves to a null view.

The probe confirms the heap size. I traced the descriptor overlap in the code and didn’t run the PR or the title.

AI-assisted with Codex.

<!-- greyfinch-sync:Marvisak/VIctory:review:6062021971 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#pullrequestreview-6062021971). Originally posted by [DrDarkDK](https://github.com/DrDarkDK) on 2026-11-25T17:25:03Z. **Review:** CHANGES_REQUESTED --- I ran a standalone D3D12 probe that explicitly selected the RTX 4070 Ti (driver 621.01, Windows 11 build 26300). | Shader-visible CBV/SRV/UAV slots requested | `CreateDescriptorHeap` | | ---: | --- | | 2,097,152 | `E_INVALIDARG` | | 1,000,001 | `E_INVALIDARG` | | 1,000,000 | `S_OK` | For a large title heap on this layout, the dynamic range starts at `737_853`. The direct texture heap clamp checks the physical limit, so a title index like `800_000` passes the clamp and can select a live dynamic descriptor. That index was still in the mirrored title range on the base. Could direct title-heap accesses check the mirrored range separately from host-generated indices? A focused test could populate a dynamic slot and verify that a title-derived index with the same number resolves to a null view. The probe confirms the heap size. I traced the descriptor overlap in the code and didn’t run the PR or the title. *AI-assisted with Codex.*
moe-miau commented 2026-11-25 18:02:43 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-25T17:21:29Z.


Overlaps #2461 (lhnizdo), the same port from victory-fork/ztrx, opened earlier today. #2461 conflicts with main now; this one merges. I took #2461's point about the dynamic range: 36ccd6e keeps all 2^18 dynamic slots on a capped heap, after a game run here dropped draws with 2^16. If #2461 is rebased and preferred, close this one.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7169386812 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7169386812). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-25T17:21:29Z. --- Overlaps #2461 (lhnizdo), the same port from victory-fork/ztrx, opened earlier today. #2461 conflicts with `main` now; this one merges. I took #2461's point about the dynamic range: `36ccd6e` keeps all 2^18 dynamic slots on a capped heap, after a game run here dropped draws with 2^16. If #2461 is rebased and preferred, close this one.
moe-miau commented 2026-11-25 18:02:52 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-25T17:51:04Z.


@DrDarkDK Thanks, you're right. Moving the dynamic slots down to the title's end (36ccd6e) let a title index from about 737,853 to 999,996 reach a live dynamic descriptor. On main that index was still a title slot. Fixed in 46d530a:

  • emit::PORTABLE_TITLE_VIEWS (= 1,000,000 − 3 − 2^18 = 737,853) is the title's slot count on the portable heap. Shader::clamp_title_heap_index sends a title index past it to the general null view, view_limit - 1.
  • It is applied in buffer_guard, which every heap-handle path goes through, but only when every path of the descriptor comes from the resource heap itself (is_heap_only). Table indices may name dynamic slots (tables rebuilt per draw), so they keep the heap-wide clamp. The stride lookup for heap-direct buffer reads (view_stride) uses the same clamp.
  • The GPU layout asserts at compile time that PORTABLE_TITLE_VIEWS == PORTABLE_VIEWS - 3 - DYNAMIC, and the layout test checks that a large title heap gets exactly that many slots. If either side changes, the build fails.
  • Hosts with a full HEAP_VIEWS heap are unchanged: the clamp returns the index as it is.

Tests: the new bitcode::tests::title_indices_past_the_portable_title_slots_read_the_null_view checks the redirect on the portable heap and that there is none on the full heap. victory-gpu: 197 passed, 0 failed. victory-shader --lib: 268 passed, and the same 3 NVIDIA failures as main. Clippy is clean in both configurations, and xtask policy is ok.

I didn't write the end-to-end test you suggested (fill a dynamic slot, read a title index with the same number). The shader test harness doesn't build the host's heap layout, so it would mean new harness work. The unit test checks the generated select and compare instead.

In game (RTX 4070 SUPER, with #2464 on top so that the world draws): a 6-minute run with no device removal, no draws dropped for lack of dynamic slots, and the world draws at 0.6–1.7 fps.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170087728 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7170087728). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-25T17:51:04Z. --- @DrDarkDK Thanks, you're right. Moving the dynamic slots down to the title's end (`36ccd6e`) let a title index from about 737,853 to 999,996 reach a live dynamic descriptor. On `main` that index was still a title slot. Fixed in `46d530a`: - `emit::PORTABLE_TITLE_VIEWS` (= 1,000,000 − 3 − 2^18 = 737,853) is the title's slot count on the portable heap. `Shader::clamp_title_heap_index` sends a title index past it to the general null view, `view_limit - 1`. - It is applied in `buffer_guard`, which every heap-handle path goes through, but only when every path of the descriptor comes from the resource heap itself (`is_heap_only`). Table indices may name dynamic slots (tables rebuilt per draw), so they keep the heap-wide clamp. The stride lookup for heap-direct buffer reads (`view_stride`) uses the same clamp. - The GPU layout asserts at compile time that `PORTABLE_TITLE_VIEWS == PORTABLE_VIEWS - 3 - DYNAMIC`, and the layout test checks that a large title heap gets exactly that many slots. If either side changes, the build fails. - Hosts with a full `HEAP_VIEWS` heap are unchanged: the clamp returns the index as it is. Tests: the new `bitcode::tests::title_indices_past_the_portable_title_slots_read_the_null_view` checks the redirect on the portable heap and that there is none on the full heap. `victory-gpu`: 197 passed, 0 failed. `victory-shader --lib`: 268 passed, and the same 3 NVIDIA failures as `main`. Clippy is clean in both configurations, and `xtask policy` is ok. I didn't write the end-to-end test you suggested (fill a dynamic slot, read a title index with the same number). The shader test harness doesn't build the host's heap layout, so it would mean new harness work. The unit test checks the generated select and compare instead. In game (RTX 4070 SUPER, with #2464 on top so that the world draws): a 6-minute run with no device removal, no draws dropped for lack of dynamic slots, and the world draws at 0.6–1.7 fps.
kotekompotek commented 2026-11-25 18:02:53 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T17:52:20Z.


Reviewed: pulling PORTABLE_VIEWS/HEAP_VIEWS/HEAP_SAMPLERS from victory_shader::emit makes the shader-side index clamps and the host heap cap come from one constant — the right dependency direction (the compiler must know what the runtime caps). The visible_heap probe for tier-3 extra capacity is a clean capability check. CI pending at review time.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170117116 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7170117116). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T17:52:20Z. --- Reviewed: pulling `PORTABLE_VIEWS`/`HEAP_VIEWS`/`HEAP_SAMPLERS` from `victory_shader::emit` makes the shader-side index clamps and the host heap cap come from one constant — the right dependency direction (the compiler must know what the runtime caps). The `visible_heap` probe for tier-3 extra capacity is a clean capability check. CI pending at review time.
alonso49noob commented 2026-11-25 19:06:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by alonso49noob on 2026-11-25T18:08:42Z.


First independent run, on Blackwell: RTX 5060 8 GB, driver 621.01, Windows 11, Rust 1.98.1. Base is main 13f91ca + #2357 + #2587, so the shader suite is not stopped by the #2571 crash or the two fixture failures. These are local merges, and each tree is built in its own target dir.

tree cargo test -p victory-gpu --lib cargo test -p victory-shader --lib
base 193 passed, 2 failed (dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views) 270 passed, 1 failed (a_heap_buffer_read_where_no_buffer_view_is_reads_zeros)
base + this PR (36ccd6e) 197 passed, 0 failed 271 passed, 1 failed (same test)
base + #1777 (bd76752), for comparison 197 passed, 0 failed 271 passed, 0 failed

This PR merges cleanly onto 13f91ca together with #2357 and #2587. The shader test that still fails stops at stride_tests.rs:352 with dispatch failed (E_INVALIDARG). The shader crate's own test host still makes the View::NullBuffers heap with HEAP_VIEWS slots (emit/host.rs:1466), and this PR does not change that host. #1777 sizes that heap with heap_views(), which is why the test passes there. This matches the result reported above on the 4070 SUPER, so it is outside this PR's scope rather than a regression.

Written with AI help (Claude Code); the numbers are from runs on my machine.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170501420 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7170501420). Originally posted by [alonso49noob](https://github.com/alonso49noob) on 2026-11-25T18:08:42Z. --- First independent run, on Blackwell: RTX 5060 8 GB, driver 621.01, Windows 11, Rust 1.98.1. Base is `main` `13f91ca` + #2357 + #2587, so the shader suite is not stopped by the #2571 crash or the two fixture failures. These are local merges, and each tree is built in its own target dir. | tree | `cargo test -p victory-gpu --lib` | `cargo test -p victory-shader --lib` | |---|---|---| | base | 193 passed, 2 failed (`dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views`) | 270 passed, 1 failed (`a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`) | | base + this PR (`36ccd6e`) | **197 passed, 0 failed** | 271 passed, 1 failed (same test) | | base + #1777 (`bd76752`), for comparison | 197 passed, 0 failed | 271 passed, 0 failed | This PR merges cleanly onto `13f91ca` together with #2357 and #2587. The shader test that still fails stops at `stride_tests.rs:352` with `dispatch failed` (E_INVALIDARG). The shader crate's own test host still makes the `View::NullBuffers` heap with `HEAP_VIEWS` slots (`emit/host.rs:1466`), and this PR does not change that host. #1777 sizes that heap with `heap_views()`, which is why the test passes there. This matches the result reported above on the 4070 SUPER, so it is outside this PR's scope rather than a regression. Written with AI help (Claude Code); the numbers are from runs on my machine.
Vedoxdev123 commented 2026-11-25 19:06:42 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Vedoxdev123 on 2026-11-25T18:57:49Z.


RTX 4060 test (AI-assisted)
Windows 64-bit, Ryzen 5 5600X, GeForce RTX 4060 (8 GB), on main 13f91ca + this PR (46d530a).

  • cargo test -p victory-gpu --lib: 197 passed, 0 failed, 1 ignored (main: 193 passed, 2 failed).
  • cargo test -p victory-shader --lib with --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index (it crashes the process on main, #2571): 268 passed, 3 failed, 3 ignored (main: 266 passed, 3 failed). The 3 are the known NVIDIA ones, including a_heap_buffer_read_where_no_buffer_view_is_reads_zeros (dispatch failed: The parameter is incorrect., the same as main).
<!-- greyfinch-sync:Marvisak/VIctory:comment:7171638122 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7171638122). Originally posted by [Vedoxdev123](https://github.com/Vedoxdev123) on 2026-11-25T18:57:49Z. --- **RTX 4060 test (AI-assisted)** Windows 64-bit, Ryzen 5 5600X, GeForce RTX 4060 (8 GB), on `main` `13f91ca` + this PR (`46d530a`). - `cargo test -p victory-gpu --lib`: **197 passed, 0 failed, 1 ignored** (`main`: 193 passed, 2 failed). - `cargo test -p victory-shader --lib` with `--skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index` (it crashes the process on `main`, #2571): **268 passed, 3 failed, 3 ignored** (`main`: 266 passed, 3 failed). The 3 are the known NVIDIA ones, including `a_heap_buffer_read_where_no_buffer_view_is_reads_zeros` (`dispatch failed: The parameter is incorrect.`, the same as `main`).
moe-miau commented 2026-11-25 19:06:44 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-25T19:04:43Z.


Thanks @alonso49noob and @Vedoxdev123 for the RTX 5060 and 4060 runs: the same 197/0 here. Agreed on a_heap_buffer_read_where_no_buffer_view_is_reads_zeros: it fails because the shader crate's own test host (emit/host.rs) still makes its null-buffer heap with HEAP_VIEWS slots, which this PR leaves alone on purpose. #1777 sizes that heap, so the two together clear it.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7171790002 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7171790002). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-25T19:04:43Z. --- Thanks @alonso49noob and @Vedoxdev123 for the RTX 5060 and 4060 runs: the same 197/0 here. Agreed on `a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`: it fails because the shader crate's own test host (`emit/host.rs`) still makes its null-buffer heap with `HEAP_VIEWS` slots, which this PR leaves alone on purpose. #1777 sizes that heap, so the two together clear it.
Marvisak commented 2026-11-25 23:06:03 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:16:06Z.


Automated triage for the maintainers.

Thanks. Noted: if #1777 lands first, you will rebase this as a follow-up that keeps only the full DYNAMIC range and the title-index null redirect. The verdict stays the same (needs the maintainer's decision between this PR and #1777). CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7176147672 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7176147672). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T22:16:06Z. --- <!-- victory-triage v1 head=e2cdafe560fb6b601757a8ec921e352726e6662e verdict=needs-work at=2026-11-26T07:18:22Z --> Automated triage for the maintainers. Thanks. Noted: if #1777 lands first, you will rebase this as a follow-up that keeps only the full `DYNAMIC` range and the title-index null redirect. The verdict stays the same (needs the maintainer's decision between this PR and #1777). CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
moe-miau commented 2026-11-26 05:04:13 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by moe-miau on 2026-11-26T04:30:23Z.


On the choice with #1777: whichever the maintainer prefers. If #1777 lands, I'll rebase this onto it as a follow-up carrying only what #1777 doesn't have: the full DYNAMIC range on a capped heap (with MIN_DYNAMIC the RTX 4070 SUPER dropped draws for want of dynamic slots in the cutscene) and the title-index redirect past PORTABLE_TITLE_VIEWS to the null view (DrDarkDK's review case). If this one is preferred, I'm happy to credit #1777's author for the probe.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182653695 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2628#issuecomment-7182653695). Originally posted by [moe-miau](https://github.com/moe-miau) on 2026-11-26T04:30:23Z. --- On the choice with #1777: whichever the maintainer prefers. If #1777 lands, I'll rebase this onto it as a follow-up carrying only what #1777 doesn't have: the full `DYNAMIC` range on a capped heap (with `MIN_DYNAMIC` the RTX 4070 SUPER dropped draws for want of dynamic slots in the cutscene) and the title-index redirect past `PORTABLE_TITLE_VIEWS` to the null view (DrDarkDK's review case). If this one is preferred, I'm happy to credit #1777's author for the probe.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2628:upstream-pr/2628'
git switch 'upstream-pr/2628'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2628'
git switch 'upstream-pr/2628'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2628'
git switch 'upstream-pr/2628'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2628'
git switch 'main'
git merge --squash 'upstream-pr/2628'
git switch 'main'
git merge --ff-only 'upstream-pr/2628'
git switch 'main'
git merge 'upstream-pr/2628'
git push origin 'main'
Sign in to join this conversation.
No reviewers
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!2626
No description provided.