summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorGravatar Morph2020-08-11 13:26:23 -0400
committerGravatar Morph2020-08-12 09:23:34 -0400
commite0ff98dd34d8180b7c2efc2142c40be83fd84725 (patch)
treedf18e28fed5fbb24ebc4c125674669f6d6b63abe /src/core/loader/loader.cpp
parentMerge pull request #4497 from lioncash/freezer-alg (diff)
downloadyuzu-e0ff98dd34d8180b7c2efc2142c40be83fd84725.tar.gz
yuzu-e0ff98dd34d8180b7c2efc2142c40be83fd84725.tar.xz
yuzu-e0ff98dd34d8180b7c2efc2142c40be83fd84725.zip
gl_shader_cache: Use std::max() for determining num_workers
Does not allocate more threads than available in the host system for boot-time shader compilation and always allocates at least 1 thread if hardware_concurrency() returns 0.
Diffstat (limited to 'src/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions