mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[dxvk] Remove unnecessary Parameter (#465)
This commit is contained in:
parent
bc1384b7b4
commit
26d7059579
@ -14,7 +14,7 @@ namespace dxvk {
|
||||
|
||||
for (uint32_t i = 0; i < threadCount; i++) {
|
||||
m_compilerThreads.at(i) = std::thread(
|
||||
[this, i] { this->runCompilerThread(i); });
|
||||
[this] { this->runCompilerThread(); });
|
||||
}
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
void DxvkPipelineCompiler::runCompilerThread(uint32_t workerId) {
|
||||
void DxvkPipelineCompiler::runCompilerThread() {
|
||||
env::setThreadName(L"dxvk-pcompiler");
|
||||
|
||||
while (!m_compilerStop.load()) {
|
||||
@ -63,4 +63,4 @@ namespace dxvk {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -51,8 +51,8 @@ namespace dxvk {
|
||||
std::queue<PipelineEntry> m_compilerQueue;
|
||||
std::vector<std::thread> m_compilerThreads;
|
||||
|
||||
void runCompilerThread(uint32_t workerId);
|
||||
void runCompilerThread();
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user