[FFmpeg-cvslog] vulkan: set VkDescriptorAddressInfoEXT.sType

Lynne git at videolan.org
Sun Jul 14 19:34:48 EEST 2024


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sun Jul 14 18:27:23 2024 +0200| [e11087b1629ed9df6c5810120b94597267684b17] | committer: Lynne

vulkan: set VkDescriptorAddressInfoEXT.sType

This was not done, resulting in validation issues, and potential
driver issues.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e11087b1629ed9df6c5810120b94597267684b17
---

 libavutil/vulkan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index e0208c5a7c..a9125ea6b9 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -1689,6 +1689,7 @@ int ff_vk_set_descriptor_buffer(FFVulkanContext *s, FFVulkanPipeline *pl,
         .type = desc_set->binding[bind].descriptorType,
     };
     VkDescriptorAddressInfoEXT desc_buf_info = {
+        .sType = VK_STRUCTURE_TYPE_DESCRIPTOR_ADDRESS_INFO_EXT,
         .address = addr,
         .range = len,
         .format = fmt,



More information about the ffmpeg-cvslog mailing list