ffmpeg | branch: master | Lynne <d...@lynne.ee> | Wed May 21 03:10:46 2025 
+0900| [842fa198e97937f546fd5001c8889aa15c9cfd34] | committer: Lynne

hwcontext_vulkan: fix build with old Vulkan header versions

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

 libavutil/hwcontext_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 4f205137eb..f3edf46b4c 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -207,7 +207,7 @@ static void device_features_init(AVHWDeviceContext *ctx, 
VulkanDeviceFeatures *f
     FF_VK_STRUCT_EXT(s, &feats->device, &feats->timeline_semaphore, 
FF_VK_EXT_PORTABILITY_SUBSET,
                      
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES);
     FF_VK_STRUCT_EXT(s, &feats->device, &feats->subgroup_rotate, 
FF_VK_EXT_SUBGROUP_ROTATE,
-                     
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES);
+                     
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR);
 
 #ifdef VK_KHR_shader_expect_assume
     FF_VK_STRUCT_EXT(s, &feats->device, &feats->expect_assume, 
FF_VK_EXT_EXPECT_ASSUME,

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to