diff options
author | Xuelian Bai <xuelian.bai@samsung.com> | 2019-08-16 22:58:53 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2019-08-27 00:01:46 +0800 |
commit | eae18eca369151b84bf4e2bd2061869f09a88bb1 (patch) | |
tree | 378ee8fe7a9d7b5f54f73fd68824d4b11a1d5aed | |
parent | 0d0b3181ae4d3453139acf7c669cb944d53ee544 (diff) | |
download | mesa-eae18eca369151b84bf4e2bd2061869f09a88bb1.tar.gz mesa-eae18eca369151b84bf4e2bd2061869f09a88bb1.tar.bz2 mesa-eae18eca369151b84bf4e2bd2061869f09a88bb1.zip |
Fix yuv blit align issue.submit/tizen/20190829.234817accepted/tizen/unified/20190830.040819
Change-Id: I78de02c5e3fe51a4240bf567749e30ce7df81782
-rw-r--r-- | src/gallium/drivers/vc4/vc4_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_blit.c b/src/gallium/drivers/vc4/vc4_blit.c index d3cc5152a2d..308c241aba4 100644 --- a/src/gallium/drivers/vc4/vc4_blit.c +++ b/src/gallium/drivers/vc4/vc4_blit.c @@ -360,7 +360,7 @@ vc4_yuv_blit(struct pipe_context *pctx, const struct pipe_blit_info *info) util_blitter_unset_running_flag(vc4->blitter); return false; } - dst_surf->width /= 2; + dst_surf->width = align(dst_surf->width, 8)/2; if (dst->cpp == 1) dst_surf->height /= 2; |