anv/video: fix a typo in Vulkan AV1 decoding.

Cc: mesa-stable
Fixes: e510efed05d("anv: support in-loop super resolution for AV1 decoding")
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/39471>
(cherry picked from commit 8004f46466)
This commit is contained in:
Hyunjun Ko 2026-01-29 04:59:09 +01:00 committed by Eric Engestrom
parent d3a67ee1d9
commit 162ef4da2c
2 changed files with 2 additions and 2 deletions

View file

@ -2044,7 +2044,7 @@
"description": "anv/video: fix a typo in Vulkan AV1 decoding.",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e510efed05d08d7c6c0010c0f80526f3ed8dcddb",
"notes": null

View file

@ -2673,7 +2673,7 @@ anv_av1_calculate_xstep_qn(struct anv_cmd_buffer *cmd_buffer,
}
int32_t mi_col_end = tile_col_end_sb >> mib_size_log2;
int32_t mi_col_end = tile_col_end_sb << mib_size_log2;
mi_col_end = MIN2(mi_col_end, mi_cols);
int32_t downscaled_x1 = mi_col_end << (av1_mi_size_log2 - ssx);