Cycles: Fix OpenCL compilation failure after recent color changes

It is really confusing to have some functions available in some devices
and not on another devices.
This commit is contained in:
Sergey Sharybin
2017-05-03 14:11:19 +02:00
parent 44991a0132
commit 6f9c839f44
4 changed files with 24 additions and 27 deletions

View File

@@ -174,7 +174,7 @@ ccl_device float4 svm_image_texture(KernelGlobals *kg, int id, float x, float y,
}
if(srgb) {
r = color_srgb_to_scene_linear(r);
r = color_srgb_to_scene_linear_v4(r);
}
return r;