mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
Merge pull request #4451 from stenzek/vulkan-poke
Vulkan: Fix crash on EFB poke
This commit is contained in:
@ -103,6 +103,12 @@ bool FramebufferManager::Initialize()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!CompilePokeShaders())
|
||||||
|
{
|
||||||
|
PanicAlert("Failed to compile poke shaders");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1175,6 +1181,7 @@ void FramebufferManager::DrawPokeVertices(const EFBPokeVertex* vertices, size_t
|
|||||||
pipeline_info.ps = m_poke_fragment_shader;
|
pipeline_info.ps = m_poke_fragment_shader;
|
||||||
pipeline_info.render_pass = m_efb_load_render_pass;
|
pipeline_info.render_pass = m_efb_load_render_pass;
|
||||||
pipeline_info.rasterization_state.bits = Util::GetNoCullRasterizationState().bits;
|
pipeline_info.rasterization_state.bits = Util::GetNoCullRasterizationState().bits;
|
||||||
|
pipeline_info.rasterization_state.samples = m_efb_samples;
|
||||||
pipeline_info.depth_stencil_state.bits = Util::GetNoDepthTestingDepthStencilState().bits;
|
pipeline_info.depth_stencil_state.bits = Util::GetNoDepthTestingDepthStencilState().bits;
|
||||||
pipeline_info.blend_state.bits = Util::GetNoBlendingBlendState().bits;
|
pipeline_info.blend_state.bits = Util::GetNoBlendingBlendState().bits;
|
||||||
pipeline_info.blend_state.write_mask = 0;
|
pipeline_info.blend_state.write_mask = 0;
|
||||||
|
Reference in New Issue
Block a user