summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <michal@ubuntu-vbox.(none)>2008-09-08 17:21:13 +0200
committerMichal Krol <michal@ubuntu-vbox.(none)>2008-09-08 17:25:47 +0200
commit68e672a86468be3dfa5b09fa71152d7134d62fb3 (patch)
tree00c33ceb5c74e590d81d5500f6b4620a21c3da5d /src/gallium
parentb40732622fe670fbd13ad12b7c1848bd6c73eeb4 (diff)
softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded softpipe.
We want to make it env variable, or even better, autodetect as the feature makes softpipe run slower on a single CPU.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index e58f7c8b6f..2b9a2a8ee5 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -48,7 +48,7 @@
/* Number of threads working on individual quads.
* Setting to 1 disables this feature.
*/
-#define SP_NUM_QUAD_THREADS 2
+#define SP_NUM_QUAD_THREADS 1
struct softpipe_winsys;
struct softpipe_vbuf_render;