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
path: root/extern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-07-29 19:44:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-07-29 23:19:30 +0300
commit37933cb048b050624c32ebaa0ac91636dec1c557 (patch)
treeb100a3f2e29e4f56421ed2bd7e9608e2104f76e7 /extern
parentac655be0e328dc2390a70a6593b03ab9fb867a22 (diff)
Cycles: Add fundamentals to test constant folding
This commit adds some easy to use way to check whether the graph was properly optimized. The idea is based on using mock glog sync which keeps track on all messages and expects specific log message to appear in the logging. This means each optimization step should report that it optimized something (specifying what exactly was optimized) and what was used for optimization. There's also some ease-ish way to define shader networks which we might want to make a bit more global and available for all tests in the future. For now only RGBToBW node is covered as an example, really hope to get help from active guys in the community to finish covering all existing optimization cases. Ready to fix any possible issues with builder when needed tho :)
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions