Add adjacency validation pass
authorJeremy Hayes <jeremy@lunarg.com>
Thu, 25 Jan 2018 23:32:01 +0000 (16:32 -0700)
committerDavid Neto <dneto@google.com>
Thu, 1 Feb 2018 19:10:55 +0000 (14:10 -0500)
commitcd68f2b17642a76ed8f76b233ffce76f777be55a
tree05e5b74f5bb771cc485a7ac6b0459e43d06f6a99
parent905536c5195bf311a55b8e8d22757cdb31502660
Add adjacency validation pass

Validate OpPhi predecessors.
Validate OpLoopMerge successors.
Validate OpSelectionMerge successors.
Fix collateral damage to existing tests.
Remove ValidateIdWithMessage.OpSampledImageUsedInOpPhiBad.
Android.mk
source/CMakeLists.txt
source/validate.cpp
source/validate.h
source/validate_adjacency.cpp [new file with mode: 0644]
test/opt/cfg_cleanup_test.cpp
test/val/CMakeLists.txt
test/val/val_adjacency_test.cpp [new file with mode: 0644]
test/val/val_id_test.cpp