Browse Source

Morph: Update worker allocation comment

Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
nce_cpp
Ameer J 5 years ago
committed by ameerj
parent
commit
8374d79c4b
  1. 2
      src/video_core/shader/async_shaders.cpp

2
src/video_core/shader/async_shaders.cpp

@ -29,7 +29,7 @@ void AsyncShaders::AllocateWorkers() {
// Don't use more than MAX_THREADS // Don't use more than MAX_THREADS
const auto num_workers = std::min(max_worker_count, MAX_THREADS); const auto num_workers = std::min(max_worker_count, MAX_THREADS);
// If we're already have workers queued or don't want to queue workers, ignore
// If we already have workers queued, ignore
if (num_workers == worker_threads.size()) { if (num_workers == worker_threads.size()) {
return; return;
} }

Loading…
Cancel
Save