mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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.
This commit is contained in:
@ -400,6 +400,8 @@ void PostProcessing::RecompileShader()
|
|||||||
m_pixel_shader.reset();
|
m_pixel_shader.reset();
|
||||||
if (!CompilePixelShader())
|
if (!CompilePixelShader())
|
||||||
return;
|
return;
|
||||||
|
if (!CompileVertexShader())
|
||||||
|
return;
|
||||||
|
|
||||||
CompilePipeline();
|
CompilePipeline();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user