blender/intern/cycles
Weizhen Huang 68de483bf3 Fix: Ray Portal BSDF changing sd->flag when closure is not allocated
when ray exceeds `max_bounce`, we do not allocate any closure at
intersection. However, Ray Portal BSDF still added `SD_BSDF` flag,
resulting in undefined behavior in
`integrate_surface_bsdf_bssrdf_bounce()`.
This part of code was similar to Transparent BSDF, however, Transparent
closure was still allocated in this case.
To fix the undefined behavior, add `SD_BSDF` flag only when the Ray
Portal closure was allocated.
2024-05-13 19:10:02 +02:00
..
app Cleanup: format 2024-03-12 20:56:48 +11:00
blender Cleanup: Mark method as static to fix pylint error 2024-05-13 16:02:56 +02:00
bvh Fix #119551: Cycles denoising crash canceling tiled render with MetalRT 2024-03-18 11:00:21 +01:00
cmake Build: Remove LLVM linking no longer needed by OSL 2024-02-14 12:06:52 +01:00
device Cycles: MetalRT optimisations (scene_intersect_shadow + random_walk) 2024-05-10 16:38:02 +02:00
doc License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
graph Fix #113777: Cycles IES texture not working for sphere lights 2023-10-18 20:40:07 +02:00
hydra Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
integrator Cycles: Enable OIDN 2.3 lazy device module loading 2024-05-07 14:07:39 +02:00
kernel Fix: Ray Portal BSDF changing sd->flag when closure is not allocated 2024-05-13 19:10:02 +02:00
scene Cycles: Add OpenImageDenoise quality option 2024-05-06 18:56:16 +02:00
session Cleanup: spelling in comments 2024-03-27 10:25:31 +11:00
subd Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
test Cycles: Increase minimum target on x86 to SSE4.2 2024-02-26 14:49:19 +01:00
util Cycles: Cleanup: Remove unused hash function 2024-05-13 02:48:54 +02:00
CMakeLists.txt CMake: Windows: clang-cl fixes 2024-04-24 15:59:47 +02:00