From: Chad Versace Date: Sat, 27 Jun 2015 02:23:21 +0000 (-0700) Subject: vk/image: Abort on stencil image views X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c46ba9ca20c4d6ce0dd969f7a09b74d276f6149;p=mesa.git vk/image: Abort on stencil image views The code doesn't work. Not even close. Replace the broken code with a FINISHME and abort. --- 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: