vk: Fix stride of stencil buffers
authorChad Versace <chad.versace@intel.com>
Fri, 28 Aug 2015 15:03:31 +0000 (08:03 -0700)
committerChad Versace <chad.versace@intel.com>
Fri, 28 Aug 2015 15:03:46 +0000 (08:03 -0700)
commit14e1d58fb79ccb5034587092eaa3678f2642edc5
tree6d2f034ac4b58eb1400518d086c1d9e56805d969
parent31af126229a4c2a5a532e43433c57fad263b03af
vk: Fix stride of stencil buffers

Stencil buffers have strange pitch. The PRM says:

  The pitch must be set to 2x the value computed based on width,
  as the stencil buffer is stored with two rows interleaved.
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c