VideoBackends:Metal: subgroup_ops requires Apple7, not Apple6

SIMD-scoped permute operations are Apple6, but reduction operations are Apple7
This commit is contained in:
TellowKrinkle 2024-09-30 23:38:23 -05:00
parent 14feaf4ba8
commit 70f69c3213
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ void Metal::Util::PopulateBackendInfoFeatures(VideoConfig* config, id<MTLDevice>
{ {
// Requires SIMD-scoped reduction operations // Requires SIMD-scoped reduction operations
g_features.subgroup_ops = g_features.subgroup_ops =
[device supportsFamily:MTLGPUFamilyMac2] || [device supportsFamily:MTLGPUFamilyApple6]; [device supportsFamily:MTLGPUFamilyMac2] || [device supportsFamily:MTLGPUFamilyApple7];
config->backend_info.bSupportsFramebufferFetch = [device supportsFamily:MTLGPUFamilyApple1]; config->backend_info.bSupportsFramebufferFetch = [device supportsFamily:MTLGPUFamilyApple1];
} }
if (g_features.subgroup_ops) if (g_features.subgroup_ops)