layers: Add component awareness to SC interface matching
authorChris Forbes <chrisforbes@google.com>
Wed, 17 Feb 2016 01:44:52 +0000 (14:44 +1300)
committerTobin Ehlis <tobine@google.com>
Thu, 25 Feb 2016 16:26:15 +0000 (09:26 -0700)
commit26ed9391ad9475a401a7958388777cbfbe03806e
treeea46fb14813cb9d7839a47680345737272b93744
parent94663121070530eb516afdac083a689e297b1925
layers: Add component awareness to SC interface matching

- Adds more tests for mismatch by component and by location
- Removes dead handling of builtins (we only care about collecting builtin /decorations/ to aid in the interface block handling;
    we don't really care about producing the set of builtins used overall.)

Some SC error messages change slightly, as interstage locations now include the component index.

Fixes internal bug 26609754

V2: Remove dead code

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