summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2020-08-05 16:41:22 -0400
committerameerj <aj662@drexel.edu>2020-08-16 12:02:22 -0400
commitf49ffdd6488e74591ed66d911c13c3684762d425 (patch)
tree6794e47e6914dd0e06fed3262e8bda1f14b64d8c /src
parent1b829fbd7a36f9c2b553b04aa39bdf8135d30458 (diff)
Morph: Update worker allocation comment
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/async_shaders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/async_shaders.cpp b/src/video_core/shader/async_shaders.cpp
index 6a1b8999c..91d1b6bbd 100644
--- a/src/video_core/shader/async_shaders.cpp
+++ b/src/video_core/shader/async_shaders.cpp
@@ -29,7 +29,7 @@ void AsyncShaders::AllocateWorkers() {
// Don't use more than 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()) {
return;
}