Blender Git Commit Log

Git Commits -> Revision 2d084d4

Revision 2d084d4 by Clément Foucault (master)
October 22, 2018, 11:00 (GMT)
GPU: Fix Issue with recursive downsample and Intel HDXXX

This is caused by a driver bug that prevent us from rendering to (or even
binding) a texture mip level that is below GL_TEXTURE_MAX_LEVEL of the
target texture. This is fine in most drivers (and legal AFAIK) but not on
thoses Intels HDXXX + Windows.

As a fix we just put GL_TEXTURE_MAX_LEVEL lower (which is illegal because
it is undefined behaviour), but in practice it works ok and does not
trigger any warnings or errors.

This commit fixes most of the problems encountered on these GPUs (T56668).

Commit Details:

Full Hash: 2d084d4ec430ec8b280a52286eeeca770f2221bc
Parent Commit: 0e70fea
Lines Changed: +66, -8

4 Modified Paths:

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