GS:MTL: Remove pre-10.14 fallback

We no longer support pre-10.14
This commit is contained in:
TellowKrinkle 2023-05-16 22:25:30 -05:00 committed by lightningterror
parent ff9a910c1a
commit 338a2beaf0
1 changed files with 3 additions and 7 deletions

View File

@ -1924,13 +1924,9 @@ void GSDeviceMTL::MRESetSampler(SamplerSelector sel)
static void textureBarrier(id<MTLRenderCommandEncoder> enc)
{
if (@available(macOS 10.14, *)) {
[enc memoryBarrierWithScope:MTLBarrierScopeRenderTargets
afterStages:MTLRenderStageFragment
beforeStages:MTLRenderStageFragment];
} else {
[enc textureBarrier];
}
[enc memoryBarrierWithScope:MTLBarrierScopeRenderTargets
afterStages:MTLRenderStageFragment
beforeStages:MTLRenderStageFragment];
}
void GSDeviceMTL::MRESetTexture(GSTexture* tex, int pos)