Card memory: send buffers used again, structures in shared blocks, textures placed tight (on #262) #306

Open
github-bot wants to merge 7 commits from github-bot/gh-306 into main AGit
Owner

@⁠LOCKhart07 on GitHub · 2026-12-03 10:06 UTC · original
LOCKhart07:vram-fixes → main · +19092 −133 · 31 files · 7 commits · open

These depend on each other. Merge order: #262, then #274 and #306 in either order, then #323, then #328.

  • #262: hardware ray tracing by ray queries and a builder tap (VICTORY_HW_RT=1). The base; merge first.
  • #274: run the title's structure builder only where its result is read (VICTORY_HW_RT_LEAN_BUILDER=1). On #262.
  • #306: card memory: send buffers used again, structures in shared blocks, textures placed tight. On #262. (this one)
  • #323: build idle updatable structures again as compact ones (VICTORY_HW_RT_DEMOTE=1). On #306.
  • #328: empty sparse blocks of long-lived structures and give them back (VICTORY_HW_RT_PACK=1). On #323.

All five together, current with main: #342.

#274 and #306 are both on #262 and not on each other. #323 has #306's commits in it until that merges.


Stacked on #262: the first commits here are that PR's, and only the last three are new. Until #262 merges, read those three (or compare hw-rt-queries...vram-fixes).

Three changes to how much of the card's memory the runtime holds, each its own commit, each measured from one run's own report lines on an RX 9070 XT (RADV), 2560x1440 native, six minutes with the camera turning, VICTORY_HW_RT=1.

1. Send memory: buffers used again, idle ones let go

Every submission in flight made an upload buffer of its own and a buffer given back was used again only by a request of exactly its size, so most were made new. About 570 MB of them stood on the card at the end of a six minute run.

Buffers are now made at powers of two and kept spare for the next request; spare ones not taken for 10 s go, through host::retire.

before after
alive at the end of the run ~570 MB 0.9 MB (3 buffers)
made in the run 6

2. Bottom-level structures in shared blocks, by how long they live

Every host bottom-level structure was a committed buffer of its own: 73,703 buffers made in 6.9 s of one play (the longest 73 ms), 363 MB lost to 64 KiB placement.

They are now cut from 64 MiB blocks at 4 KiB (VICTORY_HW_RT_ARENA, on by default; =0 is the old way). Two sets of blocks: one for structures built in full and not updatable, which are compacted or replaced within moments, one for those that stay. In one set the short-lived left holes among the long-lived and no block ever emptied (1,664 MB of blocks for 888 MB of structures); in two, 1,280 MB for 1,023 MB with nothing resting, and the short-lived set's blocks do go back (6 made, 4 given back).

a buffer each blocks
structure buffers made 73,703 in 6.9 s (longest 73 ms) 32 in 11 ms (longest 5 ms)

The gain is the buffers no longer made. The bytes are about what the buffers took; the two figures are from different scenes, so this is not claimed as a saving.

3. Texture blocks: tight alignment

Every texture cut from a texture block took a multiple of 64 KiB, and most of the title's textures are small: 1,599 MB of copy footprints lay in 2,760 MB of pieces.

A texture is now asked with D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT where the host reports the tier, and its piece is exactly the size at the alignment the host answers. A host without the tier is asked as before.

before after
lost to the pieces' rounding 1,161 MB 108 MB
texture loaded (copy footprints) 1,599 MB 2,014 MB
texture blocks alive 64 56
slots held back for want of room on the card 152 0
host copies let go for room, whole run 6,495 MB 3,359 MB
card in use 13,326 MB 13,020 MB

Part of what was saved went to textures that had been held back for room; the rest shows as lower use. The two columns are consecutive runs of a streaming scene, not a controlled pair.

On the earlier 4 KiB placement (VICTORY_POOL_SMALL, removed after two device losses): what those were was not proven, and I could not make them happen. The new test pool::tests::small_textures_placed_back_to_back_keep_their_own_bytes places 11 kinds of small texture three times over back to back, starting at the offset and with the kind of texture of those losses, in each way of asking (alignment 0, 4 KiB, the flag). Every level is written with bytes of its own, read back by a copy, then read by a shader through a whole-chain view and a per-level view and compared with the same texture on a 64 KiB multiple: 500 reads compared, none differ. Unlike that code, this asks once (the flag is never refused, where a 4 KiB request is for a large texture) and makes the texture with the description the size was asked for.

What to know before merging

  • All figures are from one card and one driver. RADV on this card lays small non-attachment textures out at 4 KiB, so nothing is padded; on a host where the driver wants more, vkd3d-proton pads the size it reports, which the piece then covers. I have not run that case.
  • The whole-crate test run is not what I ran: tests were run by module (pool 14, hwrt 47, host::send 6, resource 16, texture 11, all passing), because an unrelated test crashes under Wine here.
  • All three runs: no error line, every hardware ray-tracing loss counter 0, no device loss, and the picture looked right.

New report lines

What submissions send up; host buffers by who makes them; the blocks of structures of each set; the build memory (held, asked against handed out, buffers made, the spare by size and how much of it sat untaken); texture blocks by fill with footprints against pieces; texture queue slots held back for room.

🤖 Generated with Claude Code

**@⁠LOCKhart07** on GitHub · 2026-12-03 10:06 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/306) `LOCKhart07:vram-fixes` → `main` · +19092 −133 · 31 files · 7 commits · open ## Related pull requests These depend on each other. Merge order: #262, then #274 and #306 in either order, then #323, then #328. - #262: hardware ray tracing by ray queries and a builder tap (`VICTORY_HW_RT=1`). The base; merge first. - #274: run the title's structure builder only where its result is read (`VICTORY_HW_RT_LEAN_BUILDER=1`). On #262. - #306: card memory: send buffers used again, structures in shared blocks, textures placed tight. On #262. **(this one)** - #323: build idle updatable structures again as compact ones (`VICTORY_HW_RT_DEMOTE=1`). On #306. - #328: empty sparse blocks of long-lived structures and give them back (`VICTORY_HW_RT_PACK=1`). On #323. All five together, current with main: #342. #274 and #306 are both on #262 and not on each other. #323 has #306's commits in it until that merges. --- Stacked on #262: the first commits here are that PR's, and only the last three are new. Until #262 merges, read those three (or compare `hw-rt-queries...vram-fixes`). Three changes to how much of the card's memory the runtime holds, each its own commit, each measured from one run's own report lines on an RX 9070 XT (RADV), 2560x1440 native, six minutes with the camera turning, `VICTORY_HW_RT=1`. ## 1. Send memory: buffers used again, idle ones let go Every submission in flight made an upload buffer of its own and a buffer given back was used again only by a request of exactly its size, so most were made new. About 570 MB of them stood on the card at the end of a six minute run. Buffers are now made at powers of two and kept spare for the next request; spare ones not taken for 10 s go, through `host::retire`. | | before | after | |---|---|---| | alive at the end of the run | ~570 MB | 0.9 MB (3 buffers) | | made in the run | | 6 | ## 2. Bottom-level structures in shared blocks, by how long they live Every host bottom-level structure was a committed buffer of its own: 73,703 buffers made in 6.9 s of one play (the longest 73 ms), 363 MB lost to 64 KiB placement. They are now cut from 64 MiB blocks at 4 KiB (`VICTORY_HW_RT_ARENA`, on by default; `=0` is the old way). Two sets of blocks: one for structures built in full and not updatable, which are compacted or replaced within moments, one for those that stay. In one set the short-lived left holes among the long-lived and no block ever emptied (1,664 MB of blocks for 888 MB of structures); in two, 1,280 MB for 1,023 MB with nothing resting, and the short-lived set's blocks do go back (6 made, 4 given back). | | a buffer each | blocks | |---|---|---| | structure buffers made | 73,703 in 6.9 s (longest 73 ms) | 32 in 11 ms (longest 5 ms) | The gain is the buffers no longer made. The bytes are about what the buffers took; the two figures are from different scenes, so this is not claimed as a saving. ## 3. Texture blocks: tight alignment Every texture cut from a texture block took a multiple of 64 KiB, and most of the title's textures are small: 1,599 MB of copy footprints lay in 2,760 MB of pieces. A texture is now asked with `D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT` where the host reports the tier, and its piece is exactly the size at the alignment the host answers. A host without the tier is asked as before. | | before | after | |---|---|---| | lost to the pieces' rounding | 1,161 MB | 108 MB | | texture loaded (copy footprints) | 1,599 MB | 2,014 MB | | texture blocks alive | 64 | 56 | | slots held back for want of room on the card | 152 | 0 | | host copies let go for room, whole run | 6,495 MB | 3,359 MB | | card in use | 13,326 MB | 13,020 MB | Part of what was saved went to textures that had been held back for room; the rest shows as lower use. The two columns are consecutive runs of a streaming scene, not a controlled pair. On the earlier 4 KiB placement (`VICTORY_POOL_SMALL`, removed after two device losses): what those were was not proven, and I could not make them happen. The new test `pool::tests::small_textures_placed_back_to_back_keep_their_own_bytes` places 11 kinds of small texture three times over back to back, starting at the offset and with the kind of texture of those losses, in each way of asking (alignment 0, 4 KiB, the flag). Every level is written with bytes of its own, read back by a copy, then read by a shader through a whole-chain view and a per-level view and compared with the same texture on a 64 KiB multiple: 500 reads compared, none differ. Unlike that code, this asks once (the flag is never refused, where a 4 KiB request is for a large texture) and makes the texture with the description the size was asked for. ## What to know before merging - All figures are from one card and one driver. RADV on this card lays small non-attachment textures out at 4 KiB, so nothing is padded; on a host where the driver wants more, vkd3d-proton pads the size it reports, which the piece then covers. I have not run that case. - The whole-crate test run is not what I ran: tests were run by module (`pool` 14, `hwrt` 47, `host::send` 6, `resource` 16, `texture` 11, all passing), because an unrelated test crashes under Wine here. - All three runs: no error line, every hardware ray-tracing loss counter 0, no device loss, and the picture looked right. ## New report lines What submissions send up; host buffers by who makes them; the blocks of structures of each set; the build memory (held, asked against handed out, buffers made, the spare by size and how much of it sat untaken); texture blocks by fill with footprints against pieces; texture queue slots held back for room. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The title's ray-tracing programs walk the console's structures in a loop
of their own. With VICTORY_HW_RT=1 the translator recognises each such
loop and writes a DXIL RayQuery in its place, keeping the title's own
hit tests, masks and ordering rules as the candidate and commit steps.
A loop it cannot prove equivalent stays as translated before.

Ported from VIctory-NVIDIA PR #3706 (GPL-3.0), with the lifter's
exactness rules of dakisback2/VIctory-Nvidia-Linux (85b0b11b, 5485daf7)
by way of Leslie-d-a/VIctory-NVIDIA-HWRT; see the header of
emit/rayquery.rs.

New here: the 14 loops those leave unlifted (6 programs, given a forced
miss there). The console compiler reuses three registers as loop scratch
on the lanes that run the loop and reads their old values on the lanes
that do not; the lane sets pass through mask joins the lifter could not
relate. Joins whose inputs are all one mask now collapse to it, and the
reading lanes are refuted against the loop's entry lanes by an exact
search (Bools::sat_with; out of budget refuses). All 64 ray-tracing
programs and their 397 loops lift and pass the DXIL validator.

Two fixes on the way, with the switch off too (translator version up):
the sign of zero in v_mad_legacy, and partial stores through a counter
view. Apart from those, the output with the switch off is unchanged.

`victory translate` names an emit panic per program and prints a
ray-tracing summary. A run refuses the switch until the host side is in.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The host side of the lifted ray queries. Started from VIctory-NVIDIA
PR #3706 (GPL-3.0) as ported to RADV by
MJ26gaming/victory-rdna4-linux-rt-MJ26 365fad515; see the header of
hwrt.rs for what was taken and what was left out.

The title's structure builder keeps running (a tap, not a replacement):
its build, refit and copy calls are passed on, and the same triangles
and instances go into host bottom- and top-level structures that the
lifted programs trace.

- Inputs follow the console builder's rules: only a NaN in X makes a
  triangle inactive; infinite and far positions pass through; indices
  and meshlets past the stated counts read the title's real bytes.
  Every departure is counted by what it changed, and bytes that cannot
  be read are a counted loss, never a silent zero.
- No budget evicts a structure and no instance is masked.
- Host work is recorded in the title's lists at the title's call, and a
  ledger keeps it in the card's order. Structures that are not refit
  are compacted exactly.
- Loss counters are printed with the frame-rate lines; all 0 over the
  check runs.
- VICTORY_RT_STAMPS=rt (diagnostics) stamps only the ray-tracing
  dispatches and the host builds. Over two 5 minute runs in the same
  place: trace passes 5.4 ms a frame as translated loops, 0.9 ms as
  ray queries, plus 0.5 ms for the host builds.
- A run takes VICTORY_HW_RT=1. Not yet checked hit for hit against the
  console's own walk on a captured frame.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
In free play the host structures grew past 7 GB in a few minutes and
kept growing. Measured by what each buffer holds, almost all of it was
structures kept at the driver's largest size:

- An updatable structure costs about four times a compacted one's bytes
  a triangle on RADV (its refit needs a fixed leaf region), and the
  title allows updates of many structures it never updates, or updates
  once. A structure is now built without ALLOW_UPDATE on the host, and
  becomes updatable only when the title updates it again within a
  second of its last update; an update short of that is built in full,
  the same triangles.
- Every structure built without ALLOW_UPDATE is compacted by the host
  once built, through the tickets the title's own COMPACT copies use:
  rehydrates (ready-made on the console, never copied by the title) and
  the title's builds it does not copy.
- Structures the title builds over are dropped: the builder's own
  prebuild sizes are tapped, and a structure kept at an address inside
  the bytes a new build was given goes, as with freed title memory.

The report says where the bytes are: alive by what they hold, in the
tap's map or outside it, updatable ones by their last update and by
how many updates they had, the host's own cost (buffers made,
compaction points), and the console's bytes next to the host's where
the console's are known. An event the card's order refuses is logged
with what the ledger held there.

Over a 3 minute drive: 7.3 GB and growing before; steady between 2.1
and 2.5 GB after, every loss counter 0.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Four files of the shader crate conflicted with #283, which fixed the same two things another way:

- legacy_fmad's zero addend: kept this branch's form, worked on the bits (-0 gives +0, and a NaN addend comes out quieted as the console's arithmetic gives it); main's comparison against zero covers the sign alone.
- the joined mask and number test, the image store test and the container hash test: kept this branch's, which check more (a full and a partial wave, every channel mask against the store of one, the validator's hash).

TRANSLATOR_VERSION 14: main's 13 is the legacy multiply, and this branch changes the legacy mad's NaN and partial stores through a counter view with the switch off.

Shader crate tests: 412 passed, 0 failed. The gpu crate's hardware ray-tracing tests: 43 passed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Every submission in flight made an upload buffer of its own for what it sends up, sized to what was asked, and kept it until the submission was done. A buffer given back was used again only by a request of the same size, so most were made new: about 570 MB of them stood on the card at the end of a six minute run.

Now a buffer is made at the next power of two (64 KiB at least) and, once its submission is done, kept spare for the next request of that size. Spare buffers not taken for 10 s are let go, and so is what passes 768 MB of spare; both go through host::retire, as other memory the card may still read.

Measured on an RX 9070 XT (RADV), 2560x1440, six minutes with the camera turning, hardware ray tracing on: 3 buffers alive (0.9 MB), 6 made in the whole run, 3 let go by the trim, none for the cap. Three runs, no error line, no device loss.

Two report lines say it: what submissions send up (alive, in flight, spare, made, let go), and the host's buffers by who makes them.

Tests: host::send, 6 passed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Every host bottom-level structure was a committed buffer of its own: 73,703 buffers made in 6.9 s of one play (the longest 73 ms), and 363 MB lost to their 64 KiB placement.

Now they are cut from 64 MiB blocks at 4 KiB (VICTORY_HW_RT_ARENA, on by default; =0 gives every structure its own buffer as before). Two sets of blocks, by how long a structure lives: one for those built in full and not updatable, which are compacted or replaced soon and go; one for updatable, copied and compacted ones, which stay. Mixed in one set, the short-lived left holes among the long-lived and no block ever emptied: 1,664 MB of blocks for 888 MB of structures. A piece is given back when the structure is dropped, which host::retire already does only after the lists that used it, so it rests no further and is free at once. Top-level structures keep their own buffers.

Measured on an RX 9070 XT (RADV), 2560x1440, six minutes with the camera turning: 32 structure buffers made in 11 ms (the longest 5 ms); 20 blocks (1,280 MB) for 1,023 MB of structures, nothing resting, 6 of the short-lived set's blocks made and 4 given back. Three runs, all loss counters 0, no error line. The gain is in the buffers no longer made; the bytes are about what the buffers took (a different scene from the 363 MB above, so not a pair).

Report lines with it, which the next changes are read from:
- the blocks of structures of each set (alive, held, resting, free, made, given back);
- the build memory (scratch, instances and sanitised copies): what lists hold now, asked for against handed out, buffers made and how long that took, the spare by size and how much of it was not taken lately;
- texture blocks by the tenth of them textures hold, their free space, and the textures' copy footprints against the pieces they lie in (what the pieces' rounding costs);
- the texture queue's slots held back for want of room on the card.

Tests: pool 13 passed, hwrt 47 passed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Every texture cut from a texture block was asked at 64 KiB, so each took a multiple of 64 KiB. Most of the title's textures are small: their copy footprints came to 1,599 MB in 2,760 MB of pieces, 1,161 MB of rounding.

Now a texture is asked with D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT where the host says it has it (D3D12_FEATURE_D3D12_TIGHT_ALIGNMENT, tier 1 or more), and its piece is the size at the alignment the host answers: 4 KiB multiples for a small one (256 bytes for the smallest), 64 KiB as before for a large one. The host is asked once and the texture is made with the description the size was asked for. A host without the tier is asked as before.

The earlier 4 KiB placement (VICTORY_POOL_SMALL, removed after two device losses on 2026-11-25) asked at 4 KiB and, refused, asked again at 0; the flag is never refused. What those losses were was not proven. The new test places 11 kinds of small texture three times over back to back from 0x6000 into a heap (the kind and place of those losses first), in each of the three ways of asking, writes every level with bytes of its own, reads them back by a copy and then by a shader through a view of the whole chain and one of each level, and compares with the same texture on a 64 KiB multiple: 500 reads compared, none differ, on an RX 9070 XT (RADV), where the driver lays such textures out at 4 KiB (so nothing is padded).

Measured there, 2560x1440, six minutes with the camera turning, against the run before it (not a pair: the scene streams): rounding 1,161 MB -> 108 MB (2,014 MB of footprints in 2,123 MB of pieces); texture blocks 64 -> 56; slots held back for want of room on the card 152 -> 0; host copies let go for room 6,495 MB -> 3,359 MB; card in use 13,326 -> 13,020 MB with 415 MB more of texture loaded. No error line, no device loss, the picture looked right.

Tests: pool 14 passed (the new one among them), resource 16, texture 11.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 10:09:28 +00:00
Author
Owner

@⁠Luxuride on GitHub · 2026-12-04 12:09 UTC · original

Three good commits buried inside a 19,092-line diff nobody will ever read. Please split.

What I measured: git diff <base> pr/306 is 19k insertions, but crates/victory-shader/src/emit/rayquery.rs (8,269) and crates/victory-gpu/src/hwrt.rs (7,312) come from the hardware-RT base and are not touched by 20547ee, 0c411bb or 9bba82d. You are asking a reviewer to read a diff you did not write.

Two of the three are RT-independent and can go to main on their own merits this month:

  1. 20547ee — recycling per-submission upload buffers (power-of-two sizes, 64 KiB floor, 768 MB spare cap, 10 s idle trim, host::retire).
  2. 9bba82d — D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT when the host reports tier ≥ 1.

0c411bb (the structure arena) rides with the RT stack, not before it.

Findings worth folding into those splits:

  • 9bba82d drops the "ask again with Alignment = 0" fallback that main still has at crates/victory-gpu/src/pool.rs:953-970. Right call — the flag cannot be refused — but the old path also covered hosts that answer Alignment != 0 for a desc asking 0, and the new code trusts info.SizeInBytes != u64::MAX alone. One debug_assert!(info.Alignment <= 64 << 10) would say what you believe.
  • crates/victory-gpu/src/hwrt.rs:1476: VICTORY_HW_RT_ARENA is on by default inside a feature that is off by default, and git grep -n HW_RT over docs/ and run.conf.default finds zero hits for VICTORY_HW_RT, _DEMOTE, _PACK, _ARENA or _REUSE. Every switch the project already ships is in both files. That is the cheapest fix in the whole stack.
  • The conflicts in crates/victory-gpu/src/descriptor/host.rs and crates/victory-shader/src/lib.rs are inherited from the base too — neither file is touched by your three commits. Rebasing this branch alone will not clear them; the stack has to be rebased as a stack.

The commits themselves are the best-documented work in this batch: before/after numbers, three runs, loss counters, tests with names that say what they prove.

**@⁠Luxuride** on GitHub · 2026-12-04 12:09 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/306#issuecomment-7411054361) Three good commits buried inside a 19,092-line diff nobody will ever read. Please split. What I measured: `git diff <base> pr/306` is 19k insertions, but `crates/victory-shader/src/emit/rayquery.rs` (8,269) and `crates/victory-gpu/src/hwrt.rs` (7,312) come from the hardware-RT base and are **not touched** by `20547ee`, `0c411bb` or `9bba82d`. You are asking a reviewer to read a diff you did not write. Two of the three are RT-independent and can go to `main` on their own merits this month: 1. `20547ee` — recycling per-submission upload buffers (power-of-two sizes, 64 KiB floor, 768 MB spare cap, 10 s idle trim, `host::retire`). 2. `9bba82d` — `D3D12_RESOURCE_FLAG_USE_TIGHT_ALIGNMENT` when the host reports tier ≥ 1. `0c411bb` (the structure arena) rides with the RT stack, not before it. Findings worth folding into those splits: - `9bba82d` drops the "ask again with `Alignment = 0`" fallback that `main` still has at `crates/victory-gpu/src/pool.rs:953-970`. Right call — the flag cannot be refused — but the old path also covered hosts that answer `Alignment != 0` for a desc asking 0, and the new code trusts `info.SizeInBytes != u64::MAX` alone. One `debug_assert!(info.Alignment <= 64 << 10)` would say what you believe. - `crates/victory-gpu/src/hwrt.rs:1476`: `VICTORY_HW_RT_ARENA` is **on by default** inside a feature that is off by default, and `git grep -n HW_RT` over `docs/` and `run.conf.default` finds zero hits for `VICTORY_HW_RT`, `_DEMOTE`, `_PACK`, `_ARENA` or `_REUSE`. Every switch the project already ships is in both files. That is the cheapest fix in the whole stack. - The conflicts in `crates/victory-gpu/src/descriptor/host.rs` and `crates/victory-shader/src/lib.rs` are inherited from the base too — neither file is touched by your three commits. Rebasing this branch alone will not clear them; the stack has to be rebased as a stack. The commits themselves are the best-documented work in this batch: before/after numbers, three runs, loss counters, tests with names that say what they prove.
Author
Owner

@⁠LOCKhart07 on GitHub · 2026-12-04 14:34 UTC · original

Split as asked.

  • The send buffers are #458 and the tight alignment is #459, both on main alone.
  • The structure arena is rt-4-arena on my fork, in the ray tracing stack (#468 is its bottom).
  • The texture-block report lines that rode in the arena commit are taken out of it; they are a branch on main alone (main-texture-report), which I can open if you want it.

On your findings: #459 has the debug_assert!(info.Alignment <= 64 << 10) (pushed as a second commit, with why no multisampled texture reaches the blocks). VICTORY_HW_RT_ARENA is documented in both files, with its default of on said.

This one can be closed.

**@⁠LOCKhart07** on GitHub · 2026-12-04 14:34 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/306#issuecomment-7414541010) Split as asked. - The send buffers are #458 and the tight alignment is #459, both on main alone. - The structure arena is `rt-4-arena` on my fork, in the ray tracing stack (#468 is its bottom). - The texture-block report lines that rode in the arena commit are taken out of it; they are a branch on main alone (`main-texture-report`), which I can open if you want it. On your findings: #459 has the `debug_assert!(info.Alignment <= 64 << 10)` (pushed as a second commit, with why no multisampled texture reaches the blocks). `VICTORY_HW_RT_ARENA` is documented in both files, with its default of on said. This one can be closed.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/descriptor/host.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-shader/src/lib.rs
  • crates/victory-shader/src/structure.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/306/head:github-bot/gh-306'
git switch 'github-bot/gh-306'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-306'
git switch 'github-bot/gh-306'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-306'
git switch 'github-bot/gh-306'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-306'
git switch 'main'
git merge --squash 'github-bot/gh-306'
git switch 'main'
git merge --ff-only 'github-bot/gh-306'
git switch 'main'
git merge 'github-bot/gh-306'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.