Skip to content

Fix alpha native build: OptionalSgprReplay after upstream sync - #374

Merged
RINNECODER merged 1 commit into
mainfrom
fix/alpha-optional-sgpr
Oct 11, 2026
Merged

RINNECODER merged 1 commit into
mainfrom
fix/alpha-optional-sgpr

Conversation

@RINNECODER

Copy link
Copy Markdown
Owner

Root causes (release native profile only; not built by the 4 required checks):

  1. OptionalSgprReplay.mm:110 compile error: after sync Add native SwiftUI Orbit catalogue and AnyPS5 launcher #3 ShaderRegistry is map<u64, vector<shared_ptr>>, so emplace(address, shared_ptr) cannot construct. Now registry[address].push_back(snapshot).
  2. anyps5_metal_optional_sgpr_required failed at runtime: Metal DrawDispatch (DrawDispatch.cpp:45) reports 'outside registered shader code' for a non-empty registry; the test expected the old 'does not belong to a registered shader'. Intentional upstream behaviour, expectation updated.

Evidence: release native configure (prepare_diagnostic_engine.py flags) builds with 0 errors; full ctest with MTL_DEBUG_LAYER/SHADER_VALIDATION 170/170 after fix (169/170 before); CTest inventory == NATIVE_REQUIRED_TESTS (170/170, no diff); tools.tests.test_native_diagnostic_workflow OK.

🤖 Generated with Claude Code

…upstream sync

ShaderRegistry now maps address -> vector<shared_ptr<const ShaderSnapshot>>; append via push_back. The Metal driver reports 'outside registered shader code' for a non-empty registry, so update the expected diagnostic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 145cc2cf-57c8-47c1-871d-7732a05caa21

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T10:11:29.611888Z d10e115 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@RINNECODER
RINNECODER merged commit 21ac0cb into main Oct 11, 2026
6 checks passed
@RINNECODER
RINNECODER deleted the fix/alpha-optional-sgpr branch October 11, 2026 10:14
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.

1 participant