Skip to content

Commit

Permalink
GPU/HW: Fix spec violation with Vulkan fbfetch
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jul 29, 2024
1 parent 998f77c commit e0911d7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/core/gpu_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,10 @@ void GPU_HW::SetVRAMRenderTarget()
}
else
{
g_gpu_device->SetRenderTarget(
m_vram_texture.get(), m_vram_depth_texture.get(),
((m_allow_shader_blend && !m_supports_framebuffer_fetch && !m_use_rov_for_shader_blend) ?
GPUPipeline::ColorFeedbackLoop :
GPUPipeline::NoRenderPassFlags));
g_gpu_device->SetRenderTarget(m_vram_texture.get(), m_vram_depth_texture.get(),
((m_allow_shader_blend && !m_use_rov_for_shader_blend) ?
GPUPipeline::ColorFeedbackLoop :
GPUPipeline::NoRenderPassFlags));
}
}

Expand Down

0 comments on commit e0911d7

Please sign in to comment.