Code refactor: add WorkTile struct for passing work to kernel.
[blender-staging.git] / intern / cycles / kernel / split / kernel_holdout_emission_blurring_pathtermination_ao.h
index dffd291012d95c8a40c8af547cc7867e68ca2e85..906bad8ceb6dfd943c4df14432d859ef3775fdac 100644 (file)
@@ -98,7 +98,7 @@ ccl_device void kernel_holdout_emission_blurring_pathtermination_ao(
 
        if(IS_STATE(ray_state, ray_index, RAY_ACTIVE)) {
                uint buffer_offset = kernel_split_state.buffer_offset[ray_index];
-               ccl_global float *buffer = kernel_split_params.buffer + buffer_offset;
+               ccl_global float *buffer = kernel_split_params.tile.buffer + buffer_offset;
 
                ccl_global Ray *ray = &kernel_split_state.ray[ray_index];
                ShaderData *emission_sd = &kernel_split_state.sd_DL_shadow[ray_index];