vk/image: Remove stale FINISHME for non-2D image views
authorChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 22:16:57 +0000 (15:16 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 22:16:57 +0000 (15:16 -0700)
gen8_image_view_init() now supports 1D, 2D, and 3D image views.

src/vulkan/gen8_state.c

index 4c9161c0c9ca0736c2c85e8064cda8b2b2238e81..5646637e4a0beee023a2d3027c962ca7fad159e9 100644 (file)
@@ -161,9 +161,6 @@ gen8_image_view_init(struct anv_image_view *iview,
    const struct anv_image_view_info *view_type_info =
       anv_image_view_info_for_vk_image_view_type(pCreateInfo->viewType);
 
-   if (pCreateInfo->viewType != VK_IMAGE_VIEW_TYPE_2D)
-      anv_finishme("non-2D image views");
-
    view->bo = image->bo;
    view->offset = image->offset + surface->offset;
    view->format = format_info;