llvmpipe: Re-enable threading on windows.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 12 Jul 2010 14:00:56 +0000 (15:00 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 12 Jul 2010 14:40:33 +0000 (15:40 +0100)
src/gallium/drivers/llvmpipe/lp_screen.c

index edcab0f8d95573298d480bbefdfd9a7846c4640a..e151782ceacf124bf13030ec83a28ad43f48113b 100644 (file)
@@ -349,11 +349,6 @@ llvmpipe_create_screen(struct sw_winsys *winsys)
 
    lp_jit_screen_init(screen);
 
-#ifdef PIPE_OS_WINDOWS
-   /* Multithreading not supported on windows until conditions and barriers are
-    * properly implemented. */
-   screen->num_threads = 0;
-#else
 #ifdef PIPE_OS_EMBEDDED
    screen->num_threads = 0;
 #else
@@ -361,7 +356,6 @@ llvmpipe_create_screen(struct sw_winsys *winsys)
 #endif
    screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads);
    screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS);
-#endif
 
    util_format_s3tc_init();