Fix T51502: Cycles denoising not using correctly aligned width for NLM on CUDA

This commit is contained in:
Lukas Stockner 2017-05-19 02:02:36 +02:00
parent 740cd28748
commit ffd83a34ab

@ -949,7 +949,7 @@ public:
cuda_push_context();
int4 rect = task->rect;
int w = rect.z-rect.x;
int w = align_up(rect.z-rect.x, 4);
int h = rect.w-rect.y;
int r = task->nlm_state.r;
int f = task->nlm_state.f;