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)
commit1e230b47b250d0d5a73465e29759d25bd7f2bf21
tree784b0d86acc541bd3f9868beb992b82c34eee25f
parenta5ac5539c9d119a73f755d7246044d91f9d340eb
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