SPIRV-Tools/test/val
Ehsan Nasiri 109ce225c9 Fixes bug #517.
entry_block_to_construct_ maps an entry block to its construct. The key
in this map (the entry block) is not unique, and therefore the entry for
the continue construct gets overwritten when the selection construct is
discovered.

Since a given block may be the entry block of different types of
constructs, the (basic_block, construct_type) pair should be able to
uniquely identify the construct.

Adds test:
- In this test, a basic block is the entry block of a continue construct
  as well as the entry block of a selection construct.
  It can be shown that this unit test would crash without the fix in this
  PR and passes with the fix in this PR.
2017-01-06 14:23:17 -05:00
..
CMakeLists.txt Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
val_capability_test.cpp Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
val_cfg_test.cpp Fixes bug #517. 2017-01-06 14:23:17 -05:00
val_data_test.cpp Adding validation code for OpTypeStruct. 2016-11-16 16:41:56 -05:00
val_fixtures.cpp Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
val_fixtures.h Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
val_id_test.cpp Adding validation code for PtrAccessChain. 2017-01-03 16:36:35 -05:00
val_layout_test.cpp Adding validation code for more data rules. 2016-11-15 13:38:39 -05:00
val_limits_test.cpp Validation code for control flow nesting depth. 2016-12-23 14:14:50 -05:00
val_ssa_test.cpp Adding validation code for more data rules. 2016-11-15 13:38:39 -05:00
val_state_test.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
val_storage_test.cpp Rename validation tests to comply with Google style guide. 2016-11-08 17:19:11 -08:00