Blender Git Loki

Git Commits -> Revision 0b89b94

November 20, 2021, 16:51 (GMT)
Fix T92090: Eevee crash with Intel HD 4000 and macOS 10.15.7

A recent security update to macOS 10.15.7 causes crashes when using Eevee and
various other 3D viewport features. It appears that glGenerateMipmap is
broken, causing a crash whenever its commands are flushed/submitted to the GPU.

Ideally this would be fixed in a driver update, however it's unlikely this will
happen. Earlier macOS versions have been receiving security updates for 2 years,
and that window has just passed for 10.15. Further, computers with these GPUs
can't upgrade to a newer macOS version.

As a workaround, disable mipmaps on these GPUs, by setting the mipmap max level
to 0 and not calling glGenerateMipmaps. Effects like depth of field also use
mipmaps, but fill in the mip levels by other means. In those cases we keep the
mipmap level.

Differential Revision: https://developer.blender.org/D13295

Commit Details:

Full Hash: 0b89b94947f7b51c8641213fb69819c72f60f00a
Parent Commit: 4ec6cc4
Lines Changed: +29, -0

4 Modified Paths:

/source/blender/gpu/opengl/gl_backend.cc (+7, -0) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+19, -0) (Diff)
/source/blender/gpu/opengl/gl_texture.hh (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021