aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-07-24 11:40:05 +0200
committerLynne <dev@lynne.ee>2024-08-11 05:13:12 +0200
commitc19af16f8db4eac1d603d0b8e439c03946a262b7 (patch)
treea0e27f0df33519ef4d271a27ae13763f2d0db0eb
parent2f7dfb0d157b680bca68bc9e57f7c3529fbfc0fe (diff)
downloadffmpeg-c19af16f8db4eac1d603d0b8e439c03946a262b7.tar.gz
hwcontext_vulkan: enable storageBuffer16BitAccess if available
-rw-r--r--libavutil/hwcontext_vulkan.c2
1 files changed, 2 insertions, 0 deletions
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;