layers: Only save p-devices if call was successful
authorTony Barbour <tony@LunarG.com>
Tue, 13 Sep 2016 17:45:37 +0000 (11:45 -0600)
committerTony Barbour <tony@LunarG.com>
Wed, 14 Sep 2016 15:19:57 +0000 (09:19 -0600)
commit5f270eedee8426a5b556a8a9432dd836d83f7b51
tree3c6e69c55507e885b5b32855cd2b3d9e133e1e1a
parentdc356d615303946f3bf2fda73e206a1b31e1f2f8
layers: Only save p-devices if call was successful

Change-Id: Ife211b1b2dc97c5bab0d6e7b177ead6b1a6105d3
layers/core_validation.cpp