Blender Git Commit Log

Git Commits -> Revision 7710de2

Revision 7710de2 by Clément Foucault (master)
September 14, 2020, 21:05 (GMT)
Workbench: Depth Of Field: Fix undefined behavior with using texelFetch

On MacOS + Intel Iris Graphics 6100 (may affect other config too), the
texelFetch operation bypass the base mip setting of the texture object.

Using textureLod with lod = 0.0 ensure the lowest (after clamping) mip will
always be selected.

Also disable the texture filtering for this sampler to avoid unecessary
fetches.

This should fix T78653 Blender 2.83 broken Depth of Field in Viewport

Commit Details:

Full Hash: 7710de26d0d768734977769af4a278b262f4da51
Parent Commit: f782978
Lines Changed: +14, -10

2 Modified Paths:

/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+13, -9) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021