mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Merge pull request #13104 from TellowKrinkle/MTLLogging
VideoBackends:Metal: Log file on failed pipeline compile
This commit is contained in:
commit
e10821a847
4 changed files with 63 additions and 5 deletions
|
@ -81,7 +81,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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue