Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/split/kernel_path_init.h')
-rw-r--r--intern/cycles/kernel/split/kernel_path_init.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/intern/cycles/kernel/split/kernel_path_init.h b/intern/cycles/kernel/split/kernel_path_init.h
index 701d39403ad..1bd641b031d 100644
--- a/intern/cycles/kernel/split/kernel_path_init.h
+++ b/intern/cycles/kernel/split/kernel_path_init.h
@@ -45,10 +45,6 @@ ccl_device void kernel_path_init(KernelGlobals *kg) {
uint x, y, sample;
get_work_pixel(tile, work_index, &x, &y, &sample);
- /* Remap rng_state and buffer to current pixel. */
- ccl_global uint *rng_state = kernel_split_params.tile.rng_state;
- rng_state += tile->offset + x + y*tile->stride;
-
/* Store buffer offset for writing to passes. */
uint buffer_offset = (tile->offset + x + y*tile->stride) * kernel_data.film.pass_stride;
ccl_global float *buffer = tile->buffer + buffer_offset;
@@ -57,7 +53,6 @@ ccl_device void kernel_path_init(KernelGlobals *kg) {
/* Initialize random numbers and ray. */
uint rng_hash;
kernel_path_trace_setup(kg,
- rng_state,
sample,
x, y,
&rng_hash,