layers: Don't make a mess of partial pipeline creation failure
authorChris Forbes <chrisforbes@google.com>
Wed, 30 Nov 2016 01:41:35 +0000 (14:41 +1300)
committerChris Forbes <chrisforbes@google.com>
Thu, 1 Dec 2016 18:48:08 +0000 (07:48 +1300)
commit61943a7503bc8594338f3364ef42f1d863486c04
tree20f5bc16ecb8221208b81a00ba42b4fd781d6f17
parent7a456d188475c23b566334be45dc0489b2789653
layers: Don't make a mess of partial pipeline creation failure

Previously we'd end up with a VK_NULL_HANDLE -> junk PIPELINE_STATE
mapping, which confuses other things.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp