vulkan: use images

The filter can now run shadertoy filters.
This commit is contained in:
Wim Taymans 2022-05-31 18:00:24 +02:00
parent 24fc972164
commit b02ebec954
5 changed files with 102 additions and 63 deletions

View file

@ -959,6 +959,7 @@ impl_init(const struct spa_handle_factory *factory,
this->state.log = this->log;
spa_vulkan_init_stream(&this->state, &this->state.streams[0],
SPA_DIRECTION_OUTPUT, NULL);
this->state.shaderName = "spa/plugins/vulkan/shaders/main.spv";
this->state.n_streams = 1;
return 0;