forked from AuroraMiddleware/gtk
gsk: Fix a prefix mishap
There shouldn't be any gst_ functions in here...
This commit is contained in:
parent
a7f077a3a9
commit
4a5ac93762
@ -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] = {
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user