From: Xiang, Haihao Date: Sun, 25 Mar 2007 13:40:58 +0000 (+0800) Subject: i965: The given urb layout(maximal size of urb entries and the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1ea7812b2b8869b60877995fdb957e9539309bd;p=mesa.git i965: The given urb layout(maximal size of urb entries and the values for nr of entries) should meet the requirement. --- diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c index 79ff2b2d4db..64f5904ac68 100644 --- a/src/mesa/drivers/dri/i965/brw_urb.c +++ b/src/mesa/drivers/dri/i965/brw_urb.c @@ -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.