VideoBackends:Metal: Use standardized C++ features over clang builtins

This commit is contained in:
TellowKrinkle
2024-09-30 23:35:27 -05:00
parent 32fd10bd08
commit 1454934a07
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ public:
id<MTLSamplerState> GetSampler(SamplerSelector sel)
{
if (__builtin_expect(!m_samplers[sel.value], false))
if (!m_samplers[sel.value]) [[unlikely]]
m_samplers[sel.value] = CreateSampler(sel);
return m_samplers[sel.value];
}