diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-15 01:18:20 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-15 01:18:20 +0400 |
commit | 11707119ded9616b5cb81e1be8eff56727cb4299 (patch) | |
tree | 99843238e33030de20fca19ca6bb5c03bf413c50 /intern/cycles/kernel/kernel.cl | |
parent | d70497cefc0921a70d3a6179af7df58bb55f974c (diff) |
Cycles:
* Code cleanup, remove unused "resolution" variable from the DeviceTask class, was never used.
Diffstat (limited to 'intern/cycles/kernel/kernel.cl')
-rw-r--r-- | intern/cycles/kernel/kernel.cl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel.cl b/intern/cycles/kernel/kernel.cl index f98414d4f02..22cb806b8e0 100644 --- a/intern/cycles/kernel/kernel.cl +++ b/intern/cycles/kernel/kernel.cl @@ -62,7 +62,7 @@ __kernel void kernel_ocl_tonemap( __global type *name, #include "kernel_textures.h" - int sample, int resolution, + int sample, int sx, int sy, int sw, int sh, int offset, int stride) { KernelGlobals kglobals, *kg = &kglobals; @@ -77,7 +77,7 @@ __kernel void kernel_ocl_tonemap( int y = sy + get_global_id(1); if(x < sx + sw && y < sy + sh) - kernel_film_tonemap(kg, rgba, buffer, sample, resolution, x, y, offset, stride); + kernel_film_tonemap(kg, rgba, buffer, sample, x, y, offset, stride); } /*__kernel void kernel_ocl_shader(__global uint4 *input, __global float *output, int type, int sx) |