Blender Git Loki

Git Commits -> Revision e688c92

Revision e688c92 by Michael Jones (master)
December 13, 2021, 22:34 (GMT)
Fix T94022: Both options GPU/CPU checked under preferences cause viewport render crash. (ARM/Metal)

This fixes crash T94022 when selecting live viewport render with both GPU & CPU devices selected. It is caused by incorrect `KernelBVHLayout` assignment. Similar to `BVH_LAYOUT_MULTI_OPTIX` for Optix, this patch adds a `BVH_LAYOUT_MULTI_METAL` to correctly redirect to the correct Metal BVH layout type.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13561

Commit Details:

Full Hash: e688c927eb3a82b21ba744ec57540ea2cd4f44c8
Parent Commit: b8952ec
Lines Changed: +14, -3

5 Modified Paths:

/intern/cycles/bvh/bvh.cpp (+2, -0) (Diff)
/intern/cycles/device/multi/device.cpp (+8, -0) (Diff)
/intern/cycles/kernel/types.h (+2, -1) (Diff)
/intern/cycles/scene/geometry.cpp (+1, -1) (Diff)
/intern/cycles/scene/object.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021