diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/sample/pattern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/sample/pattern.h b/intern/cycles/kernel/sample/pattern.h index fa48cc216af..ebdecc1bff9 100644 --- a/intern/cycles/kernel/sample/pattern.h +++ b/intern/cycles/kernel/sample/pattern.h @@ -106,6 +106,8 @@ ccl_device_inline bool sample_is_class_A(int pattern, int sample) */ return hash_hp_seeded_uint(sample, 0xa771f873) & 1; } +#else + (void)pattern; #endif /* This follows the approach from section 10.2.1 of "Progressive |