layers: Fix problems with screenshot to get it working again
authorKarl Schultz <karl@lunarg.com>
Tue, 19 Jan 2016 16:56:56 +0000 (09:56 -0700)
committerKarl Schultz <karl@lunarg.com>
Tue, 19 Jan 2016 16:56:56 +0000 (09:56 -0700)
commit046d9fc0d45ad269886890e94b788eb17dc872a2
treee18eec6cab9af8692962b03641ad42317d90a782
parent559e897a7482bede2c65b7929aa83cb6b5e501e3
layers: Fix problems with screenshot to get it working again

- Set the layerCount member of VkImageSubresourceLayers
- Add image transition memory barriers (needed for some drivers)
- Add dispatch table to command buffer object created by this layer.
  This lets it get dispatched by a downstream layer, if present.
layers/screenshot.cpp