diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-03 14:49:54 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-03 14:49:54 +0400 |
commit | db1664ed4c44ff56ce286e0007dfd1587109c7a5 (patch) | |
tree | 9fc331d1dd2a99eaf0f9aaf2c780de21f4c634e2 /intern/cycles/util/util_path.h | |
parent | 67030aaf84229b4d0dc52fbe07e91c2c9d320b0d (diff) |
Cycles:
* Compute MD5 hash to deal with nvidia opencl compiler cache not recognizing
changes in #included files, makes it possible to do kernel compile only
once and remember it for the next time blender is started.
* Kernel tweak to compile with ATI/linux. Enabling any more functionality than
simple clay render still chokes the compiler though, without a specific error
message ..
Diffstat (limited to 'intern/cycles/util/util_path.h')
-rw-r--r-- | intern/cycles/util/util_path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/util/util_path.h b/intern/cycles/util/util_path.h index b80bc0e9131..4be0cb86f56 100644 --- a/intern/cycles/util/util_path.h +++ b/intern/cycles/util/util_path.h @@ -35,6 +35,8 @@ string path_filename(const string& path); string path_dirname(const string& path); string path_join(const string& dir, const string& file); +string path_files_md5_hash(const string& dir); + CCL_NAMESPACE_END #endif |