From: Chia-I Wu Date: Tue, 29 Jul 2014 02:21:42 +0000 (+0800) Subject: ilo: fix fb height of HiZ ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a53f941c73dd217ba4a9b57bfb2472488f0d6d2;p=mesa.git ilo: fix fb height of HiZ ops It was set to aligned width. It appears to be fine on GEN7+, but causes random hangs on GEN6. --- diff --git a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c index 3cb17e0f37a..f80dc5ddd2d 100644 --- a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c +++ b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c @@ -290,7 +290,7 @@ hiz_align_fb(struct ilo_blitter *blitter) if (blitter->fb.width % align_w || blitter->fb.height % align_h) { blitter->fb.width = align(blitter->fb.width, align_w); - blitter->fb.height = align(blitter->fb.width, align_h); + blitter->fb.height = align(blitter->fb.height, align_h); assert(!blitter->fb.dst.is_rt); zs_align_surface(blitter->ilo->dev, align_w, align_h,