aboutsummaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-08-11 13:26:23 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-08-12 09:23:34 -0400
commite0ff98dd34d8180b7c2efc2142c40be83fd84725 (patch)
treedf18e28fed5fbb24ebc4c125674669f6d6b63abe /src/common/algorithm.h
parenta8ffe6eee427087683f02290d83064e1cb754cb2 (diff)
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/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions