Mesa (master): i965: Don't include SNB in has_negative_rhw_bug.

Eric Anholt anholt at kemper.freedesktop.org
Fri Feb 26 02:43:44 UTC 2010


Module: Mesa
Branch: master
Commit: 89cce536cbc55460bc534acc06ea9f4d9ae71016
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89cce536cbc55460bc534acc06ea9f4d9ae71016

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Feb 25 14:24:36 2010 -0800

i965: Don't include SNB in has_negative_rhw_bug.

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 3614149..a512896 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -170,7 +170,7 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
       brw->urb.size = 384;
       brw->vs_max_threads = 32;
       brw->wm_max_threads = 10 * 5;
-   } else {
+   } else if (intel->gen < 6) {
       brw->urb.size = 256;
       brw->vs_max_threads = 16;
       brw->wm_max_threads = 8 * 4;




More information about the mesa-commit mailing list