Merge pull request #4451 from stenzek/vulkan-poke
Vulkan: Fix crash on EFB poke
This commit is contained in:
commit
017ab71fcf
|
@ -103,6 +103,12 @@ bool FramebufferManager::Initialize()
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!CompilePokeShaders())
|
||||
{
|
||||
PanicAlert("Failed to compile poke shaders");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1175,6 +1181,7 @@ void FramebufferManager::DrawPokeVertices(const EFBPokeVertex* vertices, size_t
|
|||
pipeline_info.ps = m_poke_fragment_shader;
|
||||
pipeline_info.render_pass = m_efb_load_render_pass;
|
||||
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.blend_state.bits = Util::GetNoBlendingBlendState().bits;
|
||||
pipeline_info.blend_state.write_mask = 0;
|
||||
|
|
Loading…
Reference in New Issue