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
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2009-12-10 03:51:13 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2009-12-10 03:51:13 +0300
commit11af0ff2702ccd02f5dd7528e3f4c5039c635144 (patch)
tree103d63cf62f21422944cc22f6b06b33978a523d9 /tools
parentee124514636be9c7456cf856bd4772af4a02ca48 (diff)
* WITH_BF_RAYOPTIMIZATION cleanup and flag separation by matd.
This adds BF_RAYOPTIMIZATION_SSE_FLAGS through which one can manage what SSE flags are best for the platform built for. Note that the ray optimizations coded by jaguarandi are SSE-intrinsics only.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/btools.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/btools.py b/tools/btools.py
index d5cc8a543b4..556cb9b901a 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -76,7 +76,8 @@ def validate_arguments(args, bc):
'WITH_BF_FHS',
'BF_VERSION',
'BF_GHOST_DEBUG',
- 'WITH_BF_RAYOPTIMIZATION'
+ 'WITH_BF_RAYOPTIMIZATION',
+ 'BF_RAYOPTIMIZATION_SSE_FLAGS'
]
# Have options here that scons expects to be lists
@@ -423,7 +424,9 @@ def read_opts(cfg, args):
(BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)),
(BoolVariable('BF_GHOST_DEBUG', 'Make GHOST print events and info to stdout. (very verbose)', False)),
- (BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False))
+
+ (BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False)),
+ ('BF_RAYOPTIMIZATION_SSE_FLAGS', 'SSE flags', '')
) # end of opts.AddOptions()
return localopts