Skip to content

fix(kyty): count restored graphics pipelines in manifest waits - #358

Merged
simnJS merged 1 commit into
simnJS:Brainrotfrom
Felipebmaitan:fix/brainrot-restored-graphics-count
Nov 27, 2026
Merged

simnJS merged 1 commit into
simnJS:Brainrotfrom
Felipebmaitan:fix/brainrot-restored-graphics-count

Conversation

@Felipebmaitan

Copy link
Copy Markdown
Contributor

What

A graphics pipeline restored from the shader store increments the finished counter. The corresponding manifest recipe is deduplicated before it enters the warm-up list. A replay with --wait-manifest could therefore time out after the driver had successfully restored every requested pipeline.

Count restored graphics jobs in the completion test and progress display. Compute handles have separate counters. The regression reopens an isolated shader cache and compares the rendered frame with the seed run.

Tested

Windows 11 build 26300, RTX 5080, driver 621.40, Khronos validation 1.4.363. The base for this change is Brainrot at 687220748a0.

  • kyty_shim_depth_target_alias passed on the base and change with the shader cache disabled.
  • With the on-disk cache explicitly enabled, kyty_shim_restored_graphics_wait failed on the base after reporting a successfully restored graphics pipeline. On the change the wait completed and the output matched the seed frame byte for byte.
  • Both comparisons required Vulkan. The loader inserted the validation layer and all four logs were free of VUID- errors.
  • The overlap tool flagged the test CMake file in feat(precook): cover formatted buffers and dispatch flags in compute recipes #348 for manual comparison. That PR adds compute recipe tests in a separate part of the file.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 5080, driver 621.40, Windows 11 build 26300
  • AI-assisted: yes

@Felipebmaitan
Felipebmaitan temporarily deployed to repository-maintenance November 27, 2026 10:49 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown

Please set ANYPS5_NO_SHADER_CACHE=0 in the restored-graphics test’s CTest environment. It currently inherits the caller’s cache setting, so a cache-disabled run skips the regression even when Vulkan is available.

The warm replay checks that a handle was queued for resolution, not that a graphics pipeline was successfully restored. If resolution falls back to rebuilding from the manifest, the frame comparison can still pass without exercising the counter fix. Please assert successful graphics restoration in the warm run.

@simnJS
simnJS merged commit e467da5 into simnJS:Brainrot Nov 27, 2026
9 checks passed

This branch was previously deployed

1 inactive deployment
repository-maintenance — d3aaf8a7 Deployed Nov 27, 2026 by Felipebmaitan via review #237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants