layers: Refactor functions to bing image/buffer to cmd buffer
authorTobin Ehlis <tobine@google.com>
Wed, 17 Aug 2016 19:12:19 +0000 (13:12 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 24 Aug 2016 00:43:46 +0000 (18:43 -0600)
commitc3eda058338f7ba4e776ec74202b1c95ce6e6220
tree869fa52ccdf6657593c59a1c01ea93b7ca057d2c
parent56f8a8f9b7e8c01d76d73be117ebcb66035db6df
layers: Refactor functions to bing image/buffer to cmd buffer

The AddCommandBufferBinding[Image|Buffer]() functions both had an
unused parameter that was killed, and they both returned a bool
that was not needed so removed that too.
Also made layer_data* param const and put prototypes into
core_validation_types.h in prepration of using these functions
from the DescriptorSet class.
layers/core_validation.cpp
layers/core_validation_types.h