diff options
Diffstat (limited to 'src/intel/vulkan/anv_meta_copy.c')
-rw-r--r-- | src/intel/vulkan/anv_meta_copy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta_copy.c b/src/intel/vulkan/anv_meta_copy.c index c509c8fa1c0..ff560ce1e84 100644 --- a/src/intel/vulkan/anv_meta_copy.c +++ b/src/intel/vulkan/anv_meta_copy.c @@ -161,7 +161,8 @@ meta_copy_buffer_to_image(struct anv_cmd_buffer *cmd_buffer, &anv_image_get_surface_for_aspect_mask(image, aspect)->isl; struct anv_meta_blit2d_surf img_bsurf = blit_surf_for_image(image, img_isl_surf); - enum isl_format buf_format = anv_get_isl_format(image->vk_format, aspect, + enum isl_format buf_format = anv_get_isl_format(&cmd_buffer->device->info, + image->vk_format, aspect, VK_IMAGE_TILING_LINEAR); struct anv_meta_blit2d_surf buf_bsurf = { .bo = buffer->bo, |