Cycles: Improve denoising speed on GPUs with small tile sizes
[blender.git] / intern / cycles / device / device_denoising.h
index ec4e7933cdcc3850904547ca115b158c1a473d80..77a82d0ad041763343058017dfe96bffc9e556ab 100644 (file)
@@ -94,7 +94,7 @@ public:
                device_ptr temporary_1_ptr; /* There two images are used as temporary storage. */
                device_ptr temporary_2_ptr;
 
-               int4 filter_rect;
+               int4 filter_window;
                int4 buffer_params;
 
                int source_w;
@@ -148,8 +148,9 @@ public:
        struct DenoiseBuffers {
                int pass_stride;
                int passes;
-               int w;
+               int stride;
                int h;
+               int width;
                device_only_memory<float> mem;
 
                DenoiseBuffers(Device *device)