From: Maarten Lankhorst Date: Wed, 19 Jun 2013 11:08:51 +0000 (+0200) Subject: nvc0: kill assert in ppp code X-Git-Tag: mesa-9.2.1~726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F7052%2F1;p=platform%2Fupstream%2Fmesa.git nvc0: kill assert in ppp code It's no longer always true, and the video tilign aligment should ensure the alignment is handled correctly regardless. --- diff --git a/src/gallium/drivers/nvc0/nvc0_video_ppp.c b/src/gallium/drivers/nvc0/nvc0_video_ppp.c index 35cea62..b536912 100644 --- a/src/gallium/drivers/nvc0/nvc0_video_ppp.c +++ b/src/gallium/drivers/nvc0/nvc0_video_ppp.c @@ -62,8 +62,6 @@ nvc0_decoder_setup_ppp(struct nvc0_decoder *dec, struct nvc0_video_buffer *targe PUSH_DATA (push, in_addr + y2); // 70c PUSH_DATA (push, in_addr + cbcr); // 710 PUSH_DATA (push, in_addr + cbcr2); // 714 - assert(target->resources[0]->width0 >= 16 * dec_w); - assert(target->resources[0]->height0 >= dec->base.height/2); for (i = 0; i < 2; ++i) { struct nv50_miptree *mt = (struct nv50_miptree *)target->resources[i];