OSDN Git Service

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 79ff2b2..64f5904 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.