vk/meta: Fix usage flags for image-wrapped-buffers
authorChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 01:34:37 +0000 (18:34 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 04:22:18 +0000 (21:22 -0700)
commitcf603714cb0e2e5c5dfe7309b8938c910933aafa
tree04535177e9f4153aa3a9f7355851a78ae68ef825
parentd00718104f956783291fbfc28f9d0a2e9bee4003
vk/meta: Fix usage flags for image-wrapped-buffers

In make_image_for_buffer(), use VK_IMAGE_USAGE_SAMPLED_BIT when
transferring from the buffer and use VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
when transferring to the buffer.
src/vulkan/anv_meta.c