Fix Cycles CUDA transparent shadow error after recent fix in c22b52c.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 24 Aug 2017 01:33:33 +0000 (03:33 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 24 Aug 2017 01:43:02 +0000 (03:43 +0200)
commit76b74a93a860d55c36879b4773f1ff8576cd236f
tree23c2bf5be9b06dcbb196548a964249a6f72728de
parentb85d36d8118f14cbc50d86fd90c9ac6c1a9d8a97
Fix Cycles CUDA transparent shadow error after recent fix in c22b52c.

Fishy cat benchmark was rendering with wrong shadows. Cause is unclear,
adding printf or rearranging code seems to avoid this issue, possibly a
compiler bug. This reverts the fix and solves the OSL bug elsewhere.
intern/cycles/kernel/bvh/bvh_traversal.h
intern/cycles/kernel/bvh/qbvh_traversal.h
intern/cycles/kernel/osl/osl_services.cpp