layers: Replace is_depth() in image layer with util function
authorTobin Ehlis <tobine@google.com>
Thu, 19 May 2016 16:10:09 +0000 (10:10 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 19 May 2016 19:09:50 +0000 (13:09 -0600)
commit3abddc22e46db5f09e6f4f90e1addb8e9d651765
treec5e7bc61b2d64b2a124c9d69bb26d1761794679f
parentf67c311f6232b1904f7ac9b6d289ab7563e902a7
layers: Replace is_depth() in image layer with util function

vk_layer_utils has function vk_format_is_depth_or_stencil() that is
exactly the same as local is_depth() function so kill local function
and use utility function.
layers/image.cpp