mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
VulkanHostDisplay: Execute command buffer before reloading post shaders
This commit is contained in:
parent
b979706417
commit
8342fec2c8
|
@ -734,6 +734,8 @@ VulkanHostDisplay::PostProcessingStage::~PostProcessingStage()
|
||||||
|
|
||||||
bool VulkanHostDisplay::SetPostProcessingChain(const std::string_view& config)
|
bool VulkanHostDisplay::SetPostProcessingChain(const std::string_view& config)
|
||||||
{
|
{
|
||||||
|
g_vulkan_context->ExecuteCommandBuffer(true);
|
||||||
|
|
||||||
if (config.empty())
|
if (config.empty())
|
||||||
{
|
{
|
||||||
m_post_processing_stages.clear();
|
m_post_processing_stages.clear();
|
||||||
|
|
Loading…
Reference in a new issue