diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2020-08-05 22:41:22 +0200 |
---|---|---|
committer | ameerj <aj662@drexel.edu> | 2020-08-16 18:02:22 +0200 |
commit | f49ffdd6488e74591ed66d911c13c3684762d425 (patch) | |
tree | 6794e47e6914dd0e06fed3262e8bda1f14b64d8c /src/video_core/shader | |
parent | move thread 1/4 count computation into allocate workers method (diff) | |
download | yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar.gz yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar.bz2 yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar.lz yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar.xz yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.tar.zst yuzu-f49ffdd6488e74591ed66d911c13c3684762d425.zip |
Diffstat (limited to 'src/video_core/shader')
-rw-r--r-- | src/video_core/shader/async_shaders.cpp | 2 |
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; } |