Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-02-05 01:12:35 +0300
committerRay Molenkamp <github@lazydodo.com>2018-02-05 01:12:35 +0300
commite84e8cb4972e74e1b869bf80f02615c2936e5b19 (patch)
treedd1ba31d2a6285eef30dca98e71604dc9bd45ce1 /intern/cycles/kernel
parentf8236e48690baad706885ef9150379c34d9236e9 (diff)
cycles: fix black render with cycles_cubin_cc.
I have honestly no idea how this got swapped..
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r--intern/cycles/kernel/kernel_compat_cuda.h4
1 files changed, 2 insertions, 2 deletions
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)
{