blender/intern/cycles/device
Patrick Mours 6b09a0277b 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: https://projects.blender.org/blender/blender/pulls/115044
2023-12-06 15:25:04 +01:00
..
cpu Cycles: refactor to move part of KernelData definition to template header 2022-07-15 13:40:04 +02:00
cuda Cycles: Improve denoiser update performance when rendering with multiple GPUs 2022-08-12 16:00:54 +02:00
dummy Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
hip Cycles: enable Vega GPU/APU support 2022-06-28 18:35:43 +02:00
metal Fix macOS build error after recent changes to enable Intel GPUs 2022-11-28 19:21:50 +01:00
multi Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
oneapi Cycles: Fix crashes in oneAPI backend for scenes not fitting in dGPU memory 2022-09-06 15:38:15 +02:00
optix Fix #113325: Zero-sized curve leads to OptiX error 2023-12-06 15:25:04 +01:00
CMakeLists.txt Cycles: Add support for rendering on Intel GPUs using oneAPI 2022-06-29 12:58:04 +02:00
denoise.cpp Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
denoise.h Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
device.cpp Cycles: Add support for rendering on Intel GPUs using oneAPI 2022-06-29 12:58:04 +02:00
device.h Cleanup: compiler warning 2022-07-15 15:20:53 +02:00
graphics_interop.cpp Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
graphics_interop.h Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
kernel.cpp Fix Cycles MNEE not working for Metal 2022-05-31 17:24:43 +02:00
kernel.h Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
memory.cpp Cycles: Add half precision float support for volumes with NanoVDB 2022-05-23 19:08:01 +02:00
memory.h Cleanup: renaming and consistency for kernel data 2022-06-20 12:30:48 +02:00
queue.cpp Cleanup: add verbose logging category names instead of numbers 2022-06-17 14:08:14 +02:00
queue.h Cycles: generalize shader sorting / locality heuristic to all GPU devices 2022-07-15 13:42:47 +02:00