vk/image: Don't double-allocate stencil buffers
authorChad Versace <chad.versace@intel.com>
Tue, 9 Jun 2015 22:01:18 +0000 (15:01 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 9 Jun 2015 23:39:28 +0000 (16:39 -0700)
commite17ed04b03e109acabe209a85c04031dbf40ad51
treee644ad99b5c7ab78cc17d830d138674c7892c7cb
parent1ee2d1c3fc3a5d567847d0ffdc1d5f888df7859e
vk/image: Don't double-allocate stencil buffers

If the main surface has format S8_UINT, then don't allocate the
auxiliary stencil surface.
src/vulkan/image.c