diff options
author | Patrick Mours <pmours@nvidia.com> | 2020-11-06 17:19:58 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2020-11-09 14:37:47 +0300 |
commit | 118e31a0a995ae4e8845376215d9c35017a8f781 (patch) | |
tree | 25672cc8396c7b6cb75086b4d2378c4c06d153b5 /intern/cycles/util | |
parent | 92083772e73a68bf74702aceb0fcb759a6b2419c (diff) |
Cycles: Fix tricubic sampling with NanoVDB
Volumes using tricubic sampling were producing different results with NanoVDB compared
to dense textures. This fixes that by using the same tricubic sampling algorithm in both
cases. It also fixes some remaining offset issues and some minor things that broke OpenCL
kernel compilation on NVIDIA.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D9491
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_types.h b/intern/cycles/util/util_types.h index a721595667d..fc80fa9696c 100644 --- a/intern/cycles/util/util_types.h +++ b/intern/cycles/util/util_types.h @@ -53,7 +53,7 @@ typedef unsigned short ushort; /* Fixed Bits Types */ #ifdef __KERNEL_OPENCL__ -typedef ulong uint64_t; +typedef unsigned long uint64_t; #endif #ifndef __KERNEL_GPU__ |