mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Add a getter to the pipeline layout directly from the pipeline
This is a step towards allowing multiple pipeline layouts.
This commit is contained in:
parent
4c7a51f88a
commit
5ff6481310
@ -186,6 +186,14 @@ gsk_vulkan_pipeline_get_pipeline (GskVulkanPipeline *self)
|
||||
return priv->pipeline;
|
||||
}
|
||||
|
||||
VkPipelineLayout
|
||||
gsk_vulkan_pipeline_get_pipeline_layout (GskVulkanPipeline *self)
|
||||
{
|
||||
GskVulkanPipelinePrivate *priv = gsk_vulkan_pipeline_get_instance_private (self);
|
||||
|
||||
return priv->layout->pipeline_layout;
|
||||
}
|
||||
|
||||
/*** GskVulkanPipelineLayout ***/
|
||||
|
||||
GskVulkanPipelineLayout *
|
||||
|
@ -54,6 +54,7 @@ GskVulkanPipeline * gsk_vulkan_pipeline_new_full (GType
|
||||
VkBlendFactor dstBlendFactor);
|
||||
|
||||
VkPipeline gsk_vulkan_pipeline_get_pipeline (GskVulkanPipeline *self);
|
||||
VkPipelineLayout gsk_vulkan_pipeline_get_pipeline_layout (GskVulkanPipeline *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user