mirror of https://github.com/yuzu-mirror/yuzu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
431 B
C++
16 lines
431 B
C++
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "video_core/textures/workers.h"
|
|
|
|
namespace Tegra::Texture {
|
|
|
|
Common::ThreadWorker& GetThreadWorkers() {
|
|
static Common::ThreadWorker workers{std::max(std::thread::hardware_concurrency(), 2U) / 2,
|
|
"ImageTranscode"};
|
|
|
|
return workers;
|
|
}
|
|
|
|
} // namespace Tegra::Texture
|