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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-07-04 17:43:32 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-07-04 19:22:11 +0300
commit39ae324918176a1a94de0c6be4466fdffa2fe711 (patch)
tree6d66b548dadc303308459361e147d27e2de5e47c /intern/cycles/kernel/geom/geom.h
parent1ba90582f532081dc4b980e79e732e268e2ca96a (diff)
Cycles: remove extended precision hacks, no longer needed with SSE2 requirement.
Differential Revision: https://developer.blender.org/D2079
Diffstat (limited to 'intern/cycles/kernel/geom/geom.h')
-rw-r--r--intern/cycles/kernel/geom/geom.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/intern/cycles/kernel/geom/geom.h b/intern/cycles/kernel/geom/geom.h
index c94a5384d1f..2949f66c2ae 100644
--- a/intern/cycles/kernel/geom/geom.h
+++ b/intern/cycles/kernel/geom/geom.h
@@ -27,15 +27,6 @@
#define BVH_QNODE_LEAF_SIZE 1
#define TRI_NODE_SIZE 3
-/* silly workaround for float extended precision that happens when compiling
- * without sse support on x86, it results in different results for float ops
- * that you would otherwise expect to compare correctly */
-#if !defined(__i386__) || defined(__SSE__)
-# define NO_EXTENDED_PRECISION
-#else
-# define NO_EXTENDED_PRECISION volatile
-#endif
-
#include "geom_attribute.h"
#include "geom_object.h"
#include "geom_triangle.h"