bdk-blender/intern
Alaska ee2e231adc Fix #111277: NaN in Vector Displacement leading to render errors
Fixes NaN in Vector Displacement node caused by the normalization of
0, 0, 0 vectors.

This fixes both visual rendering issues and an "illegal address" error
on the GPU. The "illegal address" error came from the Light Tree
Sampling code not handling the NaN normals well, leading to weird code
paths being taken, eventually leading to a kernel_assert and a
user facing illegal address error.

In Blender 3.5+, this fixes two errors (visual artifacts and errors on
the GPU when using the light tree). In Blender 3.3 it only fixes one
(visual artifacts) because 3.3 doesn't have the light tree. The commit
message should be adjusted to represent that

Pull Request: blender/blender#111294
2023-09-13 13:41:02 +02:00
..
atomic Intern/atomic: Fix const qualifier for atomic_load_ptr. 2022-05-31 21:05:15 +08:00
audaspace CMake: fix AUDASPACE disabling WITH_PYTHON for Blender 2022-05-20 11:18:49 +10:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Fix #111277: NaN in Vector Displacement leading to render errors 2023-09-13 13:41:02 +02:00
dualcon Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
eigen File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
ffmpeg Fix ffmpeg warnings due to missing header include 2023-06-16 15:26:54 +02:00
ghost Fix T89399: Mouse wrapping causes erratic movement 2022-11-28 14:31:02 +01:00
glew-mx File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
guardedalloc Build: fix NetBSD error in guardedalloc 2023-06-15 13:27:39 +02:00
iksolver Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
itasc Cleanup: remove argument to doxygen \file 2022-03-25 12:10:30 +11:00
libc_compat Fix compilation on Linux, glibc 2.34, and CentOS libraries 2022-09-21 12:33:07 +02:00
libmv Libmv: Remove FreeBSD sincos() workaround 2023-06-15 13:17:44 +02:00
locale Fix building with boost >= 1.81 2023-06-15 13:23:10 +02:00
mantaflow Fix T102257: Crash when making an Object as Effector set to Guide and trying to scrub the timeline 2022-11-28 15:00:10 +01:00
memutil File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
mikktspace Mikktspace: Reduce number of data queries to caller 2022-04-23 15:09:41 +02:00
opencolorio Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
opensubdiv Fix missing OpenMP in Linux builds 2022-10-31 20:29:50 +01:00
openvdb File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
quadriflow File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rigidbody Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
sky Cleanup: spelling in comments 2022-06-30 12:14:22 +10:00
utfconv Cleanup: use C++ comments for disabled code 2022-04-13 13:47:04 +10:00
wayland_dynload GHOST/Wayland: support dynamic loading libraries for Wayland 2022-07-06 15:30:47 +10:00
CMakeLists.txt GHOST/Wayland: support dynamic loading libraries for Wayland 2022-07-06 15:30:47 +10:00