Page MenuHome

Fix T66604: Cycles bake crash on specific scene with volume
ClosedPublic

Authored by Sergey Sharybin (sergey) on Jul 11 2019, 3:24 PM.

Details

Summary

The issue was caused by un-initialized local storage for volume
intersection hits which are supposed to be stored in per-thread
KernelGlobals.

Fix is to make thread_shader() be the same as thread_render() in
respect of KernelGlobals.

Diff Detail

Repository
rB Blender

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.Jul 11 2019, 3:32 PM
Brecht Van Lommel (brecht) added inline comments.
intern/cycles/device/device_cpu.cpp
1002–1003

Missing delete kg;?

This revision now requires changes to proceed.Jul 11 2019, 3:32 PM

Added missing delete.

This revision is now accepted and ready to land.Jul 11 2019, 3:42 PM