Fix missing thread sync when checking for GCN ISA support

This commit is contained in:
baldurk
2020-09-07 11:44:42 +01:00
parent f446307d12
commit fb178c4602
+1 -1
View File
@@ -127,7 +127,7 @@ static void CacheSupport(ShaderEncoding primary, ShaderEncoding secondary = Shad
return;
// kick off a thread to cache these encodings' support
Threading::CreateThread([primary, secondary]() {
supportCheckThread = Threading::CreateThread([primary, secondary]() {
encodingSupported[(size_t)primary] = CheckForSupport(primary);
encodingSupported[(size_t)secondary] = CheckForSupport(secondary);