[Bf-blender-cvs] [c618075541d] master: Cleanup: make format
Dalai Felinto
noreply at git.blender.org
Mon Sep 27 12:43:58 CEST 2021
Commit: c618075541ded922ead69770ed4acf49106b0ead
Author: Dalai Felinto
Date: Mon Sep 27 12:43:42 2021 +0200
Branches: master
https://developer.blender.org/rBc618075541ded922ead69770ed4acf49106b0ead
Cleanup: make format
===================================================================
M intern/cycles/kernel/kernel_jitter.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_jitter.h b/intern/cycles/kernel/kernel_jitter.h
index ab38895da54..1beaf3cc2b2 100644
--- a/intern/cycles/kernel/kernel_jitter.h
+++ b/intern/cycles/kernel/kernel_jitter.h
@@ -91,7 +91,7 @@ ccl_device float pmj_sample_1D(const KernelGlobals *kg, uint sample, uint rng_ha
const uint sample_set = s / NUM_PMJ_SAMPLES;
const uint d = (dimension + sample_set);
const uint dim = d % NUM_PMJ_PATTERNS;
-
+
/* The PMJ sample sets contain a sample with (x,y) with NUM_PMJ_SAMPLES so for 1D
* the x part is used for even dims and the y for odd. */
int index = 2 * ((dim >> 1) * NUM_PMJ_SAMPLES + (s % NUM_PMJ_SAMPLES)) + (dim & 1);
@@ -139,7 +139,7 @@ ccl_device void pmj_sample_2D(
float fx = kernel_tex_fetch(__sample_pattern_lut, index);
float fy = kernel_tex_fetch(__sample_pattern_lut, index + 1);
-
+
#ifndef _NO_CRANLEY_PATTERSON_ROTATION_
/* Use Cranley-Patterson rotation to displace the sample pattern. */
# ifdef _SIMPLE_HASH_
More information about the Bf-blender-cvs
mailing list