Skip to content

Commit

Permalink
GS:MTL: Remove pre-10.14 fallback
Browse files Browse the repository at this point in the history
We no longer support pre-10.14
  • Loading branch information
TellowKrinkle authored and lightningterror committed May 20, 2023
1 parent ff9a910 commit 338a2be
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1924,13 +1924,9 @@ static GSMTLExpandType ConvertVSExpand(GSHWDrawConfig::VSExpand generic)

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)
Expand Down

0 comments on commit 338a2be

Please sign in to comment.