i965: The given urb layout(maximal size of urb entries and the
authorXiang, Haihao <haihao.xiang@intel.com>
Sun, 25 Mar 2007 13:40:58 +0000 (21:40 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Sun, 25 Mar 2007 13:40:58 +0000 (21:40 +0800)
values for nr of entries) should meet the requirement.

src/mesa/drivers/dri/i965/brw_urb.c

index 79ff2b2d4db50bd514944225ff30a4c288cdb39e..64f5904ac687cd157aa9f9d66c9d5bd8655f27a5 100644 (file)
@@ -131,7 +131,7 @@ static void recalculate_urb_fence( struct brw_context *brw )
 
         brw->urb.constrained = 1;
         
-        if (check_urb_layout(brw)) {
+        if (!check_urb_layout(brw)) {
            /* This is impossible, given the maximal sizes of urb
             * entries and the values for minimum nr of entries
             * provided above.