From 7727720585b94be2257060264b7e4b68fdcdf834 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 12 May 2015 13:03:50 -0700 Subject: [PATCH] vk/meta: Break setting up meta clear state into it's own functin --- src/vulkan/meta.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c index 48fe5d32db0..18e928053ff 100644 --- a/src/vulkan/meta.c +++ b/src/vulkan/meta.c @@ -31,8 +31,8 @@ #define GLSL(src) "#version 330\n" #src -void -anv_device_init_meta(struct anv_device *device) +static void +anv_device_init_meta_clear_state(struct anv_device *device) { VkPipelineIaStateCreateInfo ia_create_info = { .sType = VK_STRUCTURE_TYPE_PIPELINE_IA_STATE_CREATE_INFO, @@ -385,3 +385,9 @@ void VKAPI vkCmdResolveImage( const VkImageResolve* pRegions) { } + +void +anv_device_init_meta(struct anv_device *device) +{ + anv_device_init_meta_clear_state(device); +} -- 2.30.2