diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2021-07-18 04:03:26 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2021-07-18 04:08:48 +0100 |
| commit | c948d7f4369c4ad517c8afb4126bc5dd55f6068b (patch) | |
| tree | 3cd5fea15b236f91bcd49930201912283342e267 /Source/Core/VideoCommon/PostProcessing.cpp | |
| parent | 6bf39dc6d63d6bb5bc8cf16186a669122777b9ce (diff) | |
PostProcessing: fix link error when switching shaders
Switching to a post-processing shader with different configuration options will
change the UBO, so we need to recompile the vertex shader as well.
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 6cf1397416..8d0b758c6f 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -400,6 +400,8 @@ void PostProcessing::RecompileShader() m_pixel_shader.reset(); if (!CompilePixelShader()) return; + if (!CompileVertexShader()) + return; CompilePipeline(); } |
