anv: Fix to set CDEF filter flag correctly.
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

This fixes to play av1_intel_broken2.ivf.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34866>
This commit is contained in:
Hyunjun Ko 2025-05-07 18:23:24 +09:00 committed by Marge Bot
parent 2e256a3cee
commit 7ddf51dc99

View file

@ -2100,7 +2100,7 @@ anv_av1_decode_video_tile(struct anv_cmd_buffer *cmd_buffer,
pic.AllowScreenContentToolsFlag = std_pic_info->flags.allow_screen_content_tools;
pic.ForceIntegerMVFlag = std_pic_info->flags.force_integer_mv;
pic.AllowWarpedMotionFlag = std_pic_info->flags.allow_warped_motion;
pic.UseCDEFFilterFlag = !frame_lossless && seq_hdr->flags.enable_cdef;
pic.UseCDEFFilterFlag = !frame_lossless && seq_hdr->flags.enable_cdef && !std_pic_info->flags.allow_intrabc;
pic.UseSuperResFlag = std_pic_info->flags.use_superres;
pic.FrameLevelLoopRestorationFilterEnable = frame_restoration_type[0] || frame_restoration_type[1] || frame_restoration_type[2];
pic.FrameType = std_pic_info->frame_type;