diff options
-rw-r--r-- | src/vulkan/anv_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index dfacced92ef..0a412a3f8c6 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -139,6 +139,8 @@ make_surface(const struct anv_device *dev, unreachable("invalid image type"); } + image->extent = extent; + ok = isl_surf_init(&dev->isl_dev, &anv_surf->isl, .dim = vk_to_isl_surf_dim[vk_info->imageType], .format = anv_get_isl_format(vk_info->format, aspect, |