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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-05-11 17:36:28 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-05-11 18:36:51 +0400
commit0d5ecc5c3339f9fede6e7d2bc60315e4b4743cd2 (patch)
treea7c73c769840ab468715cdc6af1c8a2cf71ee0fb
parentc721f9a9f454b601e81448336a8fd7b01e204de3 (diff)
Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.
This doesn't affect any actual release code since camera motion blur is enabled.
-rw-r--r--intern/cycles/kernel/kernel_types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index b3656c38cae..11445aa1c93 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -204,10 +204,8 @@ enum PathTraceDimension {
PRNG_UNUSED_0 = 5,
PRNG_UNUSED_1 = 6, /* for some reason (6, 7) is a bad sobol pattern */
PRNG_UNUSED_2 = 7, /* with a low number of samples (< 64) */
- PRNG_BASE_NUM = 8,
-#else
- PRNG_BASE_NUM = 4,
#endif
+ PRNG_BASE_NUM = 8,
PRNG_BSDF_U = 0,
PRNG_BSDF_V = 1,