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)
commite6852f66a1f1eb57097dbf98b8218104849fda0f
tree47e8e0eaa4a9555f8a85db3a9ed9856ba55b19fe
parentba9be0cec36d930fc0d5a0cbfbc00b0df49b08e4
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