vk/meta: Break setting up meta clear state into it's own functin
This commit is contained in:
+8
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user