diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 17:00:07 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 17:02:09 +0300 |
commit | cf14437ac91975aaf51b50ae6dca7abf7cc997fa (patch) | |
tree | f9f04eadbf5b6cc1b3737a09be3043ba520c7c79 /intern/cycles/device/device.h | |
parent | 45b5bf034b053509d7175e74ddea22c658b4717e (diff) |
Cycles: Log requested device features
Useful to have this always logged because otherwise it's needed to remove cached
kernels and check build flags to see which features are enabled.
Diffstat (limited to 'intern/cycles/device/device.h')
-rw-r--r-- | intern/cycles/device/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h index 7c4f5b61a48..ea1e20d1500 100644 --- a/intern/cycles/device/device.h +++ b/intern/cycles/device/device.h @@ -124,8 +124,12 @@ public: use_camera_motion == requested_features.use_camera_motion && use_baking == requested_features.use_baking); } + }; +std::ostream& operator <<(std::ostream &os, + const DeviceRequestedFeatures& requested_features); + /* Device */ struct DeviceDrawParams { |