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

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();