vk/meta: Partially fix vkCmdCopyBufferToImage for S8_UINT
authorChad Versace <chad.versace@intel.com>
Tue, 1 Sep 2015 00:44:08 +0000 (17:44 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 2 Sep 2015 18:08:36 +0000 (11:08 -0700)
commit28503191f11b689b8bcc04420713d28869268b1e
treedbd73deb253757b632786dab36546a915006f128
parentbe0a4da6a571dc82dd491005c2cb01d5a3b09061
vk/meta: Partially fix vkCmdCopyBufferToImage for S8_UINT

Create R8_UINT VkAttachmentView and VkImageView for the stencil data.

This fixes a crash, but the pixels in the destination image are still
incorrect. They are not properly tiled.

Fixes crashes in Crucible tests func.miptree.s8-uint.aspect-stencil.* as
of crucible-7471449. Test results improve 'lost' -> 'fail'.
src/vulkan/anv_meta.c