Skip to content

[Sync] Export changes from internal SnapRHI (1245aee6) - #12

Merged
vdeviatkovSC merged 2 commits into
mainfrom
sync/internal-to-public-20260721-164442
Jul 22, 2026
Merged

vdeviatkovSC merged 2 commits into
mainfrom
sync/internal-to-public-20260721-164442

Conversation

@vdeviatkovSC

@vdeviatkovSC vdeviatkovSC commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

Automated Sync: Internal → Public

This PR exports the latest changes from the internal SnapRHI repository into the public repository.

Source

  • Repo: internal SnapRHI (GHE)
  • Branch: main
  • Commit: 1245aee6

Summary

  • 415 file(s) changed
  • +24847 insertions, -12207 deletions
  • Covers ~5 months of internal history since the last export (last exported internal commit: 6c69006b)

Build verification (before opening this PR)

Built and tested this exact branch locally on macOS (Apple M5 Max) prior to opening the PR:

Backend Configure Build Tests Demo app
Metal ✅ ✅ ✅ All tests passed (1102 assertions, 151 test cases) ✅ launches cleanly
Vulkan (MoltenVK) ✅ ✅ ✅ All tests passed (1135 assertions, 153 test cases) ✅ launches cleanly, device init complete

Synced content

Category Paths
Source code src/ (backend, interop, public-api)
Build system CMakeLists.txt, CMakePresets.json, build.sh, cmake/
Documentation docs/, README.md, CONTRIBUTING.md
Examples examples/
Third-party third-party/
GitHub config .github/ (CODEOWNERS, templates, CI)
Dotfiles .clang-format, .editorconfig, .gitignore, etc.
Licenses & policies LICENSE.md, CODE_OF_CONDUCT.md, SECURITY.md

Automated sync from github.sc-corp.net/Snapchat/SnapRHI-Internal
Internal commit: 1245aee65026db3f6ff122dcfc3c95577d0b671e
Changed files: 415
Insertions: +24847, Deletions: -12207
small_vector::inline_ptr() used reinterpret_cast<T*> on raw byte storage,
which older Apple clang rejects under ARC when T is an id<> pointer type
(ResourceBatcher's small_vector<id<MTLResource>, N>). Route through
void*/const void* instead, which ARC treats as a bridge-safe conversion.

Also request the com.lunarg.vulkan.ios component when installing the
Vulkan SDK for iOS CI jobs — GLAD's iOS Vulkan default switched to
Framework mode, which needs vulkan.framework from that component.

Same fix applied upstream: github.sc-corp.net/Snapchat/SnapRHI-Internal/pull/1403
@vdeviatkovSC
vdeviatkovSC marked this pull request as ready for review July 22, 2026 02:04
@vdeviatkovSC
vdeviatkovSC merged commit 2cac46a into main Jul 22, 2026
17 checks passed
@vdeviatkovSC
vdeviatkovSC deleted the sync/internal-to-public-20260721-164442 branch July 22, 2026 02:06
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