WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 3aaeaf3540 - Show all commits

View File

@ -120,7 +120,8 @@ namespace Ryujinx.Ava.UI.ViewModels
}
}
public bool IsMetalAvailable => OperatingSystem.IsMacOS();
public bool IsMetalAvailable =>
OperatingSystem.IsMacOS() && RuntimeInformation.ProcessArchitecture == Architecture.Arm64;
public bool IsOpenGLAvailable => !OperatingSystem.IsMacOS();

View File

@ -46,7 +46,7 @@
<TextBlock Text="OpenGL" />
</ComboBoxItem>
<ComboBoxItem IsEnabled="{Binding IsMetalAvailable}">
<TextBlock Text="Metal (Experimental)" />
<TextBlock Text="Metal (ARM Mac only, Experimental)" />
</ComboBoxItem>
</ComboBox>
</StackPanel>