From: Jason Ekstrand Date: Tue, 12 May 2015 20:03:50 +0000 (-0700) Subject: vk/meta: Break setting up meta clear state into it's own functin X-Git-Tag: upstream/17.1.0~11012^2~2118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7727720585b94be2257060264b7e4b68fdcdf834;p=platform%2Fupstream%2Fmesa.git vk/meta: Break setting up meta clear state into it's own functin --- diff --git a/src/vulkan/meta.c b/src/vulkan/meta.c index 48fe5d3..18e9280 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); +}