mirror of https://github.com/PCSX2/pcsx2.git
GS:MTL: Remove pre-10.14 fallback
We no longer support pre-10.14
This commit is contained in:
parent
ff9a910c1a
commit
338a2beaf0
|
@ -1924,13 +1924,9 @@ void GSDeviceMTL::MRESetSampler(SamplerSelector sel)
|
||||||
|
|
||||||
static void textureBarrier(id<MTLRenderCommandEncoder> enc)
|
static void textureBarrier(id<MTLRenderCommandEncoder> enc)
|
||||||
{
|
{
|
||||||
if (@available(macOS 10.14, *)) {
|
[enc memoryBarrierWithScope:MTLBarrierScopeRenderTargets
|
||||||
[enc memoryBarrierWithScope:MTLBarrierScopeRenderTargets
|
afterStages:MTLRenderStageFragment
|
||||||
afterStages:MTLRenderStageFragment
|
beforeStages:MTLRenderStageFragment];
|
||||||
beforeStages:MTLRenderStageFragment];
|
|
||||||
} else {
|
|
||||||
[enc textureBarrier];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GSDeviceMTL::MRESetTexture(GSTexture* tex, int pos)
|
void GSDeviceMTL::MRESetTexture(GSTexture* tex, int pos)
|
||||||
|
|
Loading…
Reference in New Issue