gallium: use SSE by default
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 5 Dec 2007 15:28:39 +0000 (15:28 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 9 Dec 2007 14:06:01 +0000 (14:06 +0000)
src/mesa/pipe/draw/draw_context.c
src/mesa/pipe/softpipe/sp_context.c

index d438c0be103a20b232522cf1a530338e58cc1f1b..6792a06a4e2651edfb161c4eb9f5a61eeef560b0 100644 (file)
@@ -42,7 +42,7 @@ struct draw_context *draw_create( void )
    struct draw_context *draw = CALLOC_STRUCT( draw_context );
 
 #if defined(__i386__) || defined(__386__)
-   draw->use_sse = GETENV( "GALLIUM_SSE" ) != NULL;
+   draw->use_sse = GETENV( "GALLIUM_NOSSE" ) == NULL;
 #else
    draw->use_sse = FALSE;
 #endif
index df4e0cbd5aed7e8d82d72fbd7c37971793179867..809b165f4504b17529dc0d3f22a7fb61d04ebdd7 100644 (file)
@@ -244,7 +244,7 @@ struct pipe_context *softpipe_create( struct pipe_winsys *pipe_winsys,
    uint i;
 
 #if defined(__i386__) || defined(__386__)
-   softpipe->use_sse = GETENV( "GALLIUM_SSE" ) != NULL;
+   softpipe->use_sse = GETENV( "GALLIUM_NOSSE" ) == NULL;
 #else
    softpipe->use_sse = FALSE;
 #endif