Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-07-18 17:00:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-18 17:02:09 +0300
commitcf14437ac91975aaf51b50ae6dca7abf7cc997fa (patch)
treef9f04eadbf5b6cc1b3737a09be3043ba520c7c79 /intern/cycles/device/device.h
parent45b5bf034b053509d7175e74ddea22c658b4717e (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.h4
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 {