Blender Git Commit Log

Git Commits -> Revision 84e122e

Revision 84e122e by Ray molenkamp (master)
October 1, 2020, 16:19 (GMT)
Cycles: Fix broken 32 bit shift.

1ul << n will still be a 32 bit integer regardless
of the value of n, given the target here is 64 bits
the upper 32 bits will always be zero. Using 1ull
will yield the expected result.

Commit Details:

Full Hash: 84e122e38a547cd57249f6d4da26bd722a93950e
Parent Commit: ec723ad
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021