mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
radv/video: fix physical device format property count.
This was returning bad values Fixes:db62c38091("radv: add vcn h265 decode.") Reviewed-by: Lynne <dev@lynne.ee> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23227> (cherry picked from commitb9d208bd1f)
This commit is contained in:
parent
5fa1f9115d
commit
1fe7896f47
2 changed files with 2 additions and 2 deletions
|
|
@ -1624,7 +1624,7 @@
|
|||
"description": "radv/video: fix physical device format property count.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "db62c38091a3b244b1d720a6aa47bf1d1855db55"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ radv_GetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice physicalDevice,
|
|||
(VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR | VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR))
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
*pVideoFormatPropertyCount = 1;
|
||||
*pVideoFormatPropertyCount = 0;
|
||||
|
||||
bool need_10bit = false;
|
||||
const struct VkVideoProfileListInfoKHR *prof_list = (struct VkVideoProfileListInfoKHR *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue