mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 19:50:05 +00:00
?
This commit is contained in:
parent
adcbdb2b5f
commit
4806b2c242
@ -424,7 +424,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
|
||||
auto& thread_pool = Common::ThreadPool::GetPool();
|
||||
std::vector<std::future<void>> futures;
|
||||
|
||||
constexpr unsigned int MIN_VERTICES_PER_THREAD = 10;
|
||||
constexpr unsigned int MIN_VERTICES_PER_THREAD = 15;
|
||||
unsigned int vs_threads = regs.pipeline.num_vertices / MIN_VERTICES_PER_THREAD;
|
||||
vs_threads = std::min(vs_threads, std::thread::hardware_concurrency() - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user