diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-11 13:26:23 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-12 09:23:34 -0400 |
| commit | 237d4bb1c53e120bb3acd13999fe5fca973b8f4a (patch) | |
| tree | df18e28fed5fbb24ebc4c125674669f6d6b63abe /src/common/threadsafe_queue.h | |
| parent | d7958019b63e1730f453b48235f9a1f5a2c3c789 (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/threadsafe_queue.h')
0 files changed, 0 insertions, 0 deletions
