summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_meta.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_meta.c')
-rw-r--r--src/intel/vulkan/anv_meta.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_meta.c b/src/intel/vulkan/anv_meta.c
index 82944ea1a92..1ac0306e031 100644
--- a/src/intel/vulkan/anv_meta.c
+++ b/src/intel/vulkan/anv_meta.c
@@ -150,8 +150,14 @@ anv_device_init_meta(struct anv_device *device)
if (result != VK_SUCCESS)
goto fail_blit;
+ result = anv_device_init_meta_blit2d_state(device);
+ if (result != VK_SUCCESS)
+ goto fail_blit2d;
+
return VK_SUCCESS;
+fail_blit2d:
+ anv_device_finish_meta_blit_state(device);
fail_blit:
anv_device_finish_meta_resolve_state(device);
fail_resolve:
@@ -166,4 +172,5 @@ anv_device_finish_meta(struct anv_device *device)
anv_device_finish_meta_resolve_state(device);
anv_device_finish_meta_clear_state(device);
anv_device_finish_meta_blit_state(device);
+ anv_device_finish_meta_blit2d_state(device);
}