Fix #160256: Cycles OptiX crash with OSL camera and shader raytrace

This particular combination was not computing the stack size correctly,
since shader raytrace was moved to a separate OptiX module. It needs to
be set manually now that it's not part of the same module.

Regression from c51fcf73a7.

Pull Request: https://projects.blender.org/blender/blender/pulls/160318
This commit is contained in:
Brecht Van Lommel 2026-06-18 04:23:12 +02:00
parent 41ba111aee
commit 1319a955eb
6 changed files with 22 additions and 1 deletions

View file

@ -78,6 +78,7 @@ BLOCKLIST_OPTIX_OSL_ALL = BLOCKLIST_OPTIX_OSL_LIMITED + [
'ambient_occlusion.*.blend',
'bake_bevel.blend',
'bevel.blend',
'osl_camera_bevel.blend',
'raycast.*.blend',
'principled_bsdf_bevel_emission_137420.blend',
# Dicing tests use wireframe node which doesn't appear to be supported with OptiX OSL

View file

@ -56,6 +56,7 @@ BLOCKLIST = [
"osl_camera_cubemap.blend",
"osl_camera_cubemap_auto_derivatives.blend",
"osl_camera_offset_in_volume.blend",
"osl_camera_bevel.blend",
# Extreme texture values interpolate differently on different GPUs.
"image_log.blend",
# Exhibit the LTC light leaking issue. To be enabeld back after fixing.