[FFmpeg-cvslog] hwcontext_vulkan: enable storageBuffer16BitAccess if available
Lynne
git at videolan.org
Sun Aug 11 06:21:07 EEST 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Jul 24 11:40:05 2024 +0200| [c19af16f8db4eac1d603d0b8e439c03946a262b7] | committer: Lynne
hwcontext_vulkan: enable storageBuffer16BitAccess if available
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c19af16f8db4eac1d603d0b8e439c03946a262b7
---
libavutil/hwcontext_vulkan.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index bd32ecef9c..3cc037d1f4 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1399,6 +1399,8 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
p->device_features_1_1.samplerYcbcrConversion = dev_features_1_1.samplerYcbcrConversion;
p->device_features_1_1.storagePushConstant16 = dev_features_1_1.storagePushConstant16;
+ p->device_features_1_1.storageBuffer16BitAccess = dev_features_1_1.storageBuffer16BitAccess;
+ p->device_features_1_1.uniformAndStorageBuffer16BitAccess = dev_features_1_1.uniformAndStorageBuffer16BitAccess;
p->device_features_1_2.timelineSemaphore = 1;
p->device_features_1_2.bufferDeviceAddress = dev_features_1_2.bufferDeviceAddress;
More information about the ffmpeg-cvslog
mailing list