radeonsi: Fix distortion for yuv422 format for GFX10.
For yuv422 format camera show blur output for GFX10. Signed-off-by: Ikshwaku Chauhan <ikshwaku.chauhan@amd.com> Reviewed-by: Marek Olšák marek.olsak@amd.com Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20610>
This commit is contained in:
committed by
Marge Bot
parent
5348704820
commit
fe3b467eb9
@@ -711,11 +711,6 @@ bool si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, u
|
||||
|
||||
dstx = util_format_get_nblocksx(src_format, dstx);
|
||||
|
||||
new_box = *src_box;
|
||||
new_box.x = util_format_get_nblocksx(src_format, src_box->x);
|
||||
new_box.width = util_format_get_nblocksx(src_format, src_box->width);
|
||||
src_box = &new_box;
|
||||
|
||||
src_format = dst_format = PIPE_FORMAT_R32_UINT;
|
||||
|
||||
/* Interpreting 422 subsampled format (16 bpp) as 32 bpp
|
||||
|
||||
Reference in New Issue
Block a user