Cycles: Fix compilation of sm_20 and sm_21 kernels
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Oct 2017 07:26:02 +0000 (12:26 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Oct 2017 07:26:02 +0000 (12:26 +0500)
Was broken since the bicubic commit for GPU support.

intern/cycles/kernel/kernels/cuda/kernel_cuda_image.h

index 269e74f616493f18c83842f336350dae2982cfc1..b7be4fe440964b5b7f63d94b34d9f468866b0f44 100644 (file)
@@ -293,7 +293,7 @@ ccl_device float4 kernel_tex_image_interp(KernelGlobals *kg, int id, float x, fl
        return r;
 }
 
-ccl_device float4 kernel_tex_image_interp_3d(KernelGlobals *kg, int id, float x, float y, float z)
+ccl_device float4 kernel_tex_image_interp_3d(KernelGlobals *kg, int id, float x, float y, float z, InterpolationType interp)
 {
        float4 r;
        switch(id) {