From 8342fec2c865c03379750ba77969db5a9716e8fb Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 27 Sep 2020 01:34:29 +1000 Subject: [PATCH] VulkanHostDisplay: Execute command buffer before reloading post shaders --- src/frontend-common/vulkan_host_display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend-common/vulkan_host_display.cpp b/src/frontend-common/vulkan_host_display.cpp index 912a22ac4..0a2e043c7 100644 --- a/src/frontend-common/vulkan_host_display.cpp +++ b/src/frontend-common/vulkan_host_display.cpp @@ -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();