hwcontext_vulkan: enable storageBuffer16BitAccess if available

This commit is contained in:
Lynne 2024-07-24 11:40:05 +02:00
parent 2f7dfb0d15
commit c19af16f8d
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -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;