aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/vulkan.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index 8eab7a9a..c50aefb2 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -150,9 +150,10 @@ struct wlr_vk_render_format_setup {
VkPipeline tex_identity_pipe;
VkPipeline tex_srgb_pipe;
- VkPipeline tex_nv12_pipe;
VkPipeline quad_pipe;
VkPipeline output_pipe;
+
+ VkPipeline *tex_ycbcr_pipelines; // same length as wlr_vk_renderer.ycbcr_pipeline_layouts
};
// Renderer-internal represenation of an wlr_buffer imported for rendering.
@@ -207,7 +208,8 @@ struct wlr_vk_renderer {
VkShaderModule output_module;
struct wlr_vk_pipeline_layout default_pipeline_layout;
- struct wlr_vk_pipeline_layout nv12_pipeline_layout;
+ size_t ycbcr_pipeline_layouts_len;
+ struct wlr_vk_pipeline_layout *ycbcr_pipeline_layouts;
// for blend->output subpass
VkPipelineLayout output_pipe_layout;