Skip to content

Add native Shader Graph authoring and runtime — handoff - #198

Merged
SpectralDragon merged 46 commits into
mainfrom
codex/shader-graph
Oct 23, 2026
Merged

SpectralDragon merged 46 commits into
mainfrom
codex/shader-graph

Conversation

@SpectralDragon

Copy link
Copy Markdown
Contributor

Native Studio can now create and edit typed Shader Graph assets, preview them through the production renderer, assign independent Sprite/PBR materials and change exposed values through real AdaScript VM/AOT bindings. This draft transfers the complete implementation stack to another PC; export playback and the final release gates are still incomplete.

Continue here

Included

Typed schema/lowering/GLSL, material bindings and caches; Sprite/PBR/shadow/depth/motion integration; native AdaUI authoring, transactional documents, previews, templates and en/ru; borrowed scripting capabilities and compiled AOT fixture; exact baked WGSL archives, host baker, export resource collection and portable primitive scene data. Integration is additive without a shared feature flag.

Verification

Latest local checks on Swift 6.3.3 / Xcode 26.6:

  • CPU/VM/AOT validation package: 49 tests / 10 suites passed, including primitive codec, real VM/AOT and plugin readiness/cancellation.
  • Editor graph/canvas/localization/resource/package-only export: 26 tests / 9 suites passed using the committed portable fixture.
  • Localization checker on an archive of the committed tree: 2,493 en/ru messages passed. Strict SwiftLint passed on the new baker, primitive and test harness files; git diff --check passed.

Earlier runtime checks include native macOS/iPad editor PBR previews, actual Metal/WebGPU graph pixels and a successful WASM export. The 210-test WebGPU gate passed; the later expanded 214-test run had one Dawn map timeout in sheenTexturesScaleTheirFactors while the machine slept. A focused baked-WGSL PBR pixel test passed. These results do not establish final browser or exported-app acceptance.

Still required

  • Browser exported Player hangs before a confirmed game frame; investigate startup/preload/plugin readiness. The async browser-yield change is not yet a proven browser fix.
  • Verify packaged macOS .app, primitive PBR and imported-model export pixels, texture overrides and negative export cases.
  • Repeat live Save/reopen/Play on macOS/iPad after the resource-scope fix.
  • Repeat the expanded full GPU gate, measure no-graph performance against baseline, and run owning suites/CI/platform checks.
  • Integrate current main and rerun: branch baseline is 5b6085790; a merge-tree preview against 94f3cd1ab had no conflicts, but the merged revision has not been built.

This is deliberately a draft handoff PR, not a release-ready merge unit. It contains 27 ordered commits, 136 files, 8,026 textual changed lines; 6,682 reviewable lines after excluding Markdown and generated C. Keep the commit boundaries when reviewing or splitting for merge. No unrelated working-tree changes, lockfile refreshes, local caches, personal workspace state or prebuilt exports are included. Detailed logs/screenshots remain local to the original PC; the committed fixture recreates the checks.

SpectralDragon and others added 30 commits October 20, 2026 20:40
Implement EASU and RCAS with cached WebGPU resources and GPU readback coverage.
Use the AdaEngine Swan fork with JavaScriptKit 0.59 and compatible SwiftSyntax
constraints, including the WASM WebSocket API adjustment.

Validated with 225 WebGPU tests, a full AdaWebPlayer WASM export without local
Swan overrides, and a browser render of the exported 3D scene.
@SpectralDragon
SpectralDragon marked this pull request as ready for review October 23, 2026 19:42
@SpectralDragon
SpectralDragon merged commit 5e29e6e into main Oct 23, 2026
3 of 7 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-23T19:42:49.557708Z ab39b3f Draft marked ready
ℹ️ 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.

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