aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clip_state.c
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2007-08-31 13:42:20 +0800
committerZou Nan hai <[email protected]>2007-08-31 13:42:20 +0800
commitb47c9f8c915ae4ca8c7fa5ee3b6b64f17c38b569 (patch)
treef6a281141e4e0841af8597b9f330c3bd6afd0fd3 /src/mesa/drivers/dri/i965/brw_clip_state.c
parent22bc3cdd49eb81d48ad4b8f06be0b9a9de624c91 (diff)
optimize 965 clip
1. increase clip thread number to 2 2. do cliptest for -rhw
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c
index 1e6d6fa1762..ae46d7a86e0 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_state.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_state.c
@@ -55,7 +55,7 @@ static void upload_clip_unit( struct brw_context *brw )
/* BRW_NEW_URB_FENCE */
clip.thread4.nr_urb_entries = brw->urb.nr_clip_entries;
clip.thread4.urb_entry_allocation_size = brw->urb.vsize - 1;
- clip.thread4.max_threads = 0; /* Hmm, maybe the max is 1 or 2 threads */
+ clip.thread4.max_threads = 1; /* 2 threads */
if (INTEL_DEBUG & DEBUG_STATS)
clip.thread4.stats_enable = 1;