gsk: Fix a prefix mishap

There shouldn't be any gst_ functions in here...
This commit is contained in:
Matthias Clasen 2017-09-23 13:15:30 -04:00
parent a7f077a3a9
commit 4a5ac93762
3 changed files with 6 additions and 6 deletions

View File

@ -94,13 +94,13 @@ gsk_vulkan_push_constants_push (const GskVulkanPushConstants *self,
}
uint32_t
gst_vulkan_push_constants_get_range_count (void)
gsk_vulkan_push_constants_get_range_count (void)
{
return 1;
}
const VkPushConstantRange *
gst_vulkan_push_constants_get_ranges (void)
gsk_vulkan_push_constants_get_ranges (void)
{
static const VkPushConstantRange ranges[1] = {
{

View File

@ -16,8 +16,8 @@ struct _GskVulkanPushConstants
};
const VkPushConstantRange *
gst_vulkan_push_constants_get_ranges (void) G_GNUC_PURE;
uint32_t gst_vulkan_push_constants_get_range_count (void) G_GNUC_PURE;
gsk_vulkan_push_constants_get_ranges (void) G_GNUC_PURE;
uint32_t gsk_vulkan_push_constants_get_range_count (void) G_GNUC_PURE;
void gsk_vulkan_push_constants_init (GskVulkanPushConstants *constants,
const graphene_matrix_t *mvp,

View File

@ -210,8 +210,8 @@ gsk_vulkan_render_new (GskRenderer *renderer,
.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,
.setLayoutCount = i,
.pSetLayouts = layouts,
.pushConstantRangeCount = gst_vulkan_push_constants_get_range_count (),
.pPushConstantRanges = gst_vulkan_push_constants_get_ranges ()
.pushConstantRangeCount = gsk_vulkan_push_constants_get_range_count (),
.pPushConstantRanges = gsk_vulkan_push_constants_get_ranges ()
},
NULL,
&self->pipeline_layout[i]);