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)
commit3acb3c94a8a004d71302c35d1de5b1261a6b444a
tree931cbacb50752e62d49d1e6003adf2b77b57a1da
parenta59d2bd0597d8baba2b4e3b6b8f90dd9772415ba
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