bdk-blender/intern/cycles/device
Patrick Mours 62c0342e75 Fix #113325: Zero-sized curve leads to OptiX error
Empty hair geometry in Cycles may still report having one curve, even when
there are no actual segments in that curve. This caused an attempt to build
an acceleration structure with zero primitives, which due to other setup
OptiX rejected with an error. Fix that by checking the number of segments
rather than the number of curves in the hair geometry, since the former will
always be zero for empty geometry.

Pull Request: blender/blender#115044
2023-11-27 17:34:41 +01:00
..
cpu Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
cuda Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
dummy License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
hip Merge branch 'blender-v3.6-release' into main 2023-06-15 16:45:15 +02:00
hiprt Fix Cycles HIP RT issues with deformation motion blur 2023-11-09 18:22:59 +01:00
metal Cycles: Fix #114919: Disable MetalRT-by-default if macOS < 14.0 2023-11-15 15:46:58 +01:00
multi Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
oneapi Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
optix Fix #113325: Zero-sized curve leads to OptiX error 2023-11-27 17:34:41 +01:00
CMakeLists.txt License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
denoise.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
denoise.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
device.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
device.h Cycles: Remove MetalRT experimental status, and add "auto enable" option 2023-10-29 14:19:39 +01:00
graphics_interop.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
graphics_interop.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
kernel.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
kernel.h Cleanup: fewer iostreams related includes in Cycles 2023-08-15 13:55:38 +02:00
memory.cpp Cleanup: spelling in comments 2023-07-05 14:09:33 +10:00
memory.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
queue.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
queue.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00