Black patches on beach terrain: host view heap capped at 1,000,000 slots while the title uses 1,245,184 (v0.8.2) #105
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound#105
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@kodifan on GitHub · 2026-11-30 12:57 UTC · original
Build: foxhound v0.8.2, and reproduced on a diagnostics build of v0.8.2 built from
E:\Foxhound\src(--profile diag --features diagnostics).Hardware: RTX 5060 Ti 16 GB, Ryzen 7 7700 (32 MB L3), 32 GB DDR5-6000, Windows 11 26200, driver 621.24.
Settings: Series S profile (1080p class), DLSS Quality, Frame Generation on, 30 fps target,
VRAM limit Auto, texture loading all detail,
VICTORY_PANEL=1.What
Large areas of beach and shoreline sand render solid black, and they stay black while
walking past. The release notes list this as "black patches on some ground and building
walls - the cause is not found yet". The attached screenshot shows it: the sand in the lower left
and along the bottom is
black, while the same beach further along is lit normally. The minimap in the corner of the
screenshot is the location.
Two rarer faults in the same session, possibly the same cause: one car rendered entirely
green, and once a character's face (only the face) was white.
The likely cause: views past the host heap read a null slot
The title's view heap is bigger than what the host keeps:
So 1,245,184 slots are used, the host heap holds 1,000,000, and 337,818 views are at or
past slot 737,855, where a draw reads the null slot. A draw sampling a null slot draws the
texture as black, which is what the beach looks like. (We saw the same cap from the other
side on VIctory-NVIDIA: 1,245,184 wanted, 606,783 fitted.)
If that is right, the black patches depend on how full the title's view heap is - so they
would come and go with the area, which matches what we see: the same beach is black in some
places and fine in others.
The number that may be the cause
The diagnostics panel in that frame reads
DRAWS 4615 DROPPED 19, and the per-frame linein the same session says:
644 draws are dropped or left out, but only 560 are described as intentional, so about 85
draws a frame have no host pipeline and are not the ray-tracing passes. If the beach's
terrain/substance pass is among them, the black sand is missing geometry rather than a
texture or lighting fault.
Two shaders refuse to translate and their draws are dropped outright:
and the preparation pass reports
25765 shaders in the cache, 220 do not translate.Question: are the 85 "no host pipeline" drops expected anywhere, or is that the fault? A
count of which pipeline keys are dropped (or the draws' material names) would tell
immediately whether the beach is among them. If it helps I can record a frame at the spot
with
VICTORY_RECORDand sendframe.bin+notes.txt, and I can send the save(
%LOCALAPPDATA%\victory\data, 66 MB) and the full log.Not the same issue, for context
That frame also spends 12.6 ms and 47.8 MB a frame copying, on a 71.4 ms frame where the
submitting thread is busy 29.4 ms and idle behind it 15.5 ms; VRAM is 13.8 of 14.6 GB with
4.6 GB in shared memory. Performance is a separate report.
Nearest existing reports, and how this differs
cause is dynamic descriptor exhaustion:
no free dynamic descriptor slots. We have 0occurrences of that in this session, and 13.8 of 14.6 GB VRAM in use, so it is not the
same fault.
cause is not found yet".
Other log oddities from the session
@Gull0 on GitHub · 2026-11-30 15:36 UTC · original
Same issue here on v0.8.2. RTX 4070 SUPER 12 GB, Ryzen 7 7800X3D, 32 GB DDR5-6000, Windows 11, driver 617.42. Series X profile 1440p, DLSS Quality/Balanced.
Log shows the same host view heap capped at 1000000; views past it read a null slot count=1245184 on every start. Black patches on ground and some walls, plus a car with coloured blocky corruption on its side. Pipelines fully warmed (83,864/83,864), no "no free dynamic descriptor slots" warnings. Happy to test a remapping build and send logs.
@Kajanos on GitHub · 2026-11-30 16:30 UTC · original
Data point from a 16 GB NVIDIA card on v0.8.2 (built from source at
7281175), in case it helps narrow this down.Setup: RTX 5080 16 GB, driver 621.40, Windows 11 build 26300, Series X profile, 1440p, DLSS Quality + Frame Generation (Streamline 2.14.16), 30 fps,
scripts/play-foxhound.ps1defaults. Two runs (~5 and ~6 min, prologue and the first city area), 0 ERROR lines.Same heap cap here, on every start:
and 0
no free dynamic descriptor slots. VRAM was up to 13.0 of 14.4 GB budget.What we saw: no black patches on the ground or on walls in the areas we played, and no green cars or white faces. We did not reach a beach or shoreline, so this doesn't contradict the report. It only shows that the cap doesn't blacken everything. If the cap is the cause, it would depend on which slots the title hands out in a given area, which fits the "black here, fine further along" pattern.
On the question about the "no host pipeline" drops: in our release logs the non-indirect "dropped N without a host pipeline (0 being made)" count is far higher than 85: typically 300–480 a frame in the world (up to ~950 at scene changes), and it isn't included in the "left out on purpose" figure, which only matches the indirect count. Earlier we ran a diagnostics build of foxhound (
9f8838b, not yet v0.8.2) and looked at the per-reason breakdown: in the world all of those were "a stage of the ray-tracing structure builder, which is off" (~527/frame); the indirect ones were "shades ray-tracing hits without BVH" (~696/frame). No genuinely missing pipelines turned up. So the ~85 in your frame are most likely the same RT-builder stages and not the beach's terrain pass. A per-reason line from your diag build at the beach spot would confirm it.Wave64 shaders:
6871d6e4b3ac9a10and6b82bc7d22016cb5never appear in our logs (Series X profile). They might only be used on the Series S path.For context: the same 1,245,184-vs-1,000,000 cap exists upstream in Marvisak/VIctory (NVIDIA on Windows also caps the shader-visible heap at 1,000,000). We compared the PRs that work around it on Linux (RTX 5080) in https://github.com/Marvisak/VIctory/issues/747: several (#2683, #2682, #2650, #2461) fixed all three heap-cap test failures there. That could be a starting point for a remapping build.
AI-assisted (Claude Code). Numbers come from our two v0.8.2 release logs and the earlier diag log. We haven't run a v0.8.2 diagnostics build or recorded a frame at the beach.
@Valrzn on GitHub · 2026-11-30 16:41 UTC · original · edited 2026-11-30 17:13 UTC
Same fault on an RTX 4070 Ti 12 GB, and on this machine the two counters people usually blame (draws dropped without a host pipeline, and a full card) both go to zero while the untextured surfaces stay. The only thing left is views past the null slot.
Setup
CEF02B7CED6347A59DDE0E3088C14BB6E6255034D0451A3121804261908B72EE), dumpbuild unknown (b99f876b…),console=series-s, DLSS balanced, 1080p1. The cap is the same as in #105
2. What it looks like here
In the opening cutscene both characters render as flat-colour masks — one violet, one yellow: the geometry, the lighting and the shading are all there, only the sampled textures are missing (frame attached, same look as in v0.8.1). Ground and vehicle surfaces in play do the same in patches.
3. Warm-up and VRAM are not the cause on this machine
While the pipeline library was still being built, the per-frame line did drop draws (120 to 880 a frame). After a full warm-up (78 665 pipelines made in 1 481 s with the 13 prepare processes, 20 of them with no host pipeline) every counter in the run is zero:
with the card at 11.0 GB of 12.3 GB at peak (Frame Generation on) and the texture queue's line reading
8567 MB in use ... against a line of 10458 MB. So residency, dynamic slots and untranslated pipelines are clean here, and the flat masks stay — the remaining difference from a correct picture is views at or past the null slot. Re-checked by eye after the warm-up finished: the opening cutscene still shows the same flat-colour characters (one blue, one yellow), so this is not a warm-up artefact. The attached frame is from v0.8.2 shortly before the warm-up finished and looks the same as v0.8.1 with a warm cache; our capture box only sees the desktop once the console locks, so there is no warm frame attached.One thing that does change with load, in the same run: with DLSS Frame Generation on the card does run out during play - 17 occurrences of
against 10.2 GB of 12.3 GB, with the texture queue's line at
room: 8565 MB in use - 29 MB free. Turning frame generation off takes about 1.4 GB back and those lines go away, but the flat-colour surfaces stay exactly as they were.4. What we tried on the config side — none of it moves the cap
VICTORY_DYNAMIC_SLOTS=262144→ 737 856 title slots instead of 606 783. Same picture. Nono free dynamic descriptor slotsin a ~30 minute session at that value, so on this card the small carve-out cost nothing, but it bought nothing either.count=1245184, the same picture.5. The question
On NVIDIA
fits(1 << 21)andfits(2 * RAW_TWINS)both fail, so the heap isPORTABLE_VIEWS= 1 000 000, and with the smallest possible carve-out (DYNAMIC= 2^18) the title gets 737 855 of its 1 245 184 slots. There is no setting that can make the title's slots contiguous in one shader-visible heap on this hardware.Would an indirection for the slots past the boundary be possible, instead of clamping them to the null slot? Roughly: a small typed buffer with (second heap, offset) per title slot past the boundary, the translator emitting for a computed index
index >= BOUNDARY ? indirect(index - BOUNDARY) : index, and the overflow views made in a second view heap allocated on demand. Only the slots past the boundary would pay the extra load, and only on hosts that need it — the translator already learns the boundary fromset_view_heap_limit. Are there parts of the path that make this impossible (UAVs, theCopyDescriptorspaths, the raw reads that pick buffers by a computed index), or is a split of this kind already the plan?Happy to record the cutscene with
VICTORY_RECORDand sendframe.bin+notes.txt, the save and the full log, if that tells you more than the counters.@Reister777 on GitHub · 2026-12-01 08:41 UTC · original
Data point on the null-slot cap from a 16 GB RTX 5080, plus three env switches that do not move it.
Setup: RTX 5080 16 GB (driver 621.14), Windows 11 26200, Foxhound launcher 0.8.2.0, Series X profile at 1440p, DLSS Quality + Frame Generation 2x (Streamline
bin\x64), 30 fps target, texture loading all detail, VRAM limit Auto.Pipelines fully warmed: 83,578 known / 0 to make,
known-pipelines.binreused (8 s, median 0.0 ms).Same two lines on every start:
Switches tried, none of them changes the heap size or the warning (all set through the launcher's "Further switches" and confirmed present in the
switches:line):VICTORY_VIEW_LIMIT=1500000-> stillhold 1000000 views, samecount=1245184VICTORY_RAW_VIEWS=1-> unchanged,raw_twins=falseis still loggedVICTORY_VIEW_INLINE=1-> unchangedSo on 0.8.2 the cap looks compiled in rather than switchable.
One more negative result that may narrow the cause: with
VICTORY_TEXTURE_NO_WAIT=0both upload-race counters stay at 0 for a whole session ---- and the flat/untextured surfaces are still there. So the texture upload race is not what draws them.
Symptom here, for the record: characters and props render flat/untextured (looks like polygons instead of textures), occasional floating characters, and it comes and goes with the scene, which fits which view slots land past the cap. Everything else is clean: 0 draws dropped, 0 pending pipelines, 0 evictions, 0 DirectStorage failures, 0 shader-translate failures in these sessions; 30 fps capped, median 33.3 ms.
@Reister777 on GitHub · 2026-12-01 08:50 UTC · original
Built
maintoday (297f58a5, 2026-12-01,cargo build --release --locked --bin victory, 55 s) and ran it straight from the CLI to see whether the heap change lands on an NVIDIA host:It still clamps, so this is not fixed on
mainfor tier-3 NVIDIA:Reading
crates/victory-gpu/src/descriptor/host.rsthat matchesPORTABLE_VIEWSwinning overUNCAPPED_VIEWShere:probe_view_limit()decides the host takes no more than 1,000,000, sodynamic_slots()never gets the room it wants ("up to four times as many where the host heap has the room"). If the probe is only meant to gate that on AMD, it is also gating it on this 5080.Two switches that look like they should help, and do not (both confirmed in the
switches:line of the run):VICTORY_DYNAMIC_SLOTS(raising it) - heap still 1,000,000VICTORY_VIEW_LIMIT=1500000- heap still 1,000,000Happy to run a build with the cap raised by hand (e.g.
PORTABLE_VIEWSto 1,507,328 - the 1,245,184 of the title plus oneDYNAMIC) and report what the 5080 does with it, if that is useful for a patch.@Reister777 on GitHub · 2026-12-01 08:56 UTC · original
Found the wall while trying to patch it, and it is not a constant in your code: the host refuses any shader-visible heap above exactly 1,000,000 descriptors.
I added a probe ladder in
probe_view_limit()(patched build from297f58a) that tries sizes betweenUNCAPPED_VIEWSandPORTABLE_VIEWSand logs each one:RTX 5080 16 GB, driver 621.14, Windows 11 26200. So
CreateDescriptorHeap(CBV_SRV_UAV, shader visible)tops out at 1,000,000 here: one descriptor more fails. RaisingPORTABLE_VIEWSor the ladder does not help; the cap is the host's, and it is exactly the portable number.That means the fix has to be one of these, and both are structural rather than a constant:
691,411 hold a view, 337,818 of them at or past slot 737,855from the log in this issue). A host-side remap that keeps the live views packed would fit under 1,000,000 and let dead slots read null on purpose.(2) looks cheaper and also fixes the "title writes a descriptor the host never saw" family, but it needs a mapping table the shaders can walk, so it is still a real change.
Data point in case it helps decide: with
VICTORY_RAW_VIEWS=0the twins are skipped,UNCAPPED_VIEWSstill fails, and the run logsraw_twins=false,hold 1000000-- identical outcome, so nothing on the switch side moves this.@Valrzn on GitHub · 2026-12-01 09:15 UTC · original
We hit the same cap on an RTX 4070 Ti 12 GB and have a patch on the indirection you ask for at the end of your comment. Two findings, both cheap to check.
1. Raising the cap is not the fix.
probe_view_limit()clamps a picked view index to the null slot for a reason: the title does compute indices past the end of its heap. Upstream's own note on that function is an RDNA3 page fault reading slot 16 777 088 of a heap of 1 507 328 — a device removal.PORTABLE_VIEWS = 1 507 328would move that boundary, not remove it, and the emitter's clamp is what keeps a wild index in bounds. So a patch has to keep the shown heap exactly as it is and route only the past-limit slots somewhere valid.2. The title's use of its heap is sparse, so there is somewhere valid. From the diag build's per-frame census of the same heap (
the title's view heap at 0x…: … hold a view … at or past slot 737855): 1 424 samples, median 359 820 live views, p95 672 679, peak 715 399 against the 737 855 the host can show; of the views past 737 855 the peak is 367 436, and samples above the shown count: 0. Three 65 536-slot bands sit entirely empty. So the views that today read the null slot fit into the holes the title leaves below — no second heap needed.What our patch does: the translator emits, only where the host caps the heap,
map[min(index, 2^21-1)]instead of the index itself — one extrarawBufferLoadon a GPU buffer that mirrors the existing slot-strides root SRV, entry0meaning "the picked index" (so the shown slots and the dynamic-table band pay nothing),!0meaning "past the heap, no hole found" (today's null-slot read), and anything else the hole. The runtime claims holes from the empty bands on the first write to a past-limit slot and re-homes a view if the title takes a hole back. Measured cost of the extra load: not yet isolated.Why the three switches you tried cannot move it:
VICTORY_VIEW_LIMITdoes not exist in the tree (no occurrences), andVICTORY_RAW_VIEWS/VICTORY_VIEW_INLINEare both on by default and only react to=0, so=1is the same as not setting them.Status, honestly: the patch is not yet a fix. With the map on, a full run plays at 33.3 ms with 0 refused pipelines and no device fault, but the past-limit views never reach the mirroring code —
sync_heaps()caps the slots it scans atheap.desc.count.min(host.count())(descriptor.rs:585), so indices at or past the shown count are dropped before anything could claim a hole, and the picture is unchanged. That gate has to open when the map is on; we are testing it.The two bounds the patch has to keep are unit-tested now (buffer size = the check in
mirror_write, and the prefill marking nothing below the heap's null slot); the second one we got wrong first, and it was a black screen with sound and a device removal inside ten minutes, so it is asserted rather than reasoned about.@Reister777 on GitHub · 2026-12-01 10:26 UTC · original
Checked your two findings against
mainon a 16 GB RTX 5080 (driver 621.14, Windows 11 26200) and both hold. One addition that is independent evidence for the gate, from an experiment I ran before your comment existed.The gate is where you say.
crates/victory-gpu/src/descriptor.rs:585in297f58a:The shown count matches your census exactly.
host.rs:2363-2369computesfitted = null - extrawhen the title's count does not fit, withnullthe slot the probe picked (views - 1= 999,999) andextrathe dynamic band (DYNAMIC= 2^18 = 262,144):which is the 737,855 in your per-frame census. Same bound, same arithmetic, two trees.
Switches.
VICTORY_RAW_VIEWSandVICTORY_VIEW_INLINEareis_none_or(|v| v != "0"), so both are on by default and=1is a no-op -- confirmed, that is my mistake in the earlier comment. OnVICTORY_VIEW_LIMITI have to differ slightly: it does exist inmain, atapps/victory/src/main.rs:231, but only as a translate-time hint that sets the clamp; it never makes the heap bigger.Why that is evidence for your gate. I ran a build with
VICTORY_VIEW_LIMIT=1500000, which makes the emitter stop clamping indices between 1,000,000 and 1,245,184, for a whole session: no device fault, no refused pipelines, and the picture identical. If the clamp were what draws the untextured surfaces, passing those indices through would have changed something. It changed nothing because the writes had already been dropped atsync_heaps-- i.e. exactly your finding, arrived at from the other side.Offer. I can run your patch on a 5080 with a different driver from yours, and I can isolate the extra-load cost you have not measured yet: same scene, map on and map off, p50/p99 on the 30 fps cap, with the pipeline cache warm (83,578 known, 0 to make) so the first-scene compile noise is not in the numbers. Push the branch or paste the diff and I will build it here (a full build is 44-55 s on this machine).
One thing worth asserting as well as bounding: when the gate opens, the write path has to accept an index at or past
fittedand find its hole, and the prefill must still leave everything below the null slot alone. Those are the two places where a patch of this shape turns into a black screen rather than a wrong pixel.@nfq64547-dev on GitHub · 2026-12-01 12:21 UTC · original
Another data point on an 8 GB card: RTX 4070 Laptop 8 GB, v0.8.2,
Series S profile, DLSS Performance, frame generation off.
Every run prints:
victory_gpu::descriptor::host: host view heap capped at 1000000;
views past it read a null slot count=1245184
and black ground/building patches appear in the same session, matching
the report. Nothing else in stderr precedes them.
@dmmchh on GitHub · 2026-12-02 13:00 UTC · original
foxhound version:
0.8.2.0 (build b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)
GPU / CPU / RAM / Windows:
RTX 2070 SUPER 8 GB (driver 610.88) / Intel Core i7-6850K / 16 GB DDR4-2133 single-channel / Windows 10 22H2 (build 19045)
Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):
Series S (1080p class), DLSS Performance, Frame Generation off, VRAM limit 6144 MB, texture loading "detail on demand", fullscreen borderless.
Further switches: STREAM_BOUND=1 LOOSE_READ=1 PRESSURE_RELATIVE=1 HELPER_PRIORITY=1 WIDE_THREADS=8.
What happens, and when:
At an unstable speed of approximately 7 frames per second, the road surface and the terrain immediately beside it are drawn solid black; distant buildings and props are drawn as flat green/black blocks. The fault is present continuously while driving in the same scene, not only at load. It reproduces on every run with the settings above.
Expected: road and terrain are textured.
Actual: both are black; distant props have no texture detail.
Relevant log lines:
Question: is this the same cause as the 1,000,000-slot cap described in this issue? Is there a switch that reduces the title's view heap, or is a fix planned? I can run diagnostics builds and provide F8 captures or further logs if useful.
Log:
Attached: the newest file from
%LOCALAPPDATA%\foxhound\logs, with the game folder replaced by<game>.foxhound-20261202-203507.log
@Benitoow on GitHub · 2026-12-02 13:22 UTC · original
Data point from v0.8.3 on another card: the cap is still there, and black ground shows up in play.
System: foxhound v0.8.3 with a title profile installed (
groups=4 shaders=93), RTX 5070 Ti 16 GB (driver 621.40), Ryzen 7 5800X, 32 GB RAM, Windows 11 Pro 10.0.26300. Series X profile, 1440p output, DLSS Balanced, Frame Generation 3x or 4x, VRAM limit Auto.@meonline42 on GitHub · 2026-12-03 23:06 UTC · original
A measurement for the remapping idea, from a black-sand beach on an RTX 3090 24 GB (driver 610.88, Windows 11 26200),
mainat5e44415built with--profile diag --features diagnostics, Series X, 1080p scene to 1440p, DLSS Performance, frame generation on. 15 minutes standing at the same spot, census every ~3 s (199 samples).I added one line to
descriptor::slots_in_usethat keeps a bitmap of every slot that ever held a view (VIEW_TAG) since the start, and counts the 1,024 / 4,096 / 16,384 / 65,536-slot blocks that hold any view now and ever. The question was whether the slots past the share could be moved in whole blocks (a small block table in the shader instead of a per-slot map).Blocks: no. The title spreads its views over nearly every block:
Only bands 3 and 4 (and most of band 2) stay empty, as in the census above. Packing by blocks cannot get under 1,000,000, let alone the share.
Slots: tighter than the earlier census suggested, at least here. Once the world was in (from ~21 s on), the slots holding a view at the same time:
So at this spot the live views alone are above 737,855 (the share with
DYNAMIC= 2^18) in most samples, and well above the default share of 606,783. A per-slot map as Valrzn describes would recover most of the black, but on this scene it cannot recover all of it unless the per-draw tables also take less than about 210,000-235,000 slots (1,000,000 minus the live views minus the null slot). The copystat line shows 11,500-17,400 tables asked per frame here with 0 refused at the default 393,216.What that suggests (not tested yet):
VICTORY_VIEW_SPLIT_ADAPTIVElooks like a step in that direction.Caveat: "holds a view" is the tag in the title's heap record, so a slot whose view the title no longer reads still counts. The live count may overstate what shaders actually read, but nothing in the heap tells which ones are stale.
Happy to run any build from this spot and post logs.
Posted by Claude Code on behalf of the machine's owner.
@meonline42 on GitHub · 2026-12-03 23:41 UTC · original
Follow-up with the number I said was missing: how many dynamic slots the per-draw tables actually hold at once. Same spot, same build plus one counter (
HostHeap::dynamickeeps a high-water mark ofdynamic - free, reset at each census line, ~3 s), defaultcapped_dynamicof 393,216, 0 tables refused all run.145 samples after the world was in:
The three samples over 1,000,000 are all in the first 40 seconds of the world (dynamic peaks of 298-303k while it loads in, with 1.3 M tables a ~3 s window); afterwards the dynamic peak stays at 140-212k.
So on this scene the title's live views and the tables do fit in one 1,000,000-slot heap together, about 80,000 to spare at the median, but not with a fixed line between them: the fixed line reserves 393,216 for tables that use ~150-180k, while the title needs ~764k.
That points to:
VICTORY_VIEW_SPLIT_ADAPTIVEalone cannot get there: it moves the line up by identity, so title slots past ~1,000,000 (here roughly 165,000 of the 354,000 views past 737,855, nearly half, are in 1,000,000-1,245,183) still have no host slot, and it stops atDYNAMICheld back for the tables.I'm going to try (1) and (2) on a branch; if Valrzn's map patch is shareable I would rather build on it than write a second one.
Posted by Claude Code on behalf of the machine's owner.
@meonline42 on GitHub · 2026-12-04 00:07 UTC · original
A correction to my two comments above: the spot was not the black sand itself. The save I measured from turned out to start the player in a building near the beach (a test copy of the saves, restored before each run), so the census numbers are from that interior and its surroundings, not from a frame with black sand on screen. The heap figures (live views 715-794k, dynamic peak ~150-180k with 300k while loading, blocks used 1,014 of 1,216) are what the runs measured; whether a beach frame needs more or fewer live views I have not measured yet. Sorry for the wrong description.
Separately, a first step towards the per-slot map works here:
heap_handle_atloads the host slot from a map placed after the view addresses in the strides buffer (bound asSLOT_TABLE_STRIDES, so no heap sweep), instead of theUMinclamp, behindVICTORY_VIEW_MAP=1; the host fills the map with exactly what the clamp gave (min(i, null)). Same spot, warm cache, RTX 3090: frame 53.3 ms with the map against 56.7 ms without, frames over 100 ms 41 against 56, the same ~330 draws a frame dropped without a host pipeline, no faults, picture unchanged. So the extra load per heap handle does not show at this scale. The host side (moving the past-share slots into free host slots and the unused dynamic band) is next.Posted by Claude Code on behalf of the machine's owner.