summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-09-14 15:16:57 -0700
committerChad Versace <[email protected]>2015-09-14 15:16:57 -0700
commit85520aa0703126438b48e5ef42f8cded6cb4ab8b (patch)
treeda1c3a4a77d900774a61d05e0c0433c96e1b70b1
parent622a317e4c6163190508fecec82111520a84015e (diff)
vk/image: Remove stale FINISHME for non-2D image views
gen8_image_view_init() now supports 1D, 2D, and 3D image views.
-rw-r--r--src/vulkan/gen8_state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vulkan/gen8_state.c b/src/vulkan/gen8_state.c
index 4c9161c0c9c..5646637e4a0 100644
--- a/src/vulkan/gen8_state.c
+++ b/src/vulkan/gen8_state.c
@@ -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;