Metal: change shader compilation pool size to 1 (#7639)

This commit is contained in:
Ben Doherty
2024-03-08 10:32:38 -08:00
committed by Benjamin Doherty
parent 86d2e11801
commit ca27bb58bf

View File

@@ -77,7 +77,7 @@ MetalShaderCompiler::MetalShaderCompiler(id<MTLDevice> device, MetalDriver& driv
}
void MetalShaderCompiler::init() noexcept {
const uint32_t poolSize = 2;
const uint32_t poolSize = 1;
mCompilerThreadPool.init(poolSize, []() {}, []() {});
}