Cycles: remove deprecated strict aliasing flag for opencl, fix missing update
[blender-staging.git] / intern / cycles / device / device_opencl.cpp
index a87b12786b1e2b5b03c48a015e204f4587f88c09..bd26f4a78fb57325930e41a31d19689fd0fd08cb 100644 (file)
@@ -264,7 +264,7 @@ public:
                string build_options = "";
 
                build_options += "-I " + kernel_path + ""; /* todo: escape path */
-               build_options += " -cl-fast-relaxed-math -cl-strict-aliasing";
+               build_options += " -cl-fast-relaxed-math ";
 
                ciErr = clBuildProgram(cpProgram, 0, NULL, build_options.c_str(), NULL, NULL);