Merge branch 'blender-v5.0-release'

This commit is contained in:
Clément Foucault
2025-10-16 19:26:09 +02:00

View File

@@ -728,6 +728,14 @@ void DepthOfField::render(View &view,
scatter_fb.ensure(GPU_ATTACHMENT_NONE, GPU_ATTACHMENT_TEXTURE(color_tx.current()));
if (GPU_type_matches_ex(
GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE, GPU_BACKEND_OPENGL))
{
/* WORKAROUND(fclem): Mesa has some synchronization issues between the previous compute
* shader and the following graphic pass (see #141198). */
GPU_flush();
}
GPU_framebuffer_bind(scatter_fb);
drw.submit(scatter_ps, view);