vk/image: Factor view creation out into separate *_init functions
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 03:42:03 +0000 (20:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 May 2015 03:57:43 +0000 (20:57 -0700)
commit4668bbb16140816138366410ec28357ab5a43a39
tree9e3fb12319d83a6becfc3e3123698cc51b682490
parent7c9f20942770b562037804b07bfe596885f1f28a
vk/image: Factor view creation out into separate *_init functions

The *_init functions work basically the same as the Vulkan entrypoints
except that they act on an already-created view and take an optional
command buffer option.  If a command buffer is given, the surface state is
allocated out of the command buffer's state stream.
src/vulkan/image.c
src/vulkan/private.h