Skip to content

fix(airconv): fix compile metal shader with toolchain from XCode 27 beta#167

Merged
3Shain merged 1 commit into
3Shain:mainfrom
WineAndAqua:fix/air-metal-compile-macos27
Jun 20, 2026
Merged

fix(airconv): fix compile metal shader with toolchain from XCode 27 beta#167
3Shain merged 1 commit into
3Shain:mainfrom
WineAndAqua:fix/air-metal-compile-macos27

Conversation

@aquadran

@aquadran aquadran commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Fixed air_tessellation.metal compilation with the Metal toolchain from Xcode 27 beta.
Private built-in __metal_atomic_fetch_add_explicit changed arguments with the newer toolchain.
New argument was added as a memory flag.

Instead use private Metal API, use public atomic_fetch_add_explicit.

I tested with games The Medium and Mass Effect: Andromeda.

@aquadran aquadran force-pushed the fix/air-metal-compile-macos27 branch 3 times, most recently from 8916803 to 719b04f Compare June 14, 2026 11:25
@aquadran aquadran changed the title fix(airconv): fix compile metal shader with toolchain from XCode 27 beta 1 fix(airconv): fix compile metal shader with toolchain from XCode 27 beta Jun 14, 2026
@aquadran aquadran force-pushed the fix/air-metal-compile-macos27 branch from 719b04f to bc82a94 Compare June 19, 2026 06:18
…eta 1

Signed-off-by: Paweł Kołodziejski <aquadran@gmail.com>
@aquadran aquadran force-pushed the fix/air-metal-compile-macos27 branch from bc82a94 to 8ee7043 Compare June 19, 2026 12:49
@3Shain 3Shain merged commit 0606575 into 3Shain:main Jun 20, 2026
15 checks passed
@aquadran aquadran deleted the fix/air-metal-compile-macos27 branch June 21, 2026 09:08
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