vk_graphics_pipeline: Only fast compile if no shaders are pending
* With this shaders weren't being compiled in parallel
This commit is contained in:
@ -88,7 +88,7 @@ bool GraphicsPipeline::TryBuild(bool wait_built) {
|
||||
}
|
||||
|
||||
// Ask the driver if it can give us the pipeline quickly.
|
||||
if (!wait_built && instance.IsPipelineCreationCacheControlSupported() && Build(true)) {
|
||||
if (!shaders_pending && instance.IsPipelineCreationCacheControlSupported() && Build(true)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user