vk/image: Abort on stencil image views

The code doesn't work. Not even close.

Replace the broken code with a FINISHME and abort.
This commit is contained in:
Chad Versace 2015-06-26 19:23:21 -07:00
parent 667529fbaa
commit 9c46ba9ca2

View file

@ -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: