diff options
author | Chris Spencer <spencercw@gmail.com> | 2023-08-20 19:35:44 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-08-20 22:47:09 +0200 |
commit | f0b1cab53816aa53b78e63d3c53d02aa2a081820 (patch) | |
tree | 9550c4a6a1d33f6987c48ae19bcc9d263e815f95 /libavcodec/tscc.c | |
parent | 8c789c5da3ce9dd721fb0ec14927c3809eca446d (diff) | |
download | ffmpeg-f0b1cab53816aa53b78e63d3c53d02aa2a081820.tar.gz |
hwcontext_vulkan: always use create_pnext in vulkan_pool_alloc
Currently, create_pnext is only used if an applicable external memory
extension is enabled. This will usually the case when used from the command
line, but may not be when the Vulkan context is created manually.
For images used in video decoding, create_pnext contains the video profile
list, which is mandatory.[1] This fixes a GPU crash when using RADV.
[1] https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageCreateInfo.html#VUID-VkImageCreateInfo-usage-04815
Signed-off-by: Chris Spencer <spencercw@gmail.com>
Diffstat (limited to 'libavcodec/tscc.c')
0 files changed, 0 insertions, 0 deletions