mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Materials without connections to the output node would crash with OSL in OptiX, since the Cycles `OSLCompiler` generates an empty shader group reference for them, which resulted in the OptiX device implementation setting an empty SBT entry for the corresponding direct callables, which then crashed when calling those direct callables was attempted in `osl_eval_nodes`. This fixes that by setting the SBT entries for empty shader groups to a dummy direct callable that does nothing. |
||
|---|---|---|
| .. | ||
| device.cpp | ||
| device.h | ||
| device_impl.cpp | ||
| device_impl.h | ||
| queue.cpp | ||
| queue.h | ||
| util.h | ||