From 9c46ba9ca20c4d6ce0dd969f7a09b74d276f6149 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 26 Jun 2015 19:23:21 -0700 Subject: [PATCH] vk/image: Abort on stencil image views The code doesn't work. Not even close. Replace the broken code with a FINISHME and abort. --- src/vulkan/image.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/vulkan/image.c b/src/vulkan/image.c index a2f76ef27d6..dc05b694c8a 100644 --- a/src/vulkan/image.c +++ b/src/vulkan/image.c @@ -278,10 +278,8 @@ anv_image_view_init(struct anv_surface_view *view, view->bo = image->bo; switch (pCreateInfo->subresourceRange.aspect) { case VK_IMAGE_ASPECT_STENCIL: - /* FIXME: How is stencil texturing formed? */ - view->offset = image->offset + image->stencil_offset; - tile_mode = WMAJOR; - format = R8_UINT; + anv_finishme("stencil image views"); + abort(); break; case VK_IMAGE_ASPECT_DEPTH: case VK_IMAGE_ASPECT_COLOR: -- 2.30.2