VulkanHostDisplay: Execute command buffer before reloading post shaders

This commit is contained in:
Connor McLaughlin 2020-09-27 01:34:29 +10:00
parent b979706417
commit 8342fec2c8
1 changed files with 2 additions and 0 deletions

View File

@ -734,6 +734,8 @@ VulkanHostDisplay::PostProcessingStage::~PostProcessingStage()
bool VulkanHostDisplay::SetPostProcessingChain(const std::string_view& config)
{
g_vulkan_context->ExecuteCommandBuffer(true);
if (config.empty())
{
m_post_processing_stages.clear();