reprend #2062: d3d12: say when the driver's pipeline cache stops keeping new pipelines (RT-PIPELINE-CACHE-GROWTH-STALL) #2737
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2737
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2737"
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?
@OreoFR on GitHub · 2026-11-30 13:39 UTC · original
OreoFR:carry/pr-2062→main· +140 −4 · 5 files · 4 commits · merged 2026-11-30 17:38 UTCCarries #2062 by @thegalaxydev, because it conflicts with
mainafter #2566 and the reminder to mergemain(#2062) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.Item:
RT-PIPELINE-CACHE-GROWTH-STALL-CARRY(claimed in #2570; original itemRT-PIPELINE-CACHE-GROWTH-STALL).What this branch is
869319b55, unchanged (no rebase, author commits kept).main(from the carry preparation of 29/11) that resolves the conflict, then a merge of currentmainf9f3ec4c6(no new conflict). Both merge commits carryCo-authored-bythe author.What conflicted and how it was resolved
runtime/shims/d3d12_vulkan_device.cpp(2 hunks):report_pipeline_cache_growth()beforemain'sover_save_limitcheck;note_pipeline_cache_size()beforemain's journal setup.docs/d3d12_vulkan.md:main's paragraph, then the PR's text on the growth stall, without its old 256 MiB cap line.Open question for a human: since RT-HEAVY-PIPELINE-CACHE, slow off-corpus builds go to the heavy cache, not to
pipeline_cache_handle; the detector may therefore report a growth stall that is not one. Not decided here.Tests
mainf9f3ec4c6merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).ctest501 tests,pipeline_cache_storepasses; red: the test does not compile onmain(GrowthWatchabsent);xmemfailed on the loaded PC ("map physical pages REFUSED"), passes onmainand the PR does not touch it: to check on the runners.python -I scripts/check_no_game_data.pyon every file this PR changes: clean.ctest, the full translator suite).Depends on: none.
Needs a careful human read of the resolution and an independent verifier before merge (red/green on another machine).
AI-assisted (Claude Code, oreofr-agent).
🤖 Generated with Claude Code
f9f3ec4c6) into the carry of #2062 bede3ad0d3@Kal0s-design on GitHub · 2026-11-30 14:18 UTC · original
Independent Windows check of
bede3ad0don currentmainb17b22d33(no conflict, tree08d87c24d). Native Windows 11, MSVC 19.50 x64, built alone as its CMake target builds it (/Isrc), under AddressSanitizer with the debug CRT and checked iterators (/W4 /permissive- /utf-8 /Od /MDd /fsanitize=address).test/pipeline_cache_store_test.cppexits 0, no ASan report, 0 warnings.GrowthWatch,stalled_after_buildsandstalled_below_bytes, which this PR adds topipeline_cache_store, so it doesn't build againstmain.I didn't read the conflict resolution line by line.
GPUs tested: n/a (CPU unit test). AI-assisted: yes.
@MoonEyes on GitHub · 2026-11-30 15:48 UTC · original
Verified by MoonEyes (another owner than OreoFR) on head
bede3ad0dmerged withmainbe7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA).ctest -R ^pipeline_cache_store$: 1/1 passed. No red: the test uses names this pull request adds (GrowthWatch,stalled_after_builds,stalled_below_bytes), so it does not build againstmain.Unit test only: no run of the title (this is the Vulkan path).
AI-assisted (Claude Code).
@MoonEyes on GitHub · 2026-11-30 17:38 UTC · original · edited 2026-11-30 17:40 UTC
Merging. Head
bede3ad0dmerges cleanly withmainf0143cd5fand does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game and without a red run (the test does not build without the change); ctest green on Windows 11 by another owner. Merged by MoonEyes.AI-assisted (Claude Code).