forked from blender/blender
main sync #3
@ -582,7 +582,8 @@ void MetalDevice::compile_and_load(int device_id, MetalPipelineType pso_type)
|
|||||||
if (MetalDevice *instance = get_device_by_ID(device_id, lock)) {
|
if (MetalDevice *instance = get_device_by_ID(device_id, lock)) {
|
||||||
if (mtlLibrary) {
|
if (mtlLibrary) {
|
||||||
if (error && [error localizedDescription]) {
|
if (error && [error localizedDescription]) {
|
||||||
VLOG_WARNING << "MSL compilation messages: " << [[error localizedDescription] UTF8String];
|
VLOG_WARNING << "MSL compilation messages: "
|
||||||
|
<< [[error localizedDescription] UTF8String];
|
||||||
}
|
}
|
||||||
|
|
||||||
instance->mtlLibrary[pso_type] = mtlLibrary;
|
instance->mtlLibrary[pso_type] = mtlLibrary;
|
||||||
|
Loading…
Reference in New Issue
Block a user