These will be needed by image_load_store
iview->format = anv_get_isl_format(pCreateInfo->format, iview->aspect_mask,
image->tiling);
+ iview->base_layer = range->baseArrayLayer;
+ iview->base_mip = range->baseMipLevel;
iview->extent = (VkExtent3D) {
.width = anv_minify(image->extent.width, range->baseMipLevel),
.height = anv_minify(image->extent.height, range->baseMipLevel),
VkImageAspectFlags aspect_mask;
VkFormat vk_format;
enum isl_format format;
+ uint32_t base_layer;
+ uint32_t base_mip;
VkExtent3D extent; /**< Extent of VkImageViewCreateInfo::baseMipLevel. */
/** RENDER_SURFACE_STATE when using image as a color render target. */