diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-12-07 19:47:35 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-12-07 19:47:35 +0300 |
commit | a37dac0a884ff9acd36eb887e8cd36df501c337b (patch) | |
tree | 8bf3c7fc8a0718837824e4fcb7becbe53ac8cc8c /intern | |
parent | fee4b58627dab1acac2aef19189e5aee30aadba5 (diff) |
Cycles: add Metal device type to `device_type_for_description`
Add a `DEVICE_METAL` case to the enum-value-to-string mapping function.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/integrator/path_trace.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/integrator/path_trace.cpp b/intern/cycles/integrator/path_trace.cpp index 14aede2c635..bdc18b1c0a1 100644 --- a/intern/cycles/integrator/path_trace.cpp +++ b/intern/cycles/integrator/path_trace.cpp @@ -1093,6 +1093,8 @@ static const char *device_type_for_description(const DeviceType type) return "Dummy"; case DEVICE_MULTI: return "Multi"; + case DEVICE_METAL: + return "Metal"; } return "UNKNOWN"; |