perf(vk): precompile per-program descriptor plans (RX_VK_DESC_PLAN_FAST) #2989

Open
siantm wants to merge 1 commit from siantm/Longshot:perf/vk-desc-plan-fast into main
Contributor

Summary

build_descriptors previously re-walked Program::stages and every descriptor declaration's constant-buffer bindings on every draw call even though each (Program*, key, variant) executes the exact same sequence of descriptor writes.

This adds gpu/vk/desc_plan_fast.h (RX_VK_DESC_PLAN_FAST, default 1):

  • Precompiled per-program DescPlan bytecode (PlanOp list): flattens stage loops, descriptor slot offsets, cbuf_index / cbuf_offset arithmetic, handle decoding (C2Source direct register classification + shift combining), SSBO table offsets, view types, and image formats into a contiguous flat op stream per (Program*, key, variant).
  • L1 256 x 2-way cache-line aligned (64 B L1Set) MRU lookup: keyed with Program*, key, and variant (ABA-safe against pointer reuse) before falling back to FlatMap<uint64_t, uint32_t> by_prog.
  • Template write buffer reuse (writes_tpl + WritePatch + ubo_entries_tpl): bulk-copies prebuilt VkWriteDescriptorSet structs and UBO metadata templates into DescWriter and patches pBufferInfo / pImageInfo / pTexelBufferView base pointers only when DescWriter vector capacities reallocate.
  • Kept in step with main's descriptor build (rebased on b4d56f5): the plan executor stamps the RX_VK_DESC_SPAN_FAST unchanged-UBO skip fields (addr, size, ub_gen, bind_stamp, cap_view, cached) for UBO slots 3..18 as build_descriptors does. It binds depth-compare textures through guard_depth_comparison and a depth dummy view (#3032), and stores a texture memo entry only when the slot version didn't move while the slot was resolved. It also re-reads the SSBO memo's bind stamp at each stage's storage buffers, binds read-only storage buffers through fast_read_bind, and takes the bare-read cap from the bare_read_mb setting.
  • Validation switch: RX_VK_DESC_PLAN_FAST=0 restores the baseline path at runtime (also flips inside a frame via HOS_AB); RX_VK_DESC_PLAN_FAST=check executes both paths and logs descriptor, UBO entry, depth sample, fingerprint, and draw_sampled parity mismatches.

Files to read first: gpu/vk/desc_plan_fast.h, gpu/vk/vk_draw.cpp (execute_desc_plan, check_desc_plan_parity, build_descriptors), and tests/test_vk_desc_plan_fast.py.

Testing

Tested:

  • Windows 11, live game market (RX_VK_DESC_PLAN_FAST=check, 30 s, RUN_ERROR=None): 1734 frames (57.8 fps), [desc_plan_fast] checks=2595163 plan_hits=2594144 tpl_reuses=956956 mismatches=0.
  • python -I tests/test_vk_desc_plan_fast.py --cxx clang++: PASS (all 6 descriptor types, L1 256x2 MRU, ABA safety, template pointer reuse, ubo_entries_tpl, depth_samples, desc_fp, 400-draw trace oracle match, and 9 broken variants caught; 14 after the rebase).
  • python -I tests/test_hos_ab.py --cc clang: PASS (12 broken variants caught).
  • python -I tests/test_tls_objects.py: PASS (21 TLS_OBJECTs; 46 other namespace-scope thread_locals, none with ctor/dtor).
  • python -I tests/test_vk_braces.py: PASS (618 renderer sources balance).
  • Rebuilt via python -I scripts/dev.py pack && python -I scripts/dev.py rt (0 shader parts rebuilt, lift: unchanged).
  • After the rebase onto b4d56f5 (head 1681d8c1cb): tests/test_vk_desc_plan_fast.py (clang++ and g++, 14 of 14 broken variants caught), tests/test_hos_ab.py, tests/test_tls_objects.py and tests/test_vk_braces.py pass, and a syntax-only clang++ compile of vk_draw.cpp and vk_memory.cpp has no errors. Nothing was run in the game.

Tested by others:

  • Beanstalk test farm on 32bb108, main @ 495ed9f against the PR, 12 reports on 6 targets. Frame time p99 was within ±4% of main on every PC. The farm flagged four things:
    • Check mode logged mismatches: 11 (Intel RKL GT1, ANV, Linux) and 1 (Radeon 8060S, RADV) in about 0.4M and 5.3M checks. Every other PC logged 0. The farm log keeps only its tail, so the mismatch reasons were not captured.
    • Steam Deck: the Water Temple picture failed (0.79 and 0.88). The PR side was taken during the fade-in after the teleport: same scene, darker, Link mid-landing. The Market 1% low frame time was +101% on the Deck.
    • RX 9070 XT, Linux: a Market picture difference of 0.79, caused by main's capture there being an all-black frame.
    • RTX 3070: the Water Temple 1% low frame time was +52.5% (18.2 → 27.7 ms).
  • @HumanBean, same-build A/B RX_VK_DESC_PLAN_FAST=0 against =1 (Measurements): Linux RTX 3090 −1.80% (within the spread), AMD Lab RX 580 +2.58%.

Still to test:

  • @Beanstalk the rebased head with RX_VK_DESC_PLAN_FAST=check in Market, Hyrule Field and the Water Temple on every Tier 1 target: do the Intel/RADV parity mismatches remain after the per-stage bind stamp re-read?
  • @Beanstalk on steamdeck: Market 1% low frame time against main, and the Water Temple picture taken after the scene's fade-in.
  • By hand: interleaved base-vs-head runs at each device's normal resolution and Auto quality in Market and a heavy scene (BeanBot L3).

Measurements

Verdict: faster: +2.02% fps (-0.254 ms pooled mean frame time, 95% CI +1.56% to +2.57% across 147 paired HOS_AB periods; 5/5 runs won). Descriptor build time desc_ms dropped -11.02% (-0.3023 ms), draw_ms dropped -4.28% (-0.3134 ms), and wait_gpu_ms dropped -19.10% (-0.3517 ms).

Setup: Windows 11; Market, child (crowded) (window 804x581); quality preset Custom, resolution 50% (768x432), output res 1280x720, frame generation Off, vsync Off; uncapped (HOS_FPS_MAX=1000), RX_VK_FRAME_TRACE=1, 5 runs of 90 s each after warm-up, HOS_AB=RX_VK_DESC_PLAN_FAST=0,3,0 flipped every 3 s within each run (dev.py queue run --mode timing).

Baseline: both columns are one build, v3.2.0-194-gf4d9fbe07 (f4d9fbe07): RX_VK_DESC_PLAN_FAST=0 against RX_VK_DESC_PLAN_FAST unset (1, default) on it.

Before, RX_VK_DESC_PLAN_FAST=0: this PR @ f4d9fbe07 After, RX_VK_DESC_PLAN_FAST unset: this PR @ f4d9fbe07 Δ
fps (per-period pooled / SIDE_1 vs SIDE_0) 79.7 (79.70) 81.3 (81.31) +2.02%
mean frame time (95% CI: -0.192 to -0.316 ms) 12.55 ms 12.30 ms -0.25 ms (-2.06%)
median frame time (P50) 12.29 ms (81.43 fps) 12.04 ms (83.06 fps) -0.25 ms
p99 frame time 15.72 ms 15.65 ms -0.07 ms
1% low fps (SIDE_1 vs SIDE_0) 63.65 64.02 +0.37
frames of 50 ms or more per minute 0.00 0.00 +0.00
desc_ms / draw_ms (SUBSYSTEM_DELTAS) 2.7436 ms / 7.3141 ms 2.4414 ms / 7.0008 ms -11.02% / -4.28%

Individual runs (AB1–AB5, side 0 ON vs side 1 OFF):

  • AB1: side 0 81.6 fps vs side 1 79.7 fps (-2.31%)
  • AB2: side 0 81.9 fps vs side 1 80.6 fps (-1.60%)
  • AB3: side 0 81.3 fps vs side 1 79.3 fps (-2.52%)
  • AB4: side 0 80.4 fps vs side 1 78.6 fps (-2.21%)
  • AB5: side 0 81.3 fps vs side 1 80.1 fps (-1.40%)

An earlier 3x90 s HOS_AB run (87 periods) on the same build also won 3/3 (81.44 vs 79.76 fps, +2.14%, 95% CI +1.50% to +2.83%, 1% Low 64.89 vs 63.29, 0.1% Low 53.82 vs 48.85, desc_ms -10.94%).

Others' same-build A/Bs (RX_VK_DESC_PLAN_FAST=0 against =1, PR head 32bb108)

Linux, RTX 3090, NVIDIA 620.70.06 (@HumanBean) AMD Lab, RX 580, RADV 26.2.6 (@HumanBean)
Average FPS, median 122.46 → 120.25 (−1.80%) 55.07 → 56.49 (+2.58%)
1% low FPS (1000 ÷ p99) 89.20 → 85.95 20.66 → 45.70
p99 frame time 11.21 → 11.66 ms 48.40 → 21.88 ms
Frames of 50 ms or more 0 / 0 → 0 / 0 24 / 17 / 19 → 6 / 4 / 0
Verdict posted within the run-to-run spread faster in these captures

Both at Market (child), 1280x720 output, 50% render scale, uncapped. The RTX 3090 used two interleaved 30 s captures per side; the RX 580 three alternating 40 s pairs, which still had pipeline or shader activity after warm-up (51/36/41 against 28/7/3 frames).

Test farm (Beanstalk, main @ 495ed9f against 32bb108), frame time p99 (ms)

Target Market Hyrule Field Water Temple
nvidia (RTX 4070 Ti SUPER, RTX 3070) 15.0 → 14.6 8.6 → 8.6 13.1 → 12.6
windows (RTX 4070, RTX 4090) 10.0 → 9.9 6.9 → 6.7 9.6 → 9.4
amd (8060S, RX 9070 XT, RADV) 12.4 → 12.4 9.0 → 8.9 11.4 → 11.1
linux+radv (8060S, RX 9070 XT) 12.7 → 12.4 8.9 → 9.0 11.2 → 11.3
intel (UHD 630, RKL GT1) 228.0 → 225.6 203.0 → 202.7 175.2 → 179.0
steamdeck 45.6 → 51.5 (+13%) 37.7 → 39.3 55.7 → 55.6

Worst 1% frame time: Steam Deck Market 51.0 → 102.4 ms (+101%), nvidia Water Temple 24.2 → 26.7 ms (+10%). Check mode (RX_VK_DESC_PLAN_FAST=check): 11 mismatches on Intel RKL GT1 (ANV) and 1 on the Radeon 8060S (RADV). Every other PC logged 0.

Risks

  • If an edge-case program relies on side effects of walking an unreferenced stage descriptor or mutates state outside the captured PlanOp assumptions (e.g. a newly added descriptor flag), desc_plan_fast could emit a stale write or skip a diagnostic side effect. Diagnostic modes (dump_on, watch_prog, stats_frame_now, slow_desc_timing, tex_desc_memo_mode == 2, RX_VK_TRACE_TEX, RX_VK_LOG_IMG, etc.) automatically bypass the fast path, and RX_VK_DESC_PLAN_FAST=0 disables it completely at runtime. RX_VK_DESC_PLAN_FAST=check compares against baseline (0 mismatches in 2,595,163 live checks).
  • Per-thread L1 256 x 2 cache (256 * 64 = 16 KiB per worker thread) plus precompiled DescPlan templates add modest host RAM proportional to active shaders.
  • No save, option, or shader/pipeline cache format changes.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A switch added or changed: it ships at the default the measurements chose, with its row in gpu/vk/switches.def.
  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary `build_descriptors` previously re-walked `Program::stages` and every descriptor declaration's constant-buffer bindings on every draw call even though each `(Program*, key, variant)` executes the exact same sequence of descriptor writes. This adds `gpu/vk/desc_plan_fast.h` (`RX_VK_DESC_PLAN_FAST`, default `1`): - **Precompiled per-program `DescPlan` bytecode (`PlanOp` list):** flattens stage loops, descriptor slot offsets, `cbuf_index` / `cbuf_offset` arithmetic, handle decoding (`C2Source` direct register classification + shift combining), SSBO table offsets, view types, and image formats into a contiguous flat op stream per `(Program*, key, variant)`. - **L1 `256 x 2`-way cache-line aligned (`64` B `L1Set`) MRU lookup:** keyed with `Program*`, `key`, and `variant` (ABA-safe against pointer reuse) before falling back to `FlatMap<uint64_t, uint32_t> by_prog`. - **Template write buffer reuse (`writes_tpl` + `WritePatch` + `ubo_entries_tpl`):** bulk-copies prebuilt `VkWriteDescriptorSet` structs and UBO metadata templates into `DescWriter` and patches `pBufferInfo` / `pImageInfo` / `pTexelBufferView` base pointers only when `DescWriter` vector capacities reallocate. - **Kept in step with main's descriptor build** (rebased on b4d56f5): the plan executor stamps the `RX_VK_DESC_SPAN_FAST` unchanged-UBO skip fields (`addr`, `size`, `ub_gen`, `bind_stamp`, `cap_view`, `cached`) for UBO slots 3..18 as `build_descriptors` does. It binds depth-compare textures through `guard_depth_comparison` and a depth dummy view (#3032), and stores a texture memo entry only when the slot version didn't move while the slot was resolved. It also re-reads the SSBO memo's bind stamp at each stage's storage buffers, binds read-only storage buffers through `fast_read_bind`, and takes the bare-read cap from the `bare_read_mb` setting. - **Validation switch:** `RX_VK_DESC_PLAN_FAST=0` restores the baseline path at runtime (also flips inside a frame via `HOS_AB`); `RX_VK_DESC_PLAN_FAST=check` executes both paths and logs descriptor, UBO entry, depth sample, fingerprint, and `draw_sampled` parity mismatches. Files to read first: `gpu/vk/desc_plan_fast.h`, `gpu/vk/vk_draw.cpp` (`execute_desc_plan`, `check_desc_plan_parity`, `build_descriptors`), and `tests/test_vk_desc_plan_fast.py`. ## Testing **Tested:** - Windows 11, live game `market` (`RX_VK_DESC_PLAN_FAST=check`, 30 s, `RUN_ERROR=None`): `1734 frames` (`57.8 fps`), `[desc_plan_fast] checks=2595163 plan_hits=2594144 tpl_reuses=956956 mismatches=0`. - `python -I tests/test_vk_desc_plan_fast.py --cxx clang++`: PASS (all 6 descriptor types, L1 `256x2` MRU, ABA safety, template pointer reuse, `ubo_entries_tpl`, `depth_samples`, `desc_fp`, 400-draw trace oracle match, and 9 broken variants caught; 14 after the rebase). - `python -I tests/test_hos_ab.py --cc clang`: PASS (12 broken variants caught). - `python -I tests/test_tls_objects.py`: PASS (`21` `TLS_OBJECT`s; `46` other namespace-scope `thread_local`s, none with ctor/dtor). - `python -I tests/test_vk_braces.py`: PASS (`618` renderer sources balance). - Rebuilt via `python -I scripts/dev.py pack && python -I scripts/dev.py rt` (`0` shader parts rebuilt, `lift: unchanged`). - After the rebase onto b4d56f5 (head 1681d8c1cb74): `tests/test_vk_desc_plan_fast.py` (clang++ and g++, 14 of 14 broken variants caught), `tests/test_hos_ab.py`, `tests/test_tls_objects.py` and `tests/test_vk_braces.py` pass, and a syntax-only clang++ compile of `vk_draw.cpp` and `vk_memory.cpp` has no errors. Nothing was run in the game. **Tested by others:** - Beanstalk test farm on 32bb108, main @ 495ed9f against the PR, 12 reports on 6 targets. Frame time p99 was within ±4% of main on every PC. The farm flagged four things: - Check mode logged mismatches: 11 (Intel RKL GT1, ANV, Linux) and 1 (Radeon 8060S, RADV) in about 0.4M and 5.3M checks. Every other PC logged 0. The farm log keeps only its tail, so the mismatch reasons were not captured. - Steam Deck: the Water Temple picture failed (0.79 and 0.88). The PR side was taken during the fade-in after the teleport: same scene, darker, Link mid-landing. The Market 1% low frame time was +101% on the Deck. - RX 9070 XT, Linux: a Market picture difference of 0.79, caused by main's capture there being an all-black frame. - RTX 3070: the Water Temple 1% low frame time was +52.5% (18.2 → 27.7 ms). - @HumanBean, same-build A/B `RX_VK_DESC_PLAN_FAST=0` against `=1` (Measurements): Linux RTX 3090 −1.80% (within the spread), AMD Lab RX 580 +2.58%. **Still to test:** - @Beanstalk the rebased head with `RX_VK_DESC_PLAN_FAST=check` in Market, Hyrule Field and the Water Temple on every Tier 1 target: do the Intel/RADV parity mismatches remain after the per-stage bind stamp re-read? - @Beanstalk on steamdeck: Market 1% low frame time against main, and the Water Temple picture taken after the scene's fade-in. - By hand: interleaved base-vs-head runs at each device's normal resolution and Auto quality in Market and a heavy scene (BeanBot L3). ## Measurements **Verdict:** faster: `+2.02%` fps (`-0.254 ms` pooled mean frame time, 95% CI `+1.56%` to `+2.57%` across 147 paired `HOS_AB` periods; 5/5 runs won). Descriptor build time `desc_ms` dropped `-11.02%` (`-0.3023 ms`), `draw_ms` dropped `-4.28%` (`-0.3134 ms`), and `wait_gpu_ms` dropped `-19.10%` (`-0.3517 ms`). **Setup:** Windows 11; Market, child (crowded) (`window 804x581`); quality preset Custom, resolution 50% (`768x432`), output res `1280x720`, frame generation Off, vsync Off; uncapped (`HOS_FPS_MAX=1000`), `RX_VK_FRAME_TRACE=1`, 5 runs of 90 s each after warm-up, `HOS_AB=RX_VK_DESC_PLAN_FAST=0,3,0` flipped every 3 s within each run (`dev.py queue run --mode timing`). **Baseline:** both columns are one build, `v3.2.0-194-gf4d9fbe07` (`f4d9fbe07`): `RX_VK_DESC_PLAN_FAST=0` against `RX_VK_DESC_PLAN_FAST` unset (`1`, default) on it. | | Before, RX_VK_DESC_PLAN_FAST=0: this PR @ f4d9fbe07 | After, RX_VK_DESC_PLAN_FAST unset: this PR @ f4d9fbe07 | Δ | |---|---|---|---| | fps (per-period pooled / `SIDE_1` vs `SIDE_0`) | 79.7 (`79.70`) | 81.3 (`81.31`) | +2.02% | | mean frame time (95% CI: `-0.192` to `-0.316 ms`) | 12.55 ms | 12.30 ms | -0.25 ms (`-2.06%`) | | median frame time (`P50`) | 12.29 ms (`81.43` fps) | 12.04 ms (`83.06` fps) | -0.25 ms | | p99 frame time | 15.72 ms | 15.65 ms | -0.07 ms | | 1% low fps (`SIDE_1` vs `SIDE_0`) | 63.65 | 64.02 | +0.37 | | frames of 50 ms or more per minute | 0.00 | 0.00 | +0.00 | | `desc_ms` / `draw_ms` (`SUBSYSTEM_DELTAS`) | 2.7436 ms / 7.3141 ms | 2.4414 ms / 7.0008 ms | -11.02% / -4.28% | Individual runs (`AB1`–`AB5`, side 0 ON vs side 1 OFF): - `AB1`: side 0 `81.6` fps vs side 1 `79.7` fps (`-2.31%`) - `AB2`: side 0 `81.9` fps vs side 1 `80.6` fps (`-1.60%`) - `AB3`: side 0 `81.3` fps vs side 1 `79.3` fps (`-2.52%`) - `AB4`: side 0 `80.4` fps vs side 1 `78.6` fps (`-2.21%`) - `AB5`: side 0 `81.3` fps vs side 1 `80.1` fps (`-1.40%`) An earlier 3x90 s `HOS_AB` run (`87` periods) on the same build also won 3/3 (`81.44` vs `79.76` fps, `+2.14%`, 95% CI `+1.50%` to `+2.83%`, `1% Low 64.89 vs 63.29`, `0.1% Low 53.82 vs 48.85`, `desc_ms -10.94%`). ### Others' same-build A/Bs (`RX_VK_DESC_PLAN_FAST=0` against `=1`, PR head 32bb108) | | Linux, RTX 3090, NVIDIA 620.70.06 (@HumanBean) | AMD Lab, RX 580, RADV 26.2.6 (@HumanBean) | |---|---:|---:| | Average FPS, median | 122.46 → 120.25 (−1.80%) | 55.07 → 56.49 (+2.58%) | | 1% low FPS (1000 ÷ p99) | 89.20 → 85.95 | 20.66 → 45.70 | | p99 frame time | 11.21 → 11.66 ms | 48.40 → 21.88 ms | | Frames of 50 ms or more | 0 / 0 → 0 / 0 | 24 / 17 / 19 → 6 / 4 / 0 | | Verdict posted | within the run-to-run spread | faster in these captures | Both at Market (child), 1280x720 output, 50% render scale, uncapped. The RTX 3090 used two interleaved 30 s captures per side; the RX 580 three alternating 40 s pairs, which still had pipeline or shader activity after warm-up (51/36/41 against 28/7/3 frames). ### Test farm (Beanstalk, main @ 495ed9f against 32bb108), frame time p99 (ms) | Target | Market | Hyrule Field | Water Temple | |---|---:|---:|---:| | nvidia (RTX 4070 Ti SUPER, RTX 3070) | 15.0 → 14.6 | 8.6 → 8.6 | 13.1 → 12.6 | | windows (RTX 4070, RTX 4090) | 10.0 → 9.9 | 6.9 → 6.7 | 9.6 → 9.4 | | amd (8060S, RX 9070 XT, RADV) | 12.4 → 12.4 | 9.0 → 8.9 | 11.4 → 11.1 | | linux+radv (8060S, RX 9070 XT) | 12.7 → 12.4 | 8.9 → 9.0 | 11.2 → 11.3 | | intel (UHD 630, RKL GT1) | 228.0 → 225.6 | 203.0 → 202.7 | 175.2 → 179.0 | | steamdeck | 45.6 → 51.5 (+13%) | 37.7 → 39.3 | 55.7 → 55.6 | Worst 1% frame time: Steam Deck Market 51.0 → 102.4 ms (+101%), nvidia Water Temple 24.2 → 26.7 ms (+10%). Check mode (`RX_VK_DESC_PLAN_FAST=check`): 11 mismatches on Intel RKL GT1 (ANV) and 1 on the Radeon 8060S (RADV). Every other PC logged 0. ## Risks - If an edge-case program relies on side effects of walking an unreferenced stage descriptor or mutates state outside the captured `PlanOp` assumptions (e.g. a newly added descriptor flag), `desc_plan_fast` could emit a stale write or skip a diagnostic side effect. Diagnostic modes (`dump_on`, `watch_prog`, `stats_frame_now`, `slow_desc_timing`, `tex_desc_memo_mode == 2`, `RX_VK_TRACE_TEX`, `RX_VK_LOG_IMG`, etc.) automatically bypass the fast path, and `RX_VK_DESC_PLAN_FAST=0` disables it completely at runtime. `RX_VK_DESC_PLAN_FAST=check` compares against baseline (`0` mismatches in `2,595,163` live checks). - Per-thread L1 `256 x 2` cache (`256 * 64 = 16 KiB` per worker thread) plus precompiled `DescPlan` templates add modest host RAM proportional to active shaders. - No save, option, or shader/pipeline cache format changes. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
perf(vk): precompile per-program descriptor plans (RX_VK_DESC_PLAN_FAST)
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
f4d9fbe07b
Author
Contributor

Tested in game: Windows 11, market (1280x720, 50% res 768x432, V-Sync off, framegen off, HOS_FPS_MAX=1000): RX_VK_DESC_PLAN_FAST=check ran 1734 frames (57.8 fps, RUN_ERROR=None) with 2595163 checks, 2594144 plan_hits, 956956 tpl_reuses, 0 mismatches; 5x90s queued HOS_AB won 5/5 (+2.02% fps, 81.31 vs 79.70 fps, 95% CI +1.56% to +2.57%, desc_ms -11.02%).

Tested in game: Windows 11, market (1280x720, 50% res 768x432, V-Sync off, framegen off, HOS_FPS_MAX=1000): RX_VK_DESC_PLAN_FAST=check ran 1734 frames (57.8 fps, RUN_ERROR=None) with 2595163 checks, 2594144 plan_hits, 956956 tpl_reuses, 0 mismatches; 5x90s queued HOS_AB won 5/5 (+2.02% fps, 81.31 vs 79.70 fps, 95% CI +1.56% to +2.57%, desc_ms -11.02%).
Member

Possibly related, for context:

  • PR #2899 perf(vk): add UBO descriptor delta fast path, 8-slot ub_gap_cache, and lock-free invalidate exits — Merged UBO descriptor fast path also modifies build_descriptors
  • PR #2920 perf(vk): add per-thread texture/sampler and read-only SSBO descriptor memos — Merged texture and SSBO memoization in the same descriptor-building hot path
  • PR #2045 WIP: perf(vk): a descriptor build asks for its stages' descriptor lists first — Open optimization touching build_descriptors; potential rebase overlap
  • PR #2210 perf(vk): a draw of the program before it keeps its texture and storage descriptors while their bindings stand (RX_VK_DESC_SECTIONS, off) — Open descriptor retention optimization in build_descriptors; overlapping renderer behavior
Possibly related, for context: - PR #2899 perf(vk): add UBO descriptor delta fast path, 8-slot ub_gap_cache, and lock-free invalidate exits — Merged UBO descriptor fast path also modifies build_descriptors - PR #2920 perf(vk): add per-thread texture/sampler and read-only SSBO descriptor memos — Merged texture and SSBO memoization in the same descriptor-building hot path - PR #2045 WIP: perf(vk): a descriptor build asks for its stages' descriptor lists first — Open optimization touching build_descriptors; potential rebase overlap - PR #2210 perf(vk): a draw of the program before it keeps its texture and storage descriptors while their bindings stand (RX_VK_DESC_SECTIONS, off) — Open descriptor retention optimization in build_descriptors; overlapping renderer behavior
Member
@review
BeanBot left a comment

Recommendation: Approve. The new game-free test does not exercise the descriptor executor used by the game, and check mode can suppress real buffer mismatches. The reported speedup also compares two modes of the PR build rather than the PR against its base. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The change precompiles descriptor work per program and reuses write templates to reduce per-draw CPU work. It adds per-thread caches and a second descriptor implementation that must stay consistent with the baseline.

Should fix (2): not blocking, but worth doing before merging.

  • L1 gpu/vk/vk_draw.cpp:5617: The parity check treats any two non-null buffers with equal ranges as equal whenever the binding stamp changed, even if they refer to unrelated buffers or offsets. (more on the line) Do: Compare the resolved guest ranges or contents and suppress a difference only when the two bindings are proven to represent the same data.
  • L2 tests/test_vk_desc_plan_fast.py:636: The parity harness executes its own copy of the plan interpreter instead of the production execute_desc_plan function. (more on the line) Do: Exercise the production executor with test stand-ins, or extract a shared executor that both the renderer and the test call; include a mutation of an actual executor operation that the test catches.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L3: The claimed gain has not been measured against the merge base at settings players use. When: Both reported timing sides run the PR build, so any overhead added even with the switch off is absent from the comparison; the custom 50% resolution run also does not establish the effect at the device's normal settings. Do: Run several interleaved base-versus-HEAD measurements in the target and heavy scenes at the device's normal resolution and Auto quality, reporting frame times, 1% lows and descriptor time.
  • L4: The new default descriptor path has not been exercised across the Tier 1 systems it affects. When: The recorded check-mode run covers one Windows scene; descriptor writes and first-use plan creation also run on Linux, Steam Deck and other GPUs and drivers. Do: Run representative graphics and compute scenes with parity checking and normal play on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and record the hardware and results.

@fix can do L1 and L2.

Questions (2) (not confirmed from the code; they don't hold the recommendation)

  • Which GPU and driver produced the reported Windows measurements and parity run?
  • Was AI assistance used for the commit? If so, the required assistance trailer is absent.

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven against the base. The PR reports 81.31 versus 79.70 fps, a 2.02% gain over five interleaved runs, but both sides use f4d9fbe07 and differ only in the switch value. The comparison does not include costs common to both PR modes, and the GPU and driver are not identified.

Other systems: The path handles graphics and compute descriptors, storage buffers and images, texture sampling, descriptor reuse, and recording threads on Windows and Linux. The reported live parity run covers Windows Market only; AMD, Intel, NVIDIA, Linux, Steam Deck, alternate scenes, first-use costs and memory growth remain unmeasured.

Switches: RX_VK_DESC_PLAN_FAST is added, defaults to 1, accepts 0 and check, and has a switches.def row. Its default has not been measured against the base across the supported systems it affects.

Reviewed: f4d9fbe07b against 495ed9fe2a: Read the repository rules, contribution guide, standards and PR template; the commit and changed-file diffs; desc_plan_fast.h and the changed descriptor-building regions and surrounding callers in vk_draw.cpp; and relevant bank, shader, test and switch code. Skimmed the long test harness rather than reading every line, and did not read the whole of vk_draw.cpp or every changed test file in full. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).

Checked and fine:

  • The switch is listed in switches.def and the HOS_AB wiring test.
  • The plan state uses the existing thread-owned allocation mechanism, which destroys its allocations when the thread ends.
  • The direct c2 classification follows the bank-2 ranges and ordering in driver_bank_word.
  • No generated shader headers, third-party files, API versioned interfaces or game-derived artifacts are changed.

Testing: Read-only review; no build, tests or project scripts were run. The supplied CI checks are still running.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The new game-free test does not exercise the descriptor executor used by the game, and check mode can suppress real buffer mismatches. The reported speedup also compares two modes of the PR build rather than the PR against its base. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The change precompiles descriptor work per program and reuses write templates to reduce per-draw CPU work. It adds per-thread caches and a second descriptor implementation that must stay consistent with the baseline. **Should fix (2)**: not blocking, but worth doing before merging. - **L1** `gpu/vk/vk_draw.cpp:5617`: The parity check treats any two non-null buffers with equal ranges as equal whenever the binding stamp changed, even if they refer to unrelated buffers or offsets. (more on the line) **Do:** Compare the resolved guest ranges or contents and suppress a difference only when the two bindings are proven to represent the same data. - **L2** `tests/test_vk_desc_plan_fast.py:636`: The parity harness executes its own copy of the plan interpreter instead of the production execute_desc_plan function. (more on the line) **Do:** Exercise the production executor with test stand-ins, or extract a shared executor that both the renderer and the test call; include a mutation of an actual executor operation that the test catches. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The claimed gain has not been measured against the merge base at settings players use. *When:* Both reported timing sides run the PR build, so any overhead added even with the switch off is absent from the comparison; the custom 50% resolution run also does not establish the effect at the device's normal settings. **Do:** Run several interleaved base-versus-HEAD measurements in the target and heavy scenes at the device's normal resolution and Auto quality, reporting frame times, 1% lows and descriptor time. - **L4**: The new default descriptor path has not been exercised across the Tier 1 systems it affects. *When:* The recorded check-mode run covers one Windows scene; descriptor writes and first-use plan creation also run on Linux, Steam Deck and other GPUs and drivers. **Do:** Run representative graphics and compute scenes with parity checking and normal play on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and record the hardware and results. `@fix` can do L1 and L2. **Questions (2)** (not confirmed from the code; they don't hold the recommendation) - Which GPU and driver produced the reported Windows measurements and parity run? - Was AI assistance used for the commit? If so, the required assistance trailer is absent. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven against the base. The PR reports 81.31 versus 79.70 fps, a 2.02% gain over five interleaved runs, but both sides use f4d9fbe07 and differ only in the switch value. The comparison does not include costs common to both PR modes, and the GPU and driver are not identified. **Other systems:** The path handles graphics and compute descriptors, storage buffers and images, texture sampling, descriptor reuse, and recording threads on Windows and Linux. The reported live parity run covers Windows Market only; AMD, Intel, NVIDIA, Linux, Steam Deck, alternate scenes, first-use costs and memory growth remain unmeasured. **Switches:** RX_VK_DESC_PLAN_FAST is added, defaults to 1, accepts 0 and check, and has a switches.def row. Its default has not been measured against the base across the supported systems it affects. **Reviewed:** f4d9fbe07bac against 495ed9fe2aaa: Read the repository rules, contribution guide, standards and PR template; the commit and changed-file diffs; desc_plan_fast.h and the changed descriptor-building regions and surrounding callers in vk_draw.cpp; and relevant bank, shader, test and switch code. Skimmed the long test harness rather than reading every line, and did not read the whole of vk_draw.cpp or every changed test file in full. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review). **Checked and fine:** - The switch is listed in switches.def and the HOS_AB wiring test. - The plan state uses the existing thread-owned allocation mechanism, which destroys its allocations when the thread ends. - The direct c2 classification follows the bank-2 ranges and ordering in driver_bank_word. - No generated shader headers, third-party files, API versioned interfaces or game-derived artifacts are changed. **Testing:** Read-only review; no build, tests or project scripts were run. The supplied CI checks are still running. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -5067,0 +5614,4 @@
if (std::memcmp(p1, p2, (size_t)b1.range) == 0) continue;
}
}
if (pool_changed && b1.range == b2.range && b1.buffer != VK_NULL_HANDLE &&
Member

L1 (should fix): The parity check treats any two non-null buffers with equal ranges as equal whenever the binding stamp changed, even if they refer to unrelated buffers or offsets.

When: If either descriptor build changes the GPU binding stamp and the fast path selects the wrong storage buffer with the same range, this branch skips the mismatch and check mode reports parity.

Do: Compare the resolved guest ranges or contents and suppress a difference only when the two bindings are proven to represent the same data.

**L1** (should fix): The parity check treats any two non-null buffers with equal ranges as equal whenever the binding stamp changed, even if they refer to unrelated buffers or offsets. *When:* If either descriptor build changes the GPU binding stamp and the fast path selects the wrong storage buffer with the same range, this branch skips the mismatch and check mode reports parity. **Do:** Compare the resolved guest ranges or contents and suppress a difference only when the two bindings are proven to represent the same data.
@ -0,0 +633,4 @@
}
}
static bool run_plan_exec(desc_plan_fast::State& st_state, const NvnState& s, const Program& p, WriterOut& out) {
Member

L2 (should fix): The parity harness executes its own copy of the plan interpreter instead of the production execute_desc_plan function.

When: Changing or removing a descriptor write in gpu/vk/vk_draw.cpp leaves run_plan_exec unchanged, so the advertised six-type and 400-draw parity checks still pass while the game binds incorrect descriptors.

Do: Exercise the production executor with test stand-ins, or extract a shared executor that both the renderer and the test call; include a mutation of an actual executor operation that the test catches.

**L2** (should fix): The parity harness executes its own copy of the plan interpreter instead of the production execute_desc_plan function. *When:* Changing or removing a descriptor write in gpu/vk/vk_draw.cpp leaves run_plan_exec unchanged, so the advertised six-type and 400-draw parity checks still pass while the game binds incorrect descriptors. **Do:** Exercise the production executor with test stand-ins, or extract a shared executor that both the renderer and the test call; include a mutation of an actual executor operation that the test catches.
siantm force-pushed perf/vk-desc-plan-fast from f4d9fbe07b
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 32bb1080cc
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/nvidia 2/1 fail
beanstalk/amd 1/1 fail
beanstalk/intel 1/1 fail
beanstalk/windows 1/1 fail
beanstalk/linux+radv 1/1 fail
beanstalk/steamdeck 2/1 fail
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-02 13:22:39 +00:00
Compare
Author
Contributor

Addressed BeanBot L1 and L2 and added the Assisted-by: Antigravity (Google DeepMind) trailer in commit 32bb1080c:

  • L1 (gpu/vk/vk_draw.cpp, gpu/vk/vk_memory.cpp, gpu/vk/vk_internal.h): check_desc_plan_parity no longer suppresses buffer mismatches solely on pool_changed && b1.range == b2.range. Instead, gpu_binding_same_guest_range(b1, b2) resolves both (buffer, offset, range) bindings against live and retired pools under pools_mu and suppresses the difference only when both prove to map to the exact same guest address range (e.g. a pool buffer vs mirror transition).
  • L2 (gpu/vk/desc_plan_fast.h, gpu/vk/vk_draw.cpp, tests/test_vk_desc_plan_fast.py): Factored the production descriptor plan executor into desc_plan_fast::execute_plan in gpu/vk/desc_plan_fast.h (templated over a lightweight Ops interface) so both execute_desc_plan in gpu/vk/vk_draw.cpp and run_plan_exec in tests/test_vk_desc_plan_fast.py execute the exact same production bytecode loop and write-template setup. Added a source_checks assertion that execute_desc_plan calls desc_plan_fast::execute_plan(, switched compiler discovery to tests/compiler_command.py, and added two MUST_FAIL variants targeting actual executor operations (broken_exec_ubo, broken_exec_depth_samples; 11 variants total).
  • L3 / L4 & hardware details: Interleaved base-vs-HEAD measurements at normal/Auto settings (L3), Tier-1 Windows/Linux/Steam Deck parity & play runs (L4), and GPU/driver identification remain pending live hardware testing before merge.

Checks run after final edits:

  • python -I tests/test_vk_desc_plan_fast.py (clang++, -std=c++20 -Wall -Wextra -Werror): PASS (all 11 MUST_FAIL broken variants caught)
  • python -I tests/test_vk_desc_plan_fast.py --cxx C:\msys64\mingw64\bin\g++.exe (-std=c++20 -Wall -Wextra -Werror): PASS (all 11 MUST_FAIL broken variants caught)
  • python -I tests/test_hos_ab.py --cc clang: PASS
  • python -I tests/test_tls_objects.py: PASS (21 TLS_OBJECTs; 46 other namespace-scope thread_locals, none with a constructor or destructor)
  • python -I tests/test_vk_braces.py: PASS (618 renderer sources balance)
  • clang++ -std=c++20 -fsyntax-only -Wall -Wextra on gpu/vk/vk_memory.cpp and gpu/vk/vk_draw.cpp: exit 0
Addressed BeanBot **L1** and **L2** and added the `Assisted-by: Antigravity (Google DeepMind)` trailer in commit `32bb1080c`: - **L1 (`gpu/vk/vk_draw.cpp`, `gpu/vk/vk_memory.cpp`, `gpu/vk/vk_internal.h`):** `check_desc_plan_parity` no longer suppresses buffer mismatches solely on `pool_changed && b1.range == b2.range`. Instead, `gpu_binding_same_guest_range(b1, b2)` resolves both `(buffer, offset, range)` bindings against live and retired pools under `pools_mu` and suppresses the difference only when both prove to map to the exact same guest address range (e.g. a pool `buffer` vs `mirror` transition). - **L2 (`gpu/vk/desc_plan_fast.h`, `gpu/vk/vk_draw.cpp`, `tests/test_vk_desc_plan_fast.py`):** Factored the production descriptor plan executor into `desc_plan_fast::execute_plan` in `gpu/vk/desc_plan_fast.h` (templated over a lightweight `Ops` interface) so both `execute_desc_plan` in `gpu/vk/vk_draw.cpp` and `run_plan_exec` in `tests/test_vk_desc_plan_fast.py` execute the exact same production bytecode loop and write-template setup. Added a `source_checks` assertion that `execute_desc_plan` calls `desc_plan_fast::execute_plan(`, switched compiler discovery to `tests/compiler_command.py`, and added two `MUST_FAIL` variants targeting actual executor operations (`broken_exec_ubo`, `broken_exec_depth_samples`; 11 variants total). - **L3 / L4 & hardware details:** Interleaved base-vs-HEAD measurements at normal/Auto settings (**L3**), Tier-1 Windows/Linux/Steam Deck parity & play runs (**L4**), and GPU/driver identification remain pending live hardware testing before merge. **Checks run after final edits:** - `python -I tests/test_vk_desc_plan_fast.py` (`clang++`, `-std=c++20 -Wall -Wextra -Werror`): PASS (all 11 `MUST_FAIL` broken variants caught) - `python -I tests/test_vk_desc_plan_fast.py --cxx C:\msys64\mingw64\bin\g++.exe` (`-std=c++20 -Wall -Wextra -Werror`): PASS (all 11 `MUST_FAIL` broken variants caught) - `python -I tests/test_hos_ab.py --cc clang`: PASS - `python -I tests/test_tls_objects.py`: PASS (`21 TLS_OBJECTs; 46 other namespace-scope thread_locals, none with a constructor or destructor`) - `python -I tests/test_vk_braces.py`: PASS (`618` renderer sources balance) - `clang++ -std=c++20 -fsyntax-only -Wall -Wextra` on `gpu/vk/vk_memory.cpp` and `gpu/vk/vk_draw.cpp`: exit 0
Owner

@review
@beanstalk

@review @beanstalk
Member
Beanstalk test farm · an earlier run: commit 32bb108 (the newer results are in a comment below)

Commit 32bb108 · approved by HumanBean (reviewed) · dashboard

⚠️ Note: Fixed 720p Custom settings emphasize CPU descriptor work; they do not reproduce device-specific Auto quality or establish the reported 2% gain and descriptor-time reduction at that precision.
⚠️ Note: Parity mismatch logs are forbidden, but the plan cannot require a positive check count only in the check scenario; the farm also cannot run the requested standalone unit tests.
⚠️ Note: The scenes exercise representative rendering but do not guarantee coverage of every descriptor type or compute program.

Summary, written by AI (gpt-6.1-terra) from the numbers below:

The change failed on NVIDIA, AMD, Intel, Windows, Linux+RADV and Steam Deck. Water Temple 1% low frame time worsened from 18.157 → 27.687 ms (+52.5%) on an NVIDIA RTX 3070; on Steam Deck, Market 1% low frame time worsened from 51.766 → 144.571 ms (+179.3%) on one report and 50.182 → 60.289 ms (+20.1%) on another. Screenshot differences exceeded the 0.2 limit on NVIDIA, AMD, Windows and Steam Deck, while forbidden parity-check log hits rose from 0 → 11 on Linux Intel and 0 → 1 on Linux+RADV. The Windows Intel UHD 630 report was inconclusive because both baseline and PR crashed in every start, pointing to that PC rather than the change.

Done (started 2026-12-02 15:27 UTC, last report 06:52 UTC). Comment @Beanstalk to run it again.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
nvidia ❌ fail (an outlier) 2 1 2 8.6 → 8.6 (+0%) — none
amd ❌ fail (an outlier) 2 1 2 9.0 → 8.9 (−0%) — none
intel ❌ fail 2 1 2 203.0 → 202.7 (−0%) — 4 PR runs
windows ❌ fail (an outlier) 2 1 2 6.9 → 6.7 (−2%) — none
linux+radv ❌ fail (an outlier) 2 1 2 8.9 → 9.0 (+1%) — none
steamdeck ❌ fail (an outlier) 2 1 2 37.7 → 39.3 (+4%) — none

Why it failed

  • nvidia: default-performance screenshot.max_diff: 0.5 → 0.2; limit 0.2
  • nvidia: default-performance temple.frametime_1pct_low_ms.max_delta_pct: 18.2 → 27.7 (+52.5%); limit 15.0
  • amd: default-performance screenshot.max_diff: 0.1 → 0.8; limit 0.2
  • intel: parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) log_forbidden_hits.max: 0.0 → 11.0; limit 0.0
  • windows: default-performance screenshot.max_diff: 0.2 → 0.2; limit 0.2
  • linux+radv: parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) log_forbidden_hits.max: 0.0 → 1.0; limit 0.0
  • steamdeck: default-performance screenshot.max_diff: 0.3 → 0.8; limit 0.2
  • steamdeck: default-performance market.frametime_1pct_low_ms.max_delta_pct: 51.8 → 144.6 (+179.3%); limit 15.0
  • and 3 more, in the reports

Couldn't be judged: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own.

  • intel, report 1: Insufficient frame-time evidence for 11 required comparison(s). See rule results.
What was tested

What will be tested · AI plan (gpt-6.1-terra)

The farm will compare main and the PR in Market, Hyrule Field and the Water Temple across NVIDIA, AMD, Intel, Windows, RADV and Steam Deck targets. Three interleaved starts per side measure 30 seconds per location at fixed 720p, uncapped, with screenshots taken before movement; one further start per side exercises descriptor parity checking. The PR fails for a crash, a parity-mismatch log, excessive picture differences, or a frame-time regression over the plan’s limits.

  • Where: nvidia (1-2 reports), amd (1-2 reports), intel (1-2 reports), windows (1-2 reports), linux+radv (1-2 reports), steamdeck (1-2 reports).
  • Matrix: 1 cell, each on main and the PR: RX_VK_DESC_PLAN_FAST check (PR only).
  • default-performance: from the repository's save market-entrance (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0), then teleport to Market, take the picture market to compare with main, measure market for 30 s (after 10 s warm-up), teleport to Hyrule Field, take the picture field to compare with main, measure field for 30 s (after 10 s warm-up), teleport to Water Temple, take the picture temple to compare with main, measure temple for 30 s (after 10 s warm-up); 3 runs on each side.
  • parity-check: from the repository's save market-entrance (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0), then teleport to Market, teleport to Hyrule Field, teleport to Water Temple; 1 run on each side.
  • Measured: crashes, frame times, stutters and hitches, memory and CPU time, the game's log.
  • The PR fails if: it crashes; or a picture differs from main by more than 20%; or median frame time is more than 10% above main; or frame time (p99) is more than 15% above main; or forbidden log lines is above 0; or frame time (worst 1%) is more than 15% above main.
  • Time: about 55 min of game runs per tester (8 game starts), plus the two builds.
Measurements on `nvidia`, for the PR description

Verdict: fail on nvidia (2 reports): default-performance screenshot.max_diff; default-performance temple.frametime_1pct_low_ms.max_delta_pct (+52.5%) failed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0 AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 3070, 621.35.0 AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 6.7 6.6 (−1%)
default-performance · market · median frame time (ms) 11.2 10.9 (−2%)
default-performance · temple · median frame time (ms) 7.4 7.3 (−2%)
default-performance · field · frame time (p99) (ms) 8.6 8.6 (+0%)
default-performance · market · frame time (p99) (ms) 15.0 14.6 (−3%)
default-performance · temple · frame time (p99) (ms) 13.1 12.6 (−4%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 9.1 9.3 (+1%)
default-performance · market · frame time (worst 1%) (ms) 18.1 16.3 (−10%)
default-performance · temple · frame time (worst 1%) (ms) 24.2 26.7 (+10%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 0.0

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on nvidia (2 reports): `default-performance screenshot.max_diff`; `default-performance temple.frametime_1pct_low_ms.max_delta_pct (+52.5%)` failed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0` `AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 6.7 | 6.6 (−1%) |
| default-performance · market · median frame time (ms) | 11.2 | 10.9 (−2%) |
| default-performance · temple · median frame time (ms) | 7.4 | 7.3 (−2%) |
| default-performance · field · frame time (p99) (ms) | 8.6 | 8.6 (+0%) |
| default-performance · market · frame time (p99) (ms) | 15.0 | 14.6 (−3%) |
| default-performance · temple · frame time (p99) (ms) | 13.1 | 12.6 (−4%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 9.1 | 9.3 (+1%) |
| default-performance · market · frame time (worst 1%) (ms) | 18.1 | 16.3 (−10%) |
| default-performance · temple · frame time (worst 1%) (ms) | 24.2 | 26.7 (+10%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
Measurements on `amd`, for the PR description

Verdict: fail on amd (2 reports): default-performance screenshot.max_diff failed.

Hardware: 1: linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM; 2: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 7.4 7.4 (−1%)
default-performance · market · median frame time (ms) 10.0 10.0 (+1%)
default-performance · temple · median frame time (ms) 7.2 7.2 (+0%)
default-performance · field · frame time (p99) (ms) 9.0 8.9 (−0%)
default-performance · market · frame time (p99) (ms) 12.4 12.4 (−0%)
default-performance · temple · frame time (p99) (ms) 11.4 11.1 (−2%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 10.0 10.1 (+1%)
default-performance · market · frame time (worst 1%) (ms) 14.7 14.3 (−3%)
default-performance · temple · frame time (worst 1%) (ms) 19.6 16.0 (−19%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 0.0

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on amd (2 reports): `default-performance screenshot.max_diff` failed.

Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 7.4 | 7.4 (−1%) |
| default-performance · market · median frame time (ms) | 10.0 | 10.0 (+1%) |
| default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) |
| default-performance · field · frame time (p99) (ms) | 9.0 | 8.9 (−0%) |
| default-performance · market · frame time (p99) (ms) | 12.4 | 12.4 (−0%) |
| default-performance · temple · frame time (p99) (ms) | 11.4 | 11.1 (−2%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 10.0 | 10.1 (+1%) |
| default-performance · market · frame time (worst 1%) (ms) | 14.7 | 14.3 (−3%) |
| default-performance · temple · frame time (worst 1%) (ms) | 19.6 | 16.0 (−19%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
Measurements on `intel`, for the PR description

Verdict: fail on intel (2 reports): parity-check log_forbidden_hits.max failed.

Hardware: 1: windows+intel+intel-proprietary+igpu+window Intel(R) UHD Graphics 630, 0.404.2115 Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM; 2: linux+intel+anv+igpu Intel(R) Graphics (RKL GT1), 26.2.4 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 195.4 195.4 (+0%)
default-performance · market · median frame time (ms) 214.6 214.4 (−0%)
default-performance · temple · median frame time (ms) 161.1 161.2 (+0%)
default-performance · field · frame time (p99) (ms) 203.0 202.7 (−0%)
default-performance · market · frame time (p99) (ms) 228.0 225.6 (−1%)
default-performance · temple · frame time (p99) (ms) 175.2 179.0 (+2%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 203.6 203.5 (−0%)
default-performance · market · frame time (worst 1%) (ms) 230.1 227.2 (−1%)
default-performance · temple · frame time (worst 1%) (ms) 207.5 207.5 (−0%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 5.5

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on intel (2 reports): `parity-check log_forbidden_hits.max` failed.

Hardware: 1: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM`; 2: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 195.4 | 195.4 (+0%) |
| default-performance · market · median frame time (ms) | 214.6 | 214.4 (−0%) |
| default-performance · temple · median frame time (ms) | 161.1 | 161.2 (+0%) |
| default-performance · field · frame time (p99) (ms) | 203.0 | 202.7 (−0%) |
| default-performance · market · frame time (p99) (ms) | 228.0 | 225.6 (−1%) |
| default-performance · temple · frame time (p99) (ms) | 175.2 | 179.0 (+2%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 203.6 | 203.5 (−0%) |
| default-performance · market · frame time (worst 1%) (ms) | 230.1 | 227.2 (−1%) |
| default-performance · temple · frame time (worst 1%) (ms) | 207.5 | 207.5 (−0%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 5.5 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
Measurements on `windows`, for the PR description

Verdict: fail on windows (2 reports): default-performance screenshot.max_diff failed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070, 621.24.0 AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 5.5 5.5 (−0%)
default-performance · market · median frame time (ms) 7.8 7.7 (−2%)
default-performance · temple · median frame time (ms) 6.5 6.4 (−1%)
default-performance · field · frame time (p99) (ms) 6.9 6.7 (−2%)
default-performance · market · frame time (p99) (ms) 10.0 9.9 (−1%)
default-performance · temple · frame time (p99) (ms) 9.6 9.4 (−2%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 7.4 7.4 (−1%)
default-performance · market · frame time (worst 1%) (ms) 12.0 11.1 (−8%)
default-performance · temple · frame time (worst 1%) (ms) 18.7 16.7 (−10%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 0.0

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on windows (2 reports): `default-performance screenshot.max_diff` failed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 5.5 | 5.5 (−0%) |
| default-performance · market · median frame time (ms) | 7.8 | 7.7 (−2%) |
| default-performance · temple · median frame time (ms) | 6.5 | 6.4 (−1%) |
| default-performance · field · frame time (p99) (ms) | 6.9 | 6.7 (−2%) |
| default-performance · market · frame time (p99) (ms) | 10.0 | 9.9 (−1%) |
| default-performance · temple · frame time (p99) (ms) | 9.6 | 9.4 (−2%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 7.4 | 7.4 (−1%) |
| default-performance · market · frame time (worst 1%) (ms) | 12.0 | 11.1 (−8%) |
| default-performance · temple · frame time (worst 1%) (ms) | 18.7 | 16.7 (−10%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
Measurements on `linux+radv`, for the PR description

Verdict: fail on linux+radv (2 reports): parity-check log_forbidden_hits.max failed.

Hardware: 1: linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM; 2: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 7.4 7.4 (−0%)
default-performance · market · median frame time (ms) 10.0 9.9 (−1%)
default-performance · temple · median frame time (ms) 7.2 7.2 (+0%)
default-performance · field · frame time (p99) (ms) 8.9 9.0 (+1%)
default-performance · market · frame time (p99) (ms) 12.7 12.4 (−2%)
default-performance · temple · frame time (p99) (ms) 11.2 11.3 (+1%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 10.1 10.2 (+1%)
default-performance · market · frame time (worst 1%) (ms) 14.1 14.2 (+1%)
default-performance · temple · frame time (worst 1%) (ms) 16.9 16.9 (+0%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 0.5

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on linux+radv (2 reports): `parity-check log_forbidden_hits.max` failed.

Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 7.4 | 7.4 (−0%) |
| default-performance · market · median frame time (ms) | 10.0 | 9.9 (−1%) |
| default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) |
| default-performance · field · frame time (p99) (ms) | 8.9 | 9.0 (+1%) |
| default-performance · market · frame time (p99) (ms) | 12.7 | 12.4 (−2%) |
| default-performance · temple · frame time (p99) (ms) | 11.2 | 11.3 (+1%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 10.1 | 10.2 (+1%) |
| default-performance · market · frame time (worst 1%) (ms) | 14.1 | 14.2 (+1%) |
| default-performance · temple · frame time (worst 1%) (ms) | 16.9 | 16.9 (+0%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.5 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
Measurements on `steamdeck`, for the PR description

Verdict: fail on steamdeck (2 reports): default-performance screenshot.max_diff; default-performance market.frametime_1pct_low_ms.max_delta_pct (+179.3%); default-performance market.frametime_p99_ms.max_delta_pct (+19.0%) failed.

Hardware: 1: linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM; 2: linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Before: main @ 495ed9f After: this PR @ 32bb108
default-performance · field · median frame time (ms) 28.3 28.3 (+0%)
default-performance · market · median frame time (ms) 35.9 36.4 (+1%)
default-performance · temple · median frame time (ms) 23.6 23.4 (−1%)
default-performance · field · frame time (p99) (ms) 37.7 39.3 (+4%)
default-performance · market · frame time (p99) (ms) 45.6 51.5 (+13%)
default-performance · temple · frame time (p99) (ms) 55.7 55.6 (−0%)
default-performance · forbidden log lines 0.0 0.0
default-performance · field · frame time (worst 1%) (ms) 42.3 43.0 (+1%)
default-performance · market · frame time (worst 1%) (ms) 51.0 102.4 (+101%)
default-performance · temple · frame time (worst 1%) (ms) 133.5 123.5 (−7%)
parity-check · RX_VK_DESC_PLAN_FAST=check (PR only) · forbidden log lines 0.0 0.0

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (median frame time) Helps / doesn't help / untested
RX_VK_DESC_PLAN_FAST switch the PR adds (set on the PR side only) check not in main the PR's default parity-check, main without it → the PR with check: not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** fail on steamdeck (2 reports): `default-performance screenshot.max_diff`; `default-performance market.frametime_1pct_low_ms.max_delta_pct (+179.3%)`; `default-performance market.frametime_p99_ms.max_delta_pct (+19.0%)` failed.

Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`  
Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

| | Before: main @ 495ed9f | After: this PR @ 32bb108 |
|---|---|---|
| default-performance · field · median frame time (ms) | 28.3 | 28.3 (+0%) |
| default-performance · market · median frame time (ms) | 35.9 | 36.4 (+1%) |
| default-performance · temple · median frame time (ms) | 23.6 | 23.4 (−1%) |
| default-performance · field · frame time (p99) (ms) | 37.7 | 39.3 (+4%) |
| default-performance · market · frame time (p99) (ms) | 45.6 | 51.5 (+13%) |
| default-performance · temple · frame time (p99) (ms) | 55.7 | 55.6 (−0%) |
| default-performance · forbidden log lines | 0.0 | 0.0 |
| default-performance · field · frame time (worst 1%) (ms) | 42.3 | 43.0 (+1%) |
| default-performance · market · frame time (worst 1%) (ms) | 51.0 | 102.4 (+101%) |
| default-performance · temple · frame time (worst 1%) (ms) | 133.5 | 123.5 (−7%) |
| parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 |

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested |
The testers' hardware
Target Report Ran on
nvidia 1 windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0 AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM
nvidia 2 windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 3070, 621.35.0 AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM
amd 1 linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM
amd 2 linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM
intel 1 windows+intel+intel-proprietary+igpu+window Intel(R) UHD Graphics 630, 0.404.2115 Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM
intel 2 linux+intel+anv+igpu Intel(R) Graphics (RKL GT1), 26.2.4 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM
windows 1 windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070, 621.24.0 AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM
windows 2 windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM
linux+radv 1 linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM
linux+radv 2 linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM
steamdeck 1 linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
steamdeck 2 linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
<!-- beanstalk:previous --> <details><summary>Beanstalk test farm · an earlier run: commit <code>32bb108</code> (the newer results are in a comment below)</summary> Commit `32bb108` · approved by HumanBean (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/2989) ⚠️ **Note:** Fixed 720p Custom settings emphasize CPU descriptor work; they do not reproduce device-specific Auto quality or establish the reported 2% gain and descriptor-time reduction at that precision. ⚠️ **Note:** Parity mismatch logs are forbidden, but the plan cannot require a positive check count only in the check scenario; the farm also cannot run the requested standalone unit tests. ⚠️ **Note:** The scenes exercise representative rendering but do not guarantee coverage of every descriptor type or compute program. > **Summary**, written by AI (`gpt-6.1-terra`) from the numbers below: > > The change failed on NVIDIA, AMD, Intel, Windows, Linux+RADV and Steam Deck. Water Temple 1% low frame time worsened from 18.157 → 27.687 ms (+52.5%) on an NVIDIA RTX 3070; on Steam Deck, Market 1% low frame time worsened from 51.766 → 144.571 ms (+179.3%) on one report and 50.182 → 60.289 ms (+20.1%) on another. Screenshot differences exceeded the 0.2 limit on NVIDIA, AMD, Windows and Steam Deck, while forbidden parity-check log hits rose from 0 → 11 on Linux Intel and 0 → 1 on Linux+RADV. The Windows Intel UHD 630 report was inconclusive because both baseline and PR crashed in every start, pointing to that PC rather than the change. Done (started 2026-12-02 15:27 UTC, last report 06:52 UTC). Comment `@Beanstalk` to run it again. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `nvidia` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_c84ec45aafe95121) [2](https://beanstalk.magicbean.dev/reports/rp_90268919eabe2fdf) | 8.6 → 8.6 (+0%) | — | none | | `amd` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_ebe1312e37d096c7) [2](https://beanstalk.magicbean.dev/reports/rp_9f2d006dbdd7dbce) | 9.0 → 8.9 (−0%) | — | none | | `intel` | ❌ fail | 2 [1](https://beanstalk.magicbean.dev/reports/rp_82e22fdfa963986c) [2](https://beanstalk.magicbean.dev/reports/rp_5304608404bc1310) | 203.0 → 202.7 (−0%) | — | 4 PR runs | | `windows` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_179ec0d8e1132eb2) [2](https://beanstalk.magicbean.dev/reports/rp_ba74db1d971f4a22) | 6.9 → 6.7 (−2%) | — | none | | `linux+radv` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_0088092a7b203bdd) [2](https://beanstalk.magicbean.dev/reports/rp_cef62b6cb1e41261) | 8.9 → 9.0 (+1%) | — | none | | `steamdeck` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_d2192a6283fd28e3) [2](https://beanstalk.magicbean.dev/reports/rp_e00089d83db05f6c) | 37.7 → 39.3 (+4%) | — | none | **Why it failed** - `nvidia`: `default-performance` `screenshot.max_diff`: `0.5 → 0.2; limit 0.2` - `nvidia`: `default-performance` `temple.frametime_1pct_low_ms.max_delta_pct`: `18.2 → 27.7 (+52.5%); limit 15.0` - `amd`: `default-performance` `screenshot.max_diff`: `0.1 → 0.8; limit 0.2` - `intel`: `parity-check · RX_VK_DESC_PLAN_FAST=check (PR only)` `log_forbidden_hits.max`: `0.0 → 11.0; limit 0.0` - `windows`: `default-performance` `screenshot.max_diff`: `0.2 → 0.2; limit 0.2` - `linux+radv`: `parity-check · RX_VK_DESC_PLAN_FAST=check (PR only)` `log_forbidden_hits.max`: `0.0 → 1.0; limit 0.0` - `steamdeck`: `default-performance` `screenshot.max_diff`: `0.3 → 0.8; limit 0.2` - `steamdeck`: `default-performance` `market.frametime_1pct_low_ms.max_delta_pct`: `51.8 → 144.6 (+179.3%); limit 15.0` - and 3 more, in the reports **Couldn't be judged**: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own. - `intel`, [report 1](https://beanstalk.magicbean.dev/reports/rp_82e22fdfa963986c): `Insufficient frame-time evidence for 11 required comparison(s). See rule results.` <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) The farm will compare main and the PR in Market, Hyrule Field and the Water Temple across NVIDIA, AMD, Intel, Windows, RADV and Steam Deck targets. Three interleaved starts per side measure 30 seconds per location at fixed 720p, uncapped, with screenshots taken before movement; one further start per side exercises descriptor parity checking. The PR fails for a crash, a parity-mismatch log, excessive picture differences, or a frame-time regression over the plan’s limits. - **Where:** nvidia (1-2 reports), amd (1-2 reports), intel (1-2 reports), windows (1-2 reports), linux+radv (1-2 reports), steamdeck (1-2 reports). - **Matrix:** 1 cell, each on main and the PR: RX_VK_DESC_PLAN_FAST `check` (PR only). - **default-performance:** from the repository's save `market-entrance` (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_AUTO_TUNE=0`), then teleport to Market, take the picture market to compare with main, measure market for 30 s (after 10 s warm-up), teleport to Hyrule Field, take the picture field to compare with main, measure field for 30 s (after 10 s warm-up), teleport to Water Temple, take the picture temple to compare with main, measure temple for 30 s (after 10 s warm-up); 3 runs on each side. - **parity-check:** from the repository's save `market-entrance` (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_AUTO_TUNE=0`), then teleport to Market, teleport to Hyrule Field, teleport to Water Temple; 1 run on each side. - **Measured:** crashes, frame times, stutters and hitches, memory and CPU time, the game's log. - **The PR fails if:** it crashes; or a picture differs from main by more than 20%; or median frame time is more than 10% above main; or frame time (p99) is more than 15% above main; or forbidden log lines is above 0; or frame time (worst 1%) is more than 15% above main. - **Time:** about 55 min of game runs per tester (8 game starts), plus the two builds. </details> <details><summary>Measurements on `nvidia`, for the PR description</summary> **Verdict:** fail on nvidia (2 reports): `default-performance screenshot.max_diff`; `default-performance temple.frametime_1pct_low_ms.max_delta_pct (+52.5%)` failed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0` `AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 6.7 | 6.6 (−1%) | | default-performance · market · median frame time (ms) | 11.2 | 10.9 (−2%) | | default-performance · temple · median frame time (ms) | 7.4 | 7.3 (−2%) | | default-performance · field · frame time (p99) (ms) | 8.6 | 8.6 (+0%) | | default-performance · market · frame time (p99) (ms) | 15.0 | 14.6 (−3%) | | default-performance · temple · frame time (p99) (ms) | 13.1 | 12.6 (−4%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 9.1 | 9.3 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 18.1 | 16.3 (−10%) | | default-performance · temple · frame time (worst 1%) (ms) | 24.2 | 26.7 (+10%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on nvidia (2 reports): `default-performance screenshot.max_diff`; `default-performance temple.frametime_1pct_low_ms.max_delta_pct (+52.5%)` failed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0` `AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 6.7 | 6.6 (−1%) | | default-performance · market · median frame time (ms) | 11.2 | 10.9 (−2%) | | default-performance · temple · median frame time (ms) | 7.4 | 7.3 (−2%) | | default-performance · field · frame time (p99) (ms) | 8.6 | 8.6 (+0%) | | default-performance · market · frame time (p99) (ms) | 15.0 | 14.6 (−3%) | | default-performance · temple · frame time (p99) (ms) | 13.1 | 12.6 (−4%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 9.1 | 9.3 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 18.1 | 16.3 (−10%) | | default-performance · temple · frame time (worst 1%) (ms) | 24.2 | 26.7 (+10%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>Measurements on `amd`, for the PR description</summary> **Verdict:** fail on amd (2 reports): `default-performance screenshot.max_diff` failed. Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 7.4 | 7.4 (−1%) | | default-performance · market · median frame time (ms) | 10.0 | 10.0 (+1%) | | default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 9.0 | 8.9 (−0%) | | default-performance · market · frame time (p99) (ms) | 12.4 | 12.4 (−0%) | | default-performance · temple · frame time (p99) (ms) | 11.4 | 11.1 (−2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 10.0 | 10.1 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 14.7 | 14.3 (−3%) | | default-performance · temple · frame time (worst 1%) (ms) | 19.6 | 16.0 (−19%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on amd (2 reports): `default-performance screenshot.max_diff` failed. Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 7.4 | 7.4 (−1%) | | default-performance · market · median frame time (ms) | 10.0 | 10.0 (+1%) | | default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 9.0 | 8.9 (−0%) | | default-performance · market · frame time (p99) (ms) | 12.4 | 12.4 (−0%) | | default-performance · temple · frame time (p99) (ms) | 11.4 | 11.1 (−2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 10.0 | 10.1 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 14.7 | 14.3 (−3%) | | default-performance · temple · frame time (worst 1%) (ms) | 19.6 | 16.0 (−19%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>Measurements on `intel`, for the PR description</summary> **Verdict:** fail on intel (2 reports): `parity-check log_forbidden_hits.max` failed. Hardware: 1: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM`; 2: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 195.4 | 195.4 (+0%) | | default-performance · market · median frame time (ms) | 214.6 | 214.4 (−0%) | | default-performance · temple · median frame time (ms) | 161.1 | 161.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 203.0 | 202.7 (−0%) | | default-performance · market · frame time (p99) (ms) | 228.0 | 225.6 (−1%) | | default-performance · temple · frame time (p99) (ms) | 175.2 | 179.0 (+2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 203.6 | 203.5 (−0%) | | default-performance · market · frame time (worst 1%) (ms) | 230.1 | 227.2 (−1%) | | default-performance · temple · frame time (worst 1%) (ms) | 207.5 | 207.5 (−0%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 5.5 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on intel (2 reports): `parity-check log_forbidden_hits.max` failed. Hardware: 1: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM`; 2: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 195.4 | 195.4 (+0%) | | default-performance · market · median frame time (ms) | 214.6 | 214.4 (−0%) | | default-performance · temple · median frame time (ms) | 161.1 | 161.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 203.0 | 202.7 (−0%) | | default-performance · market · frame time (p99) (ms) | 228.0 | 225.6 (−1%) | | default-performance · temple · frame time (p99) (ms) | 175.2 | 179.0 (+2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 203.6 | 203.5 (−0%) | | default-performance · market · frame time (worst 1%) (ms) | 230.1 | 227.2 (−1%) | | default-performance · temple · frame time (worst 1%) (ms) | 207.5 | 207.5 (−0%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 5.5 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>Measurements on `windows`, for the PR description</summary> **Verdict:** fail on windows (2 reports): `default-performance screenshot.max_diff` failed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 5.5 | 5.5 (−0%) | | default-performance · market · median frame time (ms) | 7.8 | 7.7 (−2%) | | default-performance · temple · median frame time (ms) | 6.5 | 6.4 (−1%) | | default-performance · field · frame time (p99) (ms) | 6.9 | 6.7 (−2%) | | default-performance · market · frame time (p99) (ms) | 10.0 | 9.9 (−1%) | | default-performance · temple · frame time (p99) (ms) | 9.6 | 9.4 (−2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 7.4 | 7.4 (−1%) | | default-performance · market · frame time (worst 1%) (ms) | 12.0 | 11.1 (−8%) | | default-performance · temple · frame time (worst 1%) (ms) | 18.7 | 16.7 (−10%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on windows (2 reports): `default-performance screenshot.max_diff` failed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 5.5 | 5.5 (−0%) | | default-performance · market · median frame time (ms) | 7.8 | 7.7 (−2%) | | default-performance · temple · median frame time (ms) | 6.5 | 6.4 (−1%) | | default-performance · field · frame time (p99) (ms) | 6.9 | 6.7 (−2%) | | default-performance · market · frame time (p99) (ms) | 10.0 | 9.9 (−1%) | | default-performance · temple · frame time (p99) (ms) | 9.6 | 9.4 (−2%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 7.4 | 7.4 (−1%) | | default-performance · market · frame time (worst 1%) (ms) | 12.0 | 11.1 (−8%) | | default-performance · temple · frame time (worst 1%) (ms) | 18.7 | 16.7 (−10%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>Measurements on `linux+radv`, for the PR description</summary> **Verdict:** fail on linux+radv (2 reports): `parity-check log_forbidden_hits.max` failed. Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 7.4 | 7.4 (−0%) | | default-performance · market · median frame time (ms) | 10.0 | 9.9 (−1%) | | default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 8.9 | 9.0 (+1%) | | default-performance · market · frame time (p99) (ms) | 12.7 | 12.4 (−2%) | | default-performance · temple · frame time (p99) (ms) | 11.2 | 11.3 (+1%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 10.1 | 10.2 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 14.1 | 14.2 (+1%) | | default-performance · temple · frame time (worst 1%) (ms) | 16.9 | 16.9 (+0%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.5 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on linux+radv (2 reports): `parity-check log_forbidden_hits.max` failed. Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 7.4 | 7.4 (−0%) | | default-performance · market · median frame time (ms) | 10.0 | 9.9 (−1%) | | default-performance · temple · median frame time (ms) | 7.2 | 7.2 (+0%) | | default-performance · field · frame time (p99) (ms) | 8.9 | 9.0 (+1%) | | default-performance · market · frame time (p99) (ms) | 12.7 | 12.4 (−2%) | | default-performance · temple · frame time (p99) (ms) | 11.2 | 11.3 (+1%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 10.1 | 10.2 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 14.1 | 14.2 (+1%) | | default-performance · temple · frame time (worst 1%) (ms) | 16.9 | 16.9 (+0%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.5 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>Measurements on `steamdeck`, for the PR description</summary> **Verdict:** fail on steamdeck (2 reports): `default-performance screenshot.max_diff`; `default-performance market.frametime_1pct_low_ms.max_delta_pct (+179.3%)`; `default-performance market.frametime_p99_ms.max_delta_pct (+19.0%)` failed. Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 28.3 | 28.3 (+0%) | | default-performance · market · median frame time (ms) | 35.9 | 36.4 (+1%) | | default-performance · temple · median frame time (ms) | 23.6 | 23.4 (−1%) | | default-performance · field · frame time (p99) (ms) | 37.7 | 39.3 (+4%) | | default-performance · market · frame time (p99) (ms) | 45.6 | 51.5 (+13%) | | default-performance · temple · frame time (p99) (ms) | 55.7 | 55.6 (−0%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 42.3 | 43.0 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 51.0 | 102.4 (+101%) | | default-performance · temple · frame time (worst 1%) (ms) | 133.5 | 123.5 (−7%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on steamdeck (2 reports): `default-performance screenshot.max_diff`; `default-performance market.frametime_1pct_low_ms.max_delta_pct (+179.3%)`; `default-performance market.frametime_p99_ms.max_delta_pct (+19.0%)` failed. Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: default-performance, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); parity-check, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); default-performance: 3 game starts a side, market 30 s after 10 s warm-up, field 30 s after 10 s warm-up, temple 30 s after 10 s warm-up; parity-check: 1 game start a side; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) | | Before: main @ 495ed9f | After: this PR @ 32bb108 | |---|---|---| | default-performance · field · median frame time (ms) | 28.3 | 28.3 (+0%) | | default-performance · market · median frame time (ms) | 35.9 | 36.4 (+1%) | | default-performance · temple · median frame time (ms) | 23.6 | 23.4 (−1%) | | default-performance · field · frame time (p99) (ms) | 37.7 | 39.3 (+4%) | | default-performance · market · frame time (p99) (ms) | 45.6 | 51.5 (+13%) | | default-performance · temple · frame time (p99) (ms) | 55.7 | 55.6 (−0%) | | default-performance · forbidden log lines | 0.0 | 0.0 | | default-performance · field · frame time (worst 1%) (ms) | 42.3 | 43.0 (+1%) | | default-performance · market · frame time (worst 1%) (ms) | 51.0 | 102.4 (+101%) | | default-performance · temple · frame time (worst 1%) (ms) | 133.5 | 123.5 (−7%) | | parity-check · `RX_VK_DESC_PLAN_FAST=check (PR only)` · forbidden log lines | 0.0 | 0.0 | **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (median frame time) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_DESC_PLAN_FAST` | switch the PR adds (set on the PR side only) | `check` | not in main | the PR's default | parity-check, main without it → the PR with check: not measured | untested | ``` </details> <details><summary>The testers' hardware</summary> | Target | Report | Ran on | | --- | --- | --- | | `nvidia` | [1](https://beanstalk.magicbean.dev/reports/rp_c84ec45aafe95121) | windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070 Ti SUPER, 621.14.0` `AMD Ryzen 7 7800X3D 8-Core Processor, 32 GB RAM` | | `nvidia` | [2](https://beanstalk.magicbean.dev/reports/rp_90268919eabe2fdf) | windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM` | | `amd` | [1](https://beanstalk.magicbean.dev/reports/rp_ebe1312e37d096c7) | linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM` | | `amd` | [2](https://beanstalk.magicbean.dev/reports/rp_9f2d006dbdd7dbce) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` | | `intel` | [1](https://beanstalk.magicbean.dev/reports/rp_82e22fdfa963986c) | windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM` | | `intel` | [2](https://beanstalk.magicbean.dev/reports/rp_5304608404bc1310) | linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM` | | `windows` | [1](https://beanstalk.magicbean.dev/reports/rp_179ec0d8e1132eb2) | windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM` | | `windows` | [2](https://beanstalk.magicbean.dev/reports/rp_ba74db1d971f4a22) | windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` | | `linux+radv` | [1](https://beanstalk.magicbean.dev/reports/rp_0088092a7b203bdd) | linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM` | | `linux+radv` | [2](https://beanstalk.magicbean.dev/reports/rp_cef62b6cb1e41261) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` | | `steamdeck` | [1](https://beanstalk.magicbean.dev/reports/rp_d2192a6283fd28e3) | linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` | | `steamdeck` | [2](https://beanstalk.magicbean.dev/reports/rp_e00089d83db05f6c) | linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` | </details> </details>
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The shared executor and buffer comparison address the two code items, but the claimed gain still needs a base-versus-HEAD measurement at player settings, and the default path needs Tier 1 hardware runs. Recommend approval; not approved on the forge.

The change precompiles descriptor work to reduce per-draw CPU time, at the cost of per-thread cache and plan memory and a more complex renderer path. The fix shares the executor with the test harness and makes parity checking more selective.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L3: The claimed gain has not been measured against the merge base at settings players use. When: Both reported timing sides run the PR build, so any overhead added even with the switch off is absent from the comparison; the custom 50% resolution run also does not establish the effect at the device's normal settings. Do: Run several interleaved base-versus-HEAD measurements in the target and heavy scenes at the device's normal resolution and Auto quality, reporting frame times, 1% lows and descriptor time.
  • L4: The new default descriptor path has not been exercised across the Tier 1 systems it affects. When: The recorded check-mode run covers one Windows scene; descriptor writes and first-use plan creation also run on Linux, Steam Deck and other GPUs and drivers. Do: Run representative graphics and compute scenes with parity checking and normal play on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and record the hardware and results.

Since the last review (on f4d9fbe07b)
Resolved: L1 (The parity check treats any two non-null buffers with equal ranges as equal whenever the b…); L2 (The parity harness executes its own copy of the plan interpreter instead of the production…)
Still open: L3 (The claimed gain has not been measured against the merge base at settings players use.); L4 (The new default descriptor path has not been exercised across the Tier 1 systems it affect…)

Checks: Still running: 10 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven against the merge base. The author's five same-build switch comparisons report 81.31 versus 79.70 fps (+2.02%) and a 0.25 ms lower mean frame time in Market, but they do not measure the total change against main at normal player settings.

Other systems: The descriptor path affects Vulkan rendering on Windows and Linux across GPU vendors and Steam Deck. A Windows Market check reported zero mismatches in 2,595,163 checks; Tier 1 hardware coverage remains pending.

Switches: RX_VK_DESC_PLAN_FAST is added with default 1; 0 selects the baseline and check compares paths. The default's total benefit and cross-system behavior remain to be established.

Reviewed: 32bb1080cc against 495ed9fe2a: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the ledger-related parity and pool code, and the executor and test wiring. Skimmed the reported diff and runs; the remaining changed files and their surrounding code were not read in full. docs/review-checklist.md is absent.; nothing run (a code review).

Checked and fine:

  • The reported executor refactor retains the fast descriptor path.
  • The pool comparison rejects null, zero and whole-size ranges and checks bounds before comparing guest addresses.

Testing: No commands from the project were run. The author reports a Windows in-game parity run and game-free checks; CI is still running. The maintainer's Test Farm request cannot be submitted under the read-only, closed-network rules.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The shared executor and buffer comparison address the two code items, but the claimed gain still needs a base-versus-HEAD measurement at player settings, and the default path needs Tier 1 hardware runs. Recommend approval; not approved on the forge. The change precompiles descriptor work to reduce per-draw CPU time, at the cost of per-thread cache and plan memory and a more complex renderer path. The fix shares the executor with the test harness and makes parity checking more selective. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L3**: The claimed gain has not been measured against the merge base at settings players use. *When:* Both reported timing sides run the PR build, so any overhead added even with the switch off is absent from the comparison; the custom 50% resolution run also does not establish the effect at the device's normal settings. **Do:** Run several interleaved base-versus-HEAD measurements in the target and heavy scenes at the device's normal resolution and Auto quality, reporting frame times, 1% lows and descriptor time. - **L4**: The new default descriptor path has not been exercised across the Tier 1 systems it affects. *When:* The recorded check-mode run covers one Windows scene; descriptor writes and first-use plan creation also run on Linux, Steam Deck and other GPUs and drivers. **Do:** Run representative graphics and compute scenes with parity checking and normal play on the affected Tier 1 Windows and Linux hardware, including Steam Deck, and record the hardware and results. **Since the last review** (on f4d9fbe07bac) Resolved: L1 (The parity check treats any two non-null buffers with equal ranges as equal whenever the b…); L2 (The parity harness executes its own copy of the plan interpreter instead of the production…) Still open: L3 (The claimed gain has not been measured against the merge base at settings players use.); L4 (The new default descriptor path has not been exercised across the Tier 1 systems it affect…) **Checks:** Still running: 10 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven against the merge base. The author's five same-build switch comparisons report 81.31 versus 79.70 fps (+2.02%) and a 0.25 ms lower mean frame time in Market, but they do not measure the total change against main at normal player settings. **Other systems:** The descriptor path affects Vulkan rendering on Windows and Linux across GPU vendors and Steam Deck. A Windows Market check reported zero mismatches in 2,595,163 checks; Tier 1 hardware coverage remains pending. **Switches:** RX_VK_DESC_PLAN_FAST is added with default 1; 0 selects the baseline and check compares paths. The default's total benefit and cross-system behavior remain to be established. **Reviewed:** 32bb1080cc5c against 495ed9fe2aaa: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the ledger-related parity and pool code, and the executor and test wiring. Skimmed the reported diff and runs; the remaining changed files and their surrounding code were not read in full. docs/review-checklist.md is absent.; nothing run (a code review). **Checked and fine:** - The reported executor refactor retains the fast descriptor path. - The pool comparison rejects null, zero and whole-size ranges and checks bounds before comparing guest addresses. **Testing:** No commands from the project were run. The author reports a Windows in-game parity run and game-free checks; CI is still running. The maintainer's Test Farm request cannot be submitted under the read-only, closed-network rules. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
Owner

Independent Linux Market A/B on PR head 32bb1080cc5c. RX_VK_DESC_PLAN_FAST defaults to on in this revision.

Within the run-to-run spread. Median average FPS changed by -1.80%.

Metric Off (0) On (1)
Average FPS, each run 124.36 / 120.56 123.18 / 117.32
Average FPS, median 122.46 120.25
1% low FPS (1000 ÷ p99) 89.20 85.95
Median frame time 7.99 ms 8.10 ms
p99 frame time 11.21 ms 11.66 ms
Frames of 50 ms or more, each run 0 / 0 0 / 0

Market (child), Linux 7.3.3-1-cachyos, RTX 3090, NVIDIA 620.70.06, 1280x720, 50% (640x360), uncapped with V-Sync and frame generation off. Two interleaved 30-second captures per side on the same PR binary, each after pipeline warm-up. Frame-time and 1% low rows report the median across the two captures.

Independent Linux Market A/B on PR head `32bb1080cc5c`. `RX_VK_DESC_PLAN_FAST` defaults to on in this revision. **Within the run-to-run spread.** Median average FPS changed by **-1.80%**. | Metric | Off (`0`) | On (`1`) | |---|---:|---:| | Average FPS, each run | 124.36 / 120.56 | 123.18 / 117.32 | | Average FPS, median | 122.46 | 120.25 | | 1% low FPS (1000 ÷ p99) | 89.20 | 85.95 | | Median frame time | 7.99 ms | 8.10 ms | | p99 frame time | 11.21 ms | 11.66 ms | | Frames of 50 ms or more, each run | 0 / 0 | 0 / 0 | Market (child), Linux 7.3.3-1-cachyos, RTX 3090, NVIDIA 620.70.06, 1280x720, 50% (640x360), uncapped with V-Sync and frame generation off. Two interleaved 30-second captures per side on the same PR binary, each after pipeline warm-up. Frame-time and 1% low rows report the median across the two captures.
Owner

AMD Lab Market A/B on PR head 32bb1080cc5c, using RX_VK_DESC_PLAN_FAST=0 and RX_VK_DESC_PLAN_FAST=1 on the same build.

Faster in these captures. Median average FPS changed by +2.58%.

Metric A (0) B (1)
Average FPS, each capture 54.82 / 55.56 / 55.07 55.58 / 56.49 / 59.76
Average FPS, median 55.07 56.49
1% low FPS (1000 ÷ p99), median 20.66 45.70
Median frame time 17.50 ms 17.51 ms
p99 frame time, median 48.40 ms 21.88 ms
Frames of 50 ms or more, each capture 24 / 17 / 19 6 / 4 / 0

Market (child), headless Linux 7.3.3-1-cachyos, Core i7-9700K, Radeon RX 580 with Mesa RADV 3:26.2.6-1, 1280x720 output and 50% (640x360) render scale, uncapped with V-Sync and frame generation off. Three alternating pairs, 40 seconds per capture after warm-up.

After warm-up, the harness still flagged pipeline or shader activity in 51 / 36 / 41 frames on side A and 28 / 7 / 3 on side B across the three captures. The FPS and tail numbers include those frames.

AMD Lab Market A/B on PR head `32bb1080cc5c`, using `RX_VK_DESC_PLAN_FAST=0` and `RX_VK_DESC_PLAN_FAST=1` on the same build. **Faster in these captures.** Median average FPS changed by **+2.58%**. | Metric | A (`0`) | B (`1`) | |---|---:|---:| | Average FPS, each capture | 54.82 / 55.56 / 55.07 | 55.58 / 56.49 / 59.76 | | Average FPS, median | 55.07 | 56.49 | | 1% low FPS (1000 ÷ p99), median | 20.66 | 45.70 | | Median frame time | 17.50 ms | 17.51 ms | | p99 frame time, median | 48.40 ms | 21.88 ms | | Frames of 50 ms or more, each capture | 24 / 17 / 19 | 6 / 4 / 0 | Market (child), headless Linux 7.3.3-1-cachyos, Core i7-9700K, Radeon RX 580 with Mesa RADV 3:26.2.6-1, 1280x720 output and 50% (640x360) render scale, uncapped with V-Sync and frame generation off. Three alternating pairs, 40 seconds per capture after warm-up. After warm-up, the harness still flagged pipeline or shader activity in 51 / 36 / 41 frames on side A and 28 / 7 / 3 on side B across the three captures. The FPS and tail numbers include those frames.
siantm force-pushed perf/vk-desc-plan-fast from 32bb1080cc
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/nvidia 2/1 fail
beanstalk/amd 1/1 fail
beanstalk/intel 1/1 fail
beanstalk/windows 1/1 fail
beanstalk/linux+radv 1/1 fail
beanstalk/steamdeck 2/1 fail
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 1681d8c1cb
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
beanstalk/approval waiting for a BigBean's 👍 on the request
PR description / Title and description (pull_request_target) Successful in 4s
2026-12-03 18:20:33 +00:00
Compare
Member

Beanstalk test farm

Commit 1681d8c · approved by nobody yet · dashboard

A member of BigBeans can review this commit and comment @Beanstalk to test it.

<!-- beanstalk:sticky --> ### Beanstalk test farm Commit `1681d8c` · approved by nobody yet · [dashboard](https://beanstalk.magicbean.dev/prs/2989) A member of `BigBeans` can review this commit and comment `@Beanstalk` to test it.
Author
Contributor

Rebased onto main (b4d56f5) and force-pushed: the new head is 1681d8c1cb.

The rebase. The textual conflicts were small: both sides' rows in switches.def, vk_draw.h, vk_internal.h, vk_main.cpp and test_hos_ab.py are kept. Main removed RX_VK_DESC_POOL_DIV's SW row (now a setting), and the old row is not brought back. The bigger part was semantic. Main changed build_descriptors in five ways since 495ed9f, and the plan path (desc_plan_fast.h and the executor's ops) would have silently differed from it, so the same commit ports each change:

  • #2952 RX_VK_DESC_SPAN_FAST: UBO entries now carry addr, size, ub_gen, bind_stamp, cap_view and cached for slots 3..18 only, which update_ubo_descriptors uses to skip unchanged UBOs. desc_plan_fast::UboEntry is that struct, and execute_plan stamps each entry as its uniform buffer is resolved (ops.stamp_ubo_entry). Without this, the skip compares zeroed fields. Check mode now also compares addr and size.
  • #2952, texture memo: the memo lookup takes the slot-version function, sync_generations takes desc_span_fast_on(), and store_tex_memo stores only when the slot version read before resolving still holds (pre_slot_ver). Otherwise the memo could keep an entry naming the slot's old texture.
  • #3032 depth comparison: sampled textures and table elements go through guard_depth_comparison, which replaces the old table-only is_depth_format check, and a depth descriptor that resolves to nothing binds dummies.depth_view.
  • #2976 RX_VK_UBO_SSBO_FAST: read-only, non-bare storage buffers bind through fast_read_bind, as main does.
  • The Rust settings move: the bare-read cap comes from the bare_read_mb setting, not RX_VK_BARE_READ_MB.

Farm: check-mode mismatches (Intel RKL GT1 ANV: 11 in about 0.4M checks; Radeon 8060S RADV: 1 in 5.3M; 0 on the other 10 reports). The report keeps only the log's tail, so the desc_plan_fast mismatch (<reason>) lines aren't available. Comparing the two paths line by line, I found one real difference that fits rare mismatches. build_descriptors reads the SSBO memo's gpu_bind_stamp() again at each stage, after that stage's UBOs are bound. The plan read it once per draw. A pool import during an earlier stage's binds moves the stamp, and the plan then looked up storage-buffer memo entries under the old stamp: a hit main would have missed, binding a buffer from before the pool change. That also matters outside check mode. The plan now re-reads the stamp at each stage's first storage buffer (ops.ssbo_sync_stage). I can't prove from the data that this was the cause of all 12. It needs a new farm run with check mode on the new head.

Farm: other failures.

  • Steam Deck Water Temple picture (0.79 / 0.88): both PR pictures were taken during the scene's fade-in: darker, Link mid-landing, no HUD. The geometry and textures match main's, so this is timing, not a rendering error. The Deck's Market 1% low frame time is worse, though (51.0 → 102.4 ms; p99 45.6 → 51.5 ms), so the PR side may be reaching scenes later on the Deck. First-use plan compiles cost the most on the Deck's CPU. This needs the re-run.
  • RX 9070 XT Linux Market picture (0.79): main's own picture there is an all-black frame (a 3 KB PNG), so the difference doesn't come from the PR.
  • RTX 3070 Water Temple 1% low (18.2 → 27.7 ms): in one of the two nvidia reports. The other, and every other target, is within ±10%, and p99 was 13.1 → 12.6 ms. I'll watch for it in the re-run.
  • Intel UHD 630 (Windows): main and the PR crashed in every start. The farm marks the PC.

@HumanBean's A/Bs (same build, =0 against =1), thanks:

  • Linux RTX 3090: −1.80% median FPS (122.46 → 120.25), within the spread. p99 went from 11.21 to 11.66 ms.
  • AMD Lab RX 580: +2.58% (55.07 → 56.49). p99 went from 48.40 to 21.88 ms and frames of 50 ms or more from 24/17/19 to 6/4/0, with pipeline activity after warm-up on both sides.

Together with my Windows +2.02%, that's one gain, one neutral result and one gain with noisy tails. I'm keeping the default at on until the re-run on the rebased head, since its tails on the Deck matter most.

Tested after the rebase (this PC, Windows; game-free, nothing run in the game):

  • python -I -B tests/test_vk_desc_plan_fast.py (clang++ and --cxx g++): pass. The oracle now mirrors main's build (UBO skip fields, depth dummy, depth guard), and all 14 broken variants are caught, including the 3 new ones: skip_ubo_entry_stamp, broken_depth_dummy and skip_depth_guard.
  • tests/test_hos_ab.py, tests/test_tls_objects.py (23 TLS_OBJECTs) and tests/test_vk_braces.py (556 sources): pass.
  • clang++ --target=x86_64-w64-mingw32 -fms-extensions -std=c++20 -fsyntax-only with the renderer's include and define flags, on gpu/vk/vk_draw.cpp and gpu/vk/vk_memory.cpp: no errors.
  • Not run: the full tests/run_all.py (this PC's queue was about 18 jobs deep), a renderer build, and the game.

Still open: BeanBot L3 (base-vs-head at player settings) and L4 (Tier 1 runs). The farm covered most Tier 1 targets on 32bb108, and the new head needs a farm run (@Beanstalk) with check mode. I updated the description's Summary, Testing and Measurements.

Rebased onto main (b4d56f5) and force-pushed: the new head is 1681d8c1cb74. **The rebase.** The textual conflicts were small: both sides' rows in `switches.def`, `vk_draw.h`, `vk_internal.h`, `vk_main.cpp` and `test_hos_ab.py` are kept. Main removed `RX_VK_DESC_POOL_DIV`'s `SW` row (now a setting), and the old row is not brought back. The bigger part was semantic. Main changed `build_descriptors` in five ways since 495ed9f, and the plan path (`desc_plan_fast.h` and the executor's ops) would have silently differed from it, so the same commit ports each change: - **#2952 `RX_VK_DESC_SPAN_FAST`:** UBO entries now carry `addr`, `size`, `ub_gen`, `bind_stamp`, `cap_view` and `cached` for slots 3..18 only, which `update_ubo_descriptors` uses to skip unchanged UBOs. `desc_plan_fast::UboEntry` is that struct, and `execute_plan` stamps each entry as its uniform buffer is resolved (`ops.stamp_ubo_entry`). Without this, the skip compares zeroed fields. Check mode now also compares `addr` and `size`. - **#2952, texture memo:** the memo `lookup` takes the slot-version function, `sync_generations` takes `desc_span_fast_on()`, and `store_tex_memo` stores only when the slot version read before resolving still holds (`pre_slot_ver`). Otherwise the memo could keep an entry naming the slot's old texture. - **#3032 depth comparison:** sampled textures and table elements go through `guard_depth_comparison`, which replaces the old table-only `is_depth_format` check, and a depth descriptor that resolves to nothing binds `dummies.depth_view`. - **#2976 `RX_VK_UBO_SSBO_FAST`:** read-only, non-bare storage buffers bind through `fast_read_bind`, as main does. - **The Rust settings move:** the bare-read cap comes from the `bare_read_mb` setting, not `RX_VK_BARE_READ_MB`. **Farm: check-mode mismatches (Intel RKL GT1 ANV: 11 in about 0.4M checks; Radeon 8060S RADV: 1 in 5.3M; 0 on the other 10 reports).** The report keeps only the log's tail, so the `desc_plan_fast mismatch (<reason>)` lines aren't available. Comparing the two paths line by line, I found one real difference that fits rare mismatches. `build_descriptors` reads the SSBO memo's `gpu_bind_stamp()` again at each stage, after that stage's UBOs are bound. The plan read it once per draw. A pool import during an earlier stage's binds moves the stamp, and the plan then looked up storage-buffer memo entries under the old stamp: a hit main would have missed, binding a buffer from before the pool change. That also matters outside check mode. The plan now re-reads the stamp at each stage's first storage buffer (`ops.ssbo_sync_stage`). I can't prove from the data that this was the cause of all 12. It needs a new farm run with check mode on the new head. **Farm: other failures.** - **Steam Deck Water Temple picture (0.79 / 0.88):** both PR pictures were taken during the scene's fade-in: darker, Link mid-landing, no HUD. The geometry and textures match main's, so this is timing, not a rendering error. The Deck's Market 1% low frame time is worse, though (51.0 → 102.4 ms; p99 45.6 → 51.5 ms), so the PR side may be reaching scenes later on the Deck. First-use plan compiles cost the most on the Deck's CPU. This needs the re-run. - **RX 9070 XT Linux Market picture (0.79):** main's own picture there is an all-black frame (a 3 KB PNG), so the difference doesn't come from the PR. - **RTX 3070 Water Temple 1% low (18.2 → 27.7 ms):** in one of the two nvidia reports. The other, and every other target, is within ±10%, and p99 was 13.1 → 12.6 ms. I'll watch for it in the re-run. - **Intel UHD 630 (Windows):** main and the PR crashed in every start. The farm marks the PC. **@HumanBean's A/Bs** (same build, `=0` against `=1`), thanks: - Linux RTX 3090: −1.80% median FPS (122.46 → 120.25), within the spread. p99 went from 11.21 to 11.66 ms. - AMD Lab RX 580: +2.58% (55.07 → 56.49). p99 went from 48.40 to 21.88 ms and frames of 50 ms or more from 24/17/19 to 6/4/0, with pipeline activity after warm-up on both sides. Together with my Windows +2.02%, that's one gain, one neutral result and one gain with noisy tails. I'm keeping the default at on until the re-run on the rebased head, since its tails on the Deck matter most. **Tested after the rebase** (this PC, Windows; game-free, nothing run in the game): - `python -I -B tests/test_vk_desc_plan_fast.py` (clang++ and `--cxx g++`): pass. The oracle now mirrors main's build (UBO skip fields, depth dummy, depth guard), and all 14 broken variants are caught, including the 3 new ones: `skip_ubo_entry_stamp`, `broken_depth_dummy` and `skip_depth_guard`. - `tests/test_hos_ab.py`, `tests/test_tls_objects.py` (23 `TLS_OBJECT`s) and `tests/test_vk_braces.py` (556 sources): pass. - `clang++ --target=x86_64-w64-mingw32 -fms-extensions -std=c++20 -fsyntax-only` with the renderer's include and define flags, on `gpu/vk/vk_draw.cpp` and `gpu/vk/vk_memory.cpp`: no errors. - Not run: the full `tests/run_all.py` (this PC's queue was about 18 jobs deep), a renderer build, and the game. **Still open:** BeanBot L3 (base-vs-head at player settings) and L4 (Tier 1 runs). The farm covered most Tier 1 targets on 32bb108, and the new head needs a farm run (`@Beanstalk`) with check mode. I updated the description's Summary, Testing and Measurements.
Member

@siantm only members of BigBeans can start the farm. One of them can approve this request by reacting 👍 to it or to this comment.

@siantm only members of `BigBeans` can start the farm. One of them can approve this request by reacting 👍 to it or to this comment.
dyst left a comment

Recommendation: Request changes. This turns on a second descriptor builder for everyone by default. On the last farm run it disagreed with the real builder on two Tier 1 drivers and doubled the Steam Deck's worst-1% frame time in Market. The rebased head (1681d8c1c) has not run in the game, and the branch conflicts with main again.

For a player, this makes building each draw's descriptors cheaper on the CPU. It precompiles each program's descriptor walk into a flat op list and reuses the write templates. On the author's Windows PC that gave about +2% fps at 50% resolution. The code is careful and the switch is well wired: per recording, HOS_AB, a check mode, and diagnostics bypass it. The cost is that desc_plan_fast.h is a second implementation of build_descriptors that has to be kept in step by hand. The last rebase alone needed five semantic ports (#2952 twice, #3032, #2976, the settings move).

Does it help: Unproven. The numbers are mixed, and no run compares main with this PR at player settings.

  • +2.02% fps (95% CI +1.56% to +2.57%, 5/5 runs): author, Windows, Market, custom 50% resolution, same build =0 against =1.

  • −1.80%, within the spread: RTX 3090, Linux.

  • +2.58% with noisy tails (shader activity after warm-up on both sides): RX 580, RADV.

  • Farm, at 32bb108, main against the PR:

    • Steam Deck Market: worst 1% 51.0 → 102.4 ms (+101%), p99 45.6 → 51.5 ms (+13%).
    • RTX 3070 Water Temple: 1% low 18.2 → 27.7 ms (+52.5%).

    Everything else was within ±4% on p99.

BeanBot's L3 (base against head at each device's normal resolution and Auto quality) is still open.

Other systems: Every Vulkan draw and dispatch on every GPU, driver and OS goes through this path. At 32bb108, check mode logged mismatches on Intel RKL GT1 / ANV (11 in about 0.4M checks) and Radeon 8060S / RADV (1 in 5.3M). The reasons weren't captured. The per-stage SSBO bind-stamp re-read in 1681d8c1c is a plausible fix but unverified. The Deck's tails are unexplained.

Switches: RX_VK_DESC_PLAN_FAST (kill, enum, default on everywhere). The measurements don't support on for the Steam Deck, and nothing measures it against main at player settings.

Reviewed: 1681d8c1c against b4d56f526.

  • Read in full: gpu/vk/desc_plan_fast.h; the vk_draw.cpp hunks (DescPlanExecOps, execute_ssbo_slow, execute_desc_plan, check_desc_plan_parity, the build_descriptors wiring, desc_plan_fast_begin_recording and desc_plan_fast_close); switches.def.
  • Read at the head for context: DescWriter, program_ubo_delta_safe, the descriptor-set path that writes dstSet.
  • Compared by call list against the dynamic build_descriptors body, not line by line.
  • Not read: tests/test_vk_desc_plan_fast.py (about 1,300 lines), the vk_memory.cpp gpu_binding_same_guest_range hunk, and the small vk_main.cpp, vk_internal.h, vk_draw.h and test_hos_ab.py hunks.

Nothing was run.

Fixed in this review: nothing. It needs a rebase that changes code, so that's left to the author.

Checked and fine:

  • Template write reuse (prepare_writes) only happens for push programs. The descriptor-set path overwrites dstSet on every write anyway, and push descriptors ignore it, so a reused write can't carry a stale set.
  • The dynamic path resets last_plan_id before it rewrites dw().writes.
  • The L1 entries are keyed by pointer, key and variant. get_plan_slow recompiles in place when a pointer is reused for another program.
  • The mode is thread_local and is read in draw_begin_recording, the same pattern as RX_VK_PIPE_FAST, RX_VK_UBO_SSBO_FAST and RX_VK_TEX_DESC_MEMO.
  • The UBO skip fields are stamped as build_descriptors stamps them, and ubo_entries_tpl follows program_ubo_delta_safe, which depends only on the program.
  • Diagnostic modes (dump_on, watch_prog, stats_frame_now, slow_desc_timing, memo mode 2 and the env list) bypass the plan.

Blocking

  1. gpu/vk/switches.def (RX_VK_DESC_PLAN_FAST row): default on for the Steam Deck against a measured regression there (Market worst 1% +101%, p99 +13% at 32bb108). Either find and fix the cause (for example, plan compiles on first use landing in play) and show it on a Deck re-run, or ship the default off where it isn't measured to help.
  2. gpu/vk/vk_draw.cpp (check_desc_plan_parity): check mode found 12 descriptor mismatches on ANV and RADV at the previous head, so the plan bound something different from main there. The fix in 1681d8c1c needs a farm run of this head with =check in all three scenes on every Tier 1 target, showing 0. If any remain, keep the mismatch lines: the farm keeps only the log's tail, so log them at once or count them per reason in the close line.
  3. The head has not run in the game. The rebase ported five semantic changes from main into the plan path and changed the SSBO stamp timing, so the game must run it before this is reviewable as tested (AGENTS.md: a change the game runs has run in the game). The branch also conflicts with main again: rebase, then re-run check mode, because every build_descriptors change on main must be mirrored in desc_plan_fast.h.
  4. Measurements: show the gain as main against the PR at each device's normal settings and Auto quality (BeanBot L3). That should include a heavy scene, with 1% lows and descriptor time.

Suggestions

  • Check mode is weaker than its counts suggest (check_desc_plan_parity). The plan runs right after the dynamic build has filled the same per-thread texture and SSBO memos. So most sampled textures and read-only SSBOs in the plan run come back from try_tex_memo / try_ssbo_memo, from entries the dynamic build just stored. The plan's own resolution code (sample_tex_view, guard_depth_comparison, sampler_for, ssbo_slow) is only compared on memo misses. One fix: for one draw in N, run the checking pass with sm_mode = tm_mode = 0.
  • Check mode runs the bind side effects twice (gpu_buffer_bind, memory_protect_gpu, memory_note_gpu_write, memory_stamp_gpu, texture_written, memo stores). That's fine for a diagnostic, but say so in the switch row, so nobody times =check.
  • desc_plan_fast::State::plans / by_prog are never pruned. A Program freed and made again at a new address leaves its plan behind for the life of the thread. Risks says the RAM is "proportional to active shaders", but it grows with every program address ever seen. Drop entries when a program is destroyed, or cap the table.
  • The plan path skips the table-tracking log that build_descriptors writes by default (table_track_open: "a table entry bound one frame and not the next", 60 lines) and the ubo_ssbo_fast summary. Either mention that in Risks or keep it.

Testing:

  • Present:
    • the author's Windows =check run and HOS_AB timing at f4d9fbe07;
    • HumanBean's RTX 3090 and RX 580 A/Bs;
    • a full farm run at 32bb108;
    • game-free checks at the head (test_vk_desc_plan_fast.py, 14 of 14 broken variants caught; test_hos_ab, test_tls_objects, test_vk_braces; a syntax-only compile).
  • Missing:
    • any in-game run of 1681d8c1c;
    • the farm re-run with =check, which waits on a BigBean's 👍;
    • a Deck re-run;
    • main against the head at player settings;
    • a full run_all.

All of these hold the merge.

Overlaps and merge order: #3080, #2515, #3116, #2948, #2816, #1334, and BeanBot's #2045 and #2210 touch the same descriptor build. If any of them merges first, this one has to port its changes into the plan executor and run check mode again. Merging this one first puts that cost on each of them instead. Whichever goes first, each one's description should say so.

**Recommendation: Request changes.** This turns on a second descriptor builder for everyone by default. On the last farm run it disagreed with the real builder on two Tier 1 drivers and doubled the Steam Deck's worst-1% frame time in Market. The rebased head (1681d8c1c) has not run in the game, and the branch conflicts with `main` again. For a player, this makes building each draw's descriptors cheaper on the CPU. It precompiles each program's descriptor walk into a flat op list and reuses the write templates. On the author's Windows PC that gave about +2% fps at 50% resolution. The code is careful and the switch is well wired: per recording, `HOS_AB`, a `check` mode, and diagnostics bypass it. The cost is that `desc_plan_fast.h` is a second implementation of `build_descriptors` that has to be kept in step by hand. The last rebase alone needed five semantic ports (#2952 twice, #3032, #2976, the settings move). **Does it help:** Unproven. The numbers are mixed, and no run compares `main` with this PR at player settings. - +2.02% fps (95% CI +1.56% to +2.57%, 5/5 runs): author, Windows, Market, custom 50% resolution, same build `=0` against `=1`. - −1.80%, within the spread: RTX 3090, Linux. - +2.58% with noisy tails (shader activity after warm-up on both sides): RX 580, RADV. - Farm, at 32bb108, `main` against the PR: - Steam Deck Market: worst 1% 51.0 → 102.4 ms (+101%), p99 45.6 → 51.5 ms (+13%). - RTX 3070 Water Temple: 1% low 18.2 → 27.7 ms (+52.5%). Everything else was within ±4% on p99. BeanBot's L3 (base against head at each device's normal resolution and Auto quality) is still open. **Other systems:** Every Vulkan draw and dispatch on every GPU, driver and OS goes through this path. At 32bb108, check mode logged mismatches on Intel RKL GT1 / ANV (11 in about 0.4M checks) and Radeon 8060S / RADV (1 in 5.3M). The reasons weren't captured. The per-stage SSBO bind-stamp re-read in 1681d8c1c is a plausible fix but unverified. The Deck's tails are unexplained. **Switches:** `RX_VK_DESC_PLAN_FAST` (kill, enum, default on everywhere). The measurements don't support on for the Steam Deck, and nothing measures it against `main` at player settings. **Reviewed:** 1681d8c1c against b4d56f526. - Read in full: `gpu/vk/desc_plan_fast.h`; the `vk_draw.cpp` hunks (`DescPlanExecOps`, `execute_ssbo_slow`, `execute_desc_plan`, `check_desc_plan_parity`, the `build_descriptors` wiring, `desc_plan_fast_begin_recording` and `desc_plan_fast_close`); `switches.def`. - Read at the head for context: `DescWriter`, `program_ubo_delta_safe`, the descriptor-set path that writes `dstSet`. - Compared by call list against the dynamic `build_descriptors` body, not line by line. - Not read: `tests/test_vk_desc_plan_fast.py` (about 1,300 lines), the `vk_memory.cpp` `gpu_binding_same_guest_range` hunk, and the small `vk_main.cpp`, `vk_internal.h`, `vk_draw.h` and `test_hos_ab.py` hunks. Nothing was run. **Fixed in this review:** nothing. It needs a rebase that changes code, so that's left to the author. **Checked and fine:** - Template write reuse (`prepare_writes`) only happens for push programs. The descriptor-set path overwrites `dstSet` on every write anyway, and push descriptors ignore it, so a reused write can't carry a stale set. - The dynamic path resets `last_plan_id` before it rewrites `dw().writes`. - The L1 entries are keyed by pointer, key and variant. `get_plan_slow` recompiles in place when a pointer is reused for another program. - The mode is `thread_local` and is read in `draw_begin_recording`, the same pattern as `RX_VK_PIPE_FAST`, `RX_VK_UBO_SSBO_FAST` and `RX_VK_TEX_DESC_MEMO`. - The UBO skip fields are stamped as `build_descriptors` stamps them, and `ubo_entries_tpl` follows `program_ubo_delta_safe`, which depends only on the program. - Diagnostic modes (`dump_on`, `watch_prog`, `stats_frame_now`, `slow_desc_timing`, memo mode 2 and the env list) bypass the plan. **Blocking** 1. `gpu/vk/switches.def` (`RX_VK_DESC_PLAN_FAST` row): default on for the Steam Deck against a measured regression there (Market worst 1% +101%, p99 +13% at 32bb108). Either find and fix the cause (for example, plan compiles on first use landing in play) and show it on a Deck re-run, or ship the default off where it isn't measured to help. 2. `gpu/vk/vk_draw.cpp` (`check_desc_plan_parity`): check mode found 12 descriptor mismatches on ANV and RADV at the previous head, so the plan bound something different from `main` there. The fix in 1681d8c1c needs a farm run of this head with `=check` in all three scenes on every Tier 1 target, showing 0. If any remain, keep the mismatch lines: the farm keeps only the log's tail, so log them at once or count them per reason in the close line. 3. The head has not run in the game. The rebase ported five semantic changes from `main` into the plan path and changed the SSBO stamp timing, so the game must run it before this is reviewable as tested (AGENTS.md: a change the game runs has run in the game). The branch also conflicts with `main` again: rebase, then re-run check mode, because every `build_descriptors` change on `main` must be mirrored in `desc_plan_fast.h`. 4. Measurements: show the gain as `main` against the PR at each device's normal settings and Auto quality (BeanBot L3). That should include a heavy scene, with 1% lows and descriptor time. **Suggestions** - **Check mode is weaker than its counts suggest** (`check_desc_plan_parity`). The plan runs right after the dynamic build has filled the same per-thread texture and SSBO memos. So most sampled textures and read-only SSBOs in the plan run come back from `try_tex_memo` / `try_ssbo_memo`, from entries the dynamic build just stored. The plan's own resolution code (`sample_tex_view`, `guard_depth_comparison`, `sampler_for`, `ssbo_slow`) is only compared on memo misses. One fix: for one draw in N, run the checking pass with `sm_mode = tm_mode = 0`. - **Check mode runs the bind side effects twice** (`gpu_buffer_bind`, `memory_protect_gpu`, `memory_note_gpu_write`, `memory_stamp_gpu`, `texture_written`, memo stores). That's fine for a diagnostic, but say so in the switch row, so nobody times `=check`. - **`desc_plan_fast::State::plans` / `by_prog` are never pruned.** A Program freed and made again at a new address leaves its plan behind for the life of the thread. Risks says the RAM is "proportional to active shaders", but it grows with every program address ever seen. Drop entries when a program is destroyed, or cap the table. - **The plan path skips the table-tracking log** that `build_descriptors` writes by default (`table_track_open`: "a table entry bound one frame and not the next", 60 lines) and the `ubo_ssbo_fast` summary. Either mention that in Risks or keep it. **Testing:** - Present: - the author's Windows `=check` run and HOS_AB timing at f4d9fbe07; - HumanBean's RTX 3090 and RX 580 A/Bs; - a full farm run at 32bb108; - game-free checks at the head (`test_vk_desc_plan_fast.py`, 14 of 14 broken variants caught; `test_hos_ab`, `test_tls_objects`, `test_vk_braces`; a syntax-only compile). - Missing: - any in-game run of 1681d8c1c; - the farm re-run with `=check`, which waits on a BigBean's 👍; - a Deck re-run; - `main` against the head at player settings; - a full `run_all`. All of these hold the merge. **Overlaps and merge order:** https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/3080, https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2515, https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/3116, https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2948, https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2816, https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1334, and BeanBot's https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2045 and https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2210 touch the same descriptor build. If any of them merges first, this one has to port its changes into the plan executor and run check mode again. Merging this one first puts that cost on each of them instead. Whichever goes first, each one's description should say so.
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
beanstalk/approval waiting for a BigBean's 👍 on the request
PR description / Title and description (pull_request_target) Successful in 4s
This pull request has changes conflicting with the target branch.
  • gpu/vk/vk_draw.cpp
  • tests/test_hos_ab.py
Some workflows are waiting to be reviewed.
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 'perf/vk-desc-plan-fast:siantm-perf/vk-desc-plan-fast'
git switch 'siantm-perf/vk-desc-plan-fast'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
6 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2989
No description provided.