diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-09-02 19:23:03 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-09-02 19:33:10 +0300 |
commit | fd47fe4006a54559e0bc97b056a3503bd03e31b2 (patch) | |
tree | f258af27ca7247adb98a154f93c0c596bb840f20 /intern | |
parent | 789936ea1b2c920fba06bc00e73e9d213decb96c (diff) |
Cleanup: fix compiler warning
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 |