Blender Git Commit Log

Git Commits -> Revision d5fe6e4

Revision d5fe6e4 by Clément Foucault (master)
October 26, 2018, 08:54 (GMT)
GPU: Add workarounds for buggy glBlitFramebuffer function on macOS + Radeon

When calling glBlitFramebuffer on most (if not all) mac that have a GPU
from the Radeon Pro series, the data is not properly copied and only a
subset of the pixels are correctly copied.

This only happens when blitting the depth buffer if the depth buffer is
GL_DEPTH24_STENCIL8.

Changing the depth buffer format to GPU_DEPTH32F_STENCIL8 fixes the issue
but only works if blitting the depth componnent. The stencil componnent
still provoke issues when being copied.

Commit Details:

Full Hash: d5fe6e47850311e10a1ae1663693018634c83e84
Parent Commit: 48b5648
Lines Changed: +23, -0

3 Modified Paths:

/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+16, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021