summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2013-06-19 13:08:51 +0200
committerMaarten Lankhorst <[email protected]>2013-06-19 13:08:51 +0200
commitf1cccd6ca06580a735e861d668bea20ab7ef4b1f (patch)
treef9245fb990204e1acbbe412acbea527aebe37adb /src/gallium
parentcf41fae96b3d796ce80b2d1ad76b5c84a0669314 (diff)
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.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_video_ppp.c2
1 files changed, 0 insertions, 2 deletions
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];