Mesa (master): i965: Fix flipped GT1 vs GT2 URB VS entry count limits.

Eric Anholt anholt at kemper.freedesktop.org
Tue Jun 7 07:12:36 UTC 2011


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

Author: Eric Anholt <eric at anholt.net>
Date:   Sun Jun  5 23:20:57 2011 -0700

i965: Fix flipped GT1 vs GT2 URB VS entry count limits.

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 0256ab9..d6a99ab 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -203,12 +203,12 @@ GLboolean brwCreateContext( int api,
 	 brw->wm_max_threads = 40;
 	 brw->vs_max_threads = 60;
 	 brw->urb.size = 64;            /* volume 5c.5 section 5.1 */
-	 brw->urb.max_vs_entries = 128; /* volume 2a (see 3DSTATE_URB) */
+	 brw->urb.max_vs_entries = 256; /* volume 2a (see 3DSTATE_URB) */
       } else {
 	 brw->wm_max_threads = 40;
 	 brw->vs_max_threads = 24;
 	 brw->urb.size = 32;            /* volume 5c.5 section 5.1 */
-	 brw->urb.max_vs_entries = 256; /* volume 2a (see 3DSTATE_URB) */
+	 brw->urb.max_vs_entries = 128; /* volume 2a (see 3DSTATE_URB) */
       }
    } else if (intel->gen == 5) {
       brw->urb.size = 1024;




More information about the mesa-commit mailing list