1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 13:54:16 +01:00

[dxvk] Remove unnecessary Parameter (#465)

This commit is contained in:
N00byKing 2018-06-29 21:37:25 +02:00 committed by Philip Rebohle
parent bc1384b7b4
commit 26d7059579
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ namespace dxvk {
for (uint32_t i = 0; i < threadCount; i++) { for (uint32_t i = 0; i < threadCount; i++) {
m_compilerThreads.at(i) = std::thread( 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"); env::setThreadName(L"dxvk-pcompiler");
while (!m_compilerStop.load()) { while (!m_compilerStop.load()) {
@ -63,4 +63,4 @@ namespace dxvk {
} }
} }
} }

View File

@ -51,8 +51,8 @@ namespace dxvk {
std::queue<PipelineEntry> m_compilerQueue; std::queue<PipelineEntry> m_compilerQueue;
std::vector<std::thread> m_compilerThreads; std::vector<std::thread> m_compilerThreads;
void runCompilerThread(uint32_t workerId); void runCompilerThread();
}; };
} }