layers:Clean up shared_ptr use
authorTobin Ehlis <tobine@google.com>
Thu, 7 Sep 2017 20:24:36 +0000 (14:24 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 7 Sep 2017 20:32:12 +0000 (14:32 -0600)
commitbbf52bb60f7f45e005d50d20668aee1e1e3b7805
tree4b96dcf5c1ed663670784ee34ad68f5ee438aa48
parent70c56005e0c7606831081cb28e776452cfe3920d
layers:Clean up shared_ptr use

Use make_shared to construct RENDER_PASS_STATE shared_ptr at
CreateRenderPass() time, return the shared_ptr by value from helper
function and accecpt rvalue ref in FRAMEBUFFER_STATE constructor.
layers/core_validation.cpp
layers/core_validation_types.h