layers: Pass whole layer_data down through more of SC
authorChris Forbes <chrisforbes@google.com>
Fri, 10 Mar 2017 03:45:14 +0000 (16:45 +1300)
committerMark Lobodzinski <mark@lunarg.com>
Fri, 17 Mar 2017 15:29:32 +0000 (09:29 -0600)
commitde5a0fc3fb501b783bd8299281ac699eabfb9931
tree75398e6fa5b5b26ff58ee86de3cdc630b05b90b2
parenta22dca7652b7a8c81a11dc2a3f859ca9b5b77924
layers: Pass whole layer_data down through more of SC

I know I'd done a bunch of work to reduce the dependency on layer_data
here before, but capability checking needs more broad access when
extensions gate capabilities. Adding yet another crazy parameter to the
intermediate functions just to avoid using layer_data here is silly.

Just plumb it all back through...

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