[Bf-blender-cvs] [e84e8cb4972] master: cycles: fix black render with cycles_cubin_cc.
Ray Molenkamp
noreply at git.blender.org
Sun Feb 4 23:12:48 CET 2018
Commit: e84e8cb4972e74e1b869bf80f02615c2936e5b19
Author: Ray Molenkamp
Date: Sun Feb 4 15:12:35 2018 -0700
Branches: master
https://developer.blender.org/rBe84e8cb4972e74e1b869bf80f02615c2936e5b19
cycles: fix black render with cycles_cubin_cc.
I have honestly no idea how this got swapped..
===================================================================
M intern/cycles/kernel/kernel_compat_cuda.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_compat_cuda.h b/intern/cycles/kernel/kernel_compat_cuda.h
index 7b66bdc169e..900f7fe6a2c 100644
--- a/intern/cycles/kernel/kernel_compat_cuda.h
+++ b/intern/cycles/kernel/kernel_compat_cuda.h
@@ -37,8 +37,8 @@ typedef unsigned long long uint64_t;
typedef unsigned short half;
typedef unsigned long long CUtexObject;
-#define FLT_MAX 1.175494350822287507969e-38f
-#define FLT_MIN 340282346638528859811704183484516925440.0f
+#define FLT_MIN 1.175494350822287507969e-38f
+#define FLT_MAX 340282346638528859811704183484516925440.0f
__device__ half __float2half(const float f)
{
More information about the Bf-blender-cvs
mailing list