mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 07:08:50 +01:00
[dxvk] Set thread priority for background workers
We accidentally lost this somehow.
This commit is contained in:
parent
459758c6ff
commit
af05265cb6
@ -112,9 +112,11 @@ namespace dxvk {
|
||||
priority = DxvkPipelinePriority::Low;
|
||||
}
|
||||
|
||||
m_workers.emplace_back([this, priority] {
|
||||
auto& worker = m_workers.emplace_back([this, priority] {
|
||||
runWorker(priority);
|
||||
});
|
||||
|
||||
worker.set_priority(ThreadPriority::Lowest);
|
||||
}
|
||||
|
||||
Logger::info(str::format("DXVK: Using ", workerCount, " compiler threads"));
|
||||
|
Loading…
Reference in New Issue
Block a user