aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-04-24 17:31:21 +0200
committerLynne <dev@lynne.ee>2023-05-29 00:41:55 +0200
commit9675e54b02acb7cdd6c3d655c9f09eba9f23ec6f (patch)
tree71c3b3c0572e06cc2ad8e73dedee36166679d0db
parentb41ea8c6c38951b421f5ee717d4b9e2284c2a264 (diff)
downloadffmpeg-9675e54b02acb7cdd6c3d655c9f09eba9f23ec6f.tar.gz
avutil/hwcontext_vulkan: add libplacebo required features
For compatibility with vf_libplacebo
-rw-r--r--libavutil/hwcontext_vulkan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 93b6c6de4b..44a07cb61b 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1264,6 +1264,7 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
p->device_features_1_2.timelineSemaphore = 1;
p->device_features_1_2.bufferDeviceAddress = dev_features_1_2.bufferDeviceAddress;
+ p->device_features_1_2.hostQueryReset = dev_features_1_2.hostQueryReset;
p->device_features_1_2.storagePushConstant8 = dev_features_1_2.storagePushConstant8;
p->device_features_1_2.shaderInt8 = dev_features_1_2.shaderInt8;
p->device_features_1_2.storageBuffer8BitAccess = dev_features_1_2.storageBuffer8BitAccess;
@@ -1274,6 +1275,8 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
p->device_features_1_2.vulkanMemoryModelDeviceScope = dev_features_1_2.vulkanMemoryModelDeviceScope;
p->device_features_1_2.hostQueryReset = dev_features_1_2.hostQueryReset;
+ p->device_features_1_3.dynamicRendering = dev_features_1_3.dynamicRendering;
+ p->device_features_1_3.maintenance4 = dev_features_1_3.maintenance4;
p->device_features_1_3.synchronization2 = dev_features_1_3.synchronization2;
p->device_features_1_3.computeFullSubgroups = dev_features_1_3.computeFullSubgroups;
p->device_features_1_3.shaderZeroInitializeWorkgroupMemory = dev_features_1_3.shaderZeroInitializeWorkgroupMemory;