From: Maarten Lankhorst Date: Wed, 19 Jun 2013 11:08:51 +0000 (+0200) Subject: nvc0: kill assert in ppp code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1cccd6ca06580a735e861d668bea20ab7ef4b1f;p=mesa.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 35cea62d3dd..b5369124129 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];