Skip to content

Use shared storage for host-visible Metal resources on iOS - #91

Merged
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-ios-host-visible
Sep 1, 2026
Merged

Use shared storage for host-visible Metal resources on iOS#91
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-ios-host-visible

Conversation

@tryk016

@tryk016 tryk016 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Metal managed storage is unavailable on iOS, while the Simulator may still report hasUnifiedMemory() as false.

This change centralizes host-visible storage selection. iOS always uses shared storage, while macOS keeps the existing shared-or-managed behavior. Upload, readback, texture-staging and acceleration-structure resources use the same policy.

Testing:

  • TempestTests on macOS: 174 passed
  • iPhoneOS arm64 Release build
  • iPhone Simulator arm64 Release build

@Try
Try merged commit 058b0e8 into Try:master Sep 1, 2026
@Try

Try commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Looks good, merged!

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