mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 08:45:45 +00:00
textures: add BC1 and BC3 compressors and recompression setting
This commit is contained in:
parent
f82efe9f65
commit
415c78b87c
23 changed files with 1150 additions and 27 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…
Add table
Add a link
Reference in a new issue