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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-09-02 19:23:03 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-09-02 19:33:10 +0300
commitfd47fe4006a54559e0bc97b056a3503bd03e31b2 (patch)
treef258af27ca7247adb98a154f93c0c596bb840f20 /intern
parent789936ea1b2c920fba06bc00e73e9d213decb96c (diff)
Cleanup: fix compiler warning
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/sample/pattern.h2
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