Page MenuHome

Fix T94022: Both options GPU/CPU checked under preferences cause viewport render crash. (ARM/Metal)
ClosedPublic

Authored by Michael Jones (michael_jones) on Dec 13 2021, 11:20 PM.

Details

Summary

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.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 19401
Build 19401: arc lint + arc unit