textures: add BC1 and BC3 compressors and recompression setting
This commit is contained in:
parent
a51f148a04
commit
011dfe1db7
1 changed files with 1149 additions and 26 deletions
15
src/video_core/textures/workers.cpp
Normal file
15
src/video_core/textures/workers.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// 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
|
||||
Loading…
Reference in a new issue