mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon: Don't create pipelines with no render targets
Some backends don't like it when you do that
This commit is contained in:
@ -709,6 +709,9 @@ bool PostProcessing::CompilePixelShader()
|
||||
|
||||
bool PostProcessing::CompilePipeline()
|
||||
{
|
||||
if (m_framebuffer_format == AbstractTextureFormat::Undefined)
|
||||
return true; // Not needed (some backends don't like making pipelines with no targets)
|
||||
|
||||
AbstractPipelineConfig config = {};
|
||||
config.vertex_shader = m_vertex_shader.get();
|
||||
config.geometry_shader =
|
||||
|
Reference in New Issue
Block a user