Improve asynchronous shader building
All checks were successful
eden-license / license-header (pull_request) Successful in 21s

This commit is contained in:
MaranBr 2025-09-23 13:38:43 -04:00
parent 49ddf95c70
commit 0aa14888ef

View file

@ -603,11 +603,6 @@ GraphicsPipeline* PipelineCache::BuiltPipeline(GraphicsPipeline* pipeline) const
if (!use_asynchronous_shaders) {
return pipeline;
}
// If something is using depth, we can assume that games are not rendering anything which
// will be used one time.
if (maxwell3d->regs.zeta_enable) {
return nullptr;
}
// If games are using a small index count, we can assume these are full screen quads.
// Usually these shaders are only used once for building textures so we can assume they
// can't be built async