llvmpipe: Don't build lp_test_round when using MSVC.
authorVinson Lee <vlee@vmware.com>
Wed, 7 Jul 2010 00:25:39 +0000 (17:25 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 7 Jul 2010 00:25:39 +0000 (17:25 -0700)
lp_test_round uses the math functions round and trunc, which aren't
available with MSVC.

Fixes the MSVC build for now.

src/gallium/drivers/llvmpipe/SConscript

index 57a6e7197fa006585f9d837317d60aa9b9d28a0d..543d42dadd228dc8e8bbd2efdaf2549dae0c1719 100644 (file)
@@ -80,10 +80,12 @@ if env['platform'] != 'embedded':
         'blend',
         'conv',
        'printf',
-       'round',
        'sincos',
     ]
 
+    if not msvc:
+        tests.append('round')
+
     for test in tests:
         target = env.Program(
             target = 'lp_test_' + test,