radv/video: Fix AV1 quantization map maxQIndexDelta value

Fixes: ae6ea69c85 ("radv: Implement VK_KHR_video_encode_quantization_map")
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
(cherry picked from commit 2b2914d81f)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
David Rosca 2025-12-01 15:30:44 +01:00 committed by Dylan Baker
parent 1ee375555c
commit c24290a929
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@
"description": "radv/video: Fix AV1 quantization map maxQIndexDelta value",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "ae6ea69c851546258dd4fe7062104ad23da75da8",
"notes": null

View file

@ -1149,7 +1149,7 @@ radv_GetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice physicalDevice, cons
if (qp_map_caps) {
qp_map_caps->minQIndexDelta = -255;
qp_map_caps->minQIndexDelta = 255;
qp_map_caps->maxQIndexDelta = 255;
}
break;
}