layers: Use accessible id set when determining shader's descriptor use
authorChris Forbes <chrisforbes@google.com>
Mon, 1 Feb 2016 05:42:42 +0000 (18:42 +1300)
committerTobin Ehlis <tobine@google.com>
Fri, 12 Feb 2016 14:46:23 +0000 (07:46 -0700)
commitf52a0cc14085f60494c91f45470688c507b0198a
tree3d55d810d3fc143d4bee10333cc8815713a126f0
parent7d92cfe6228716373f2b8d59905c41e2761838a0
layers: Use accessible id set when determining shader's descriptor use

- Eliminates bogus false conflicts between resources in a module, where the resources share a descriptor slot but
  no entrypoint refers to both.
- Eliminates false positives from shader vs descriptor set layout validation, where we would previously be upset
  about the layout not including a descriptor which was declared in the module but not used by the entrypoint.

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