Blender Git Loki

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

1 Modified Path:

/intern/cycles/graph/node_type.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021