vulkan: add vulkan compute source

Add a source that runs a compute shader and exports the GPU buffer
as a DmaBuf to the clients.
This commit is contained in:
Wim Taymans 2019-08-19 16:32:22 +02:00
parent edbd9eb077
commit 9799b0e679
12 changed files with 1759 additions and 0 deletions

View file

@ -0,0 +1,10 @@
spa_vulkan_sources = ['plugin.c',
'vulkan-compute-source.c',
'vulkan-utils.c']
spa_vulkan = shared_library('spa-vulkan',
spa_vulkan_sources,
include_directories : [spa_inc],
dependencies : [ vulkan_dep, mathlib ],
install : true,
install_dir : '@0@/spa/vulkan'.format(get_option('libdir')))