vulkan: start of vulkan filters

This commit is contained in:
Wim Taymans 2022-05-30 10:34:50 +02:00
parent 8898a6a8f0
commit 332e8b7029
4 changed files with 780 additions and 0 deletions

View file

@ -26,6 +26,7 @@
#include <spa/support/plugin.h>
extern const struct spa_handle_factory spa_vulkan_compute_filter_factory;
extern const struct spa_handle_factory spa_vulkan_compute_source_factory;
SPA_EXPORT
@ -38,6 +39,9 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
case 0:
*factory = &spa_vulkan_compute_source_factory;
break;
case 1:
*factory = &spa_vulkan_compute_filter_factory;
break;
default:
return 0;
}