Fix crash when switching gl_ubershaders off
This commit is contained in:
parent
202d99bf9e
commit
6f83f166e9
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ VulkanPipeline *VkRenderPassSetup::GetPipeline(const VkPipelineKey &key, Uniform
|
|||
else
|
||||
{
|
||||
auto item = SpecializedPipelines.find(key);
|
||||
if (item == SpecializedPipelines.end())
|
||||
if (item == SpecializedPipelines.end() || item->second.pipeline == nullptr)
|
||||
{
|
||||
auto pipeline = CreateWithStats(*CreatePipeline(key, false, Uniforms), "Specialized");
|
||||
auto ptr = pipeline.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue