mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 06:51:09 +00:00
Fix missing thread sync when checking for GCN ISA support
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user