layers: Stop pretending phys devices have their own layer_data
authorChris Forbes <chrisforbes@google.com>
Mon, 3 Oct 2016 04:36:32 +0000 (17:36 +1300)
committerChris Forbes <chrisforbes@google.com>
Mon, 3 Oct 2016 19:37:27 +0000 (08:37 +1300)
commit3bb2c67470811e4eaf908b3eade82f73aa3f87bc
tree0e48a24342ccc65805157b4199d0dea514f026bd
parentb1f16c99e817d67a9f6c87d92e312478de4721d7
layers: Stop pretending phys devices have their own layer_data

They don't -- the dispatch key is the same as the instance.
EnumeratePhysicalDevices just made a mess if there were multiple
physical devices in the system.

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