Blender Git Commit Log

Git Commits -> Revision 1b2ee3c

Revision 1b2ee3c by Brecht Van Lommel (master)
November 20, 2021, 16:50 (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: 1b2ee3cf20777c737a116c44227b3193ae69cc74
Parent Commit: f2bb42a
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021