llvmpipe: get rid of barycentric calculation of a0
[mesa.git] / src / gallium / drivers / llvmpipe / lp_test_main.c
index 4c6109231464bbbf1aa16109d732a5b9c4337d81..8a896becf5346843e73709adf97eeaad61537460 100644 (file)
@@ -370,6 +370,11 @@ int main(int argc, char **argv)
    unsigned i;
    boolean success;
    boolean single = FALSE;
+   unsigned fpstate;
+
+   util_cpu_detect();
+   fpstate = util_fpstate_get();
+   util_fpstate_set_denorms_to_zero(fpstate);
 
    for(i = 1; i < argc; ++i) {
       if(strcmp(argv[i], "-v") == 0)