Fix #125093: Cycles: oneAPI: transparent shadows opaque when bounces>=1024

Pull Request: https://projects.blender.org/blender/blender/pulls/127404
This commit is contained in:
Nikita Sirgienko
2024-09-10 13:43:19 +02:00
committed by Gitea
parent d3b655f76d
commit d300098ee5

View File

@@ -33,8 +33,8 @@
CCL_NAMESPACE_BEGIN
#if INTEGRATOR_SHADOW_ISECT_SIZE < 256
using numhit_t = uint8_t;
#ifdef __KERNEL_ONEAPI__
using numhit_t = uint16_t;
#else
using numhit_t = uint32_t;
#endif