SPIRV-Tools/test/val
David Neto 8d65c89678 Instruction lookup succeeds if it's enabled by a capability
Also add a corresponding check for capabilities in the validator.

Update previously existing test cases where an instruction used to fail
assembling because of a version check, but now they succeed because the
instruction is also guarded by a capability.  Now it should assemble.
Add tests to ensure that capabilities are checked appropriately.

The explicitly reserved instructions OpImageSparseSampleProj*
now assemble, but they fail validation.

Fixes #1624
2018-06-20 10:44:03 -04:00
..
CMakeLists.txt Instruction lookup succeeds if it's enabled by a capability 2018-06-20 10:44:03 -04:00
val_adjacency_test.cpp Add adjacency validation pass 2018-02-01 14:10:55 -05:00
val_arithmetics_test.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
val_atomics_test.cpp Add Vulkan specific atomic result type restriction 2018-03-26 12:06:25 -04:00
val_barriers_test.cpp Fixes #1483. Validating Vulkan 1.1 barrier execution scopes 2018-04-17 10:26:38 -04:00
val_bitwise_test.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
val_builtins_test.cpp Validate static uses of interfaces 2018-06-13 10:56:14 -04:00
val_capability_test.cpp Instruction lookup succeeds if it's enabled by a capability 2018-06-20 10:44:03 -04:00
val_cfg_test.cpp [val] Add extra context to error messages. (#1600) 2018-06-19 16:02:44 -04:00
val_composites_test.cpp Fixes #1403. 2018-03-28 09:04:08 -04:00
val_conversion_test.cpp Re-enabled checks for UConvert 2018-04-06 10:51:57 -04:00
val_data_test.cpp Validate Ids before DataRules. (#1622) 2018-06-19 09:32:20 -04:00
val_decoration_test.cpp Reland "Disallow array-of-arrays with DescriptorSets when validating. (#1586)" 2018-06-19 15:14:17 -04:00
val_derivatives_test.cpp Validate static uses of interfaces 2018-06-13 10:56:14 -04:00
val_explicit_reserved_test.cpp Instruction lookup succeeds if it's enabled by a capability 2018-06-20 10:44:03 -04:00
val_ext_inst_test.cpp Validate static uses of interfaces 2018-06-13 10:56:14 -04:00
val_extensions_test.cpp More automatic extension support 2018-04-05 18:36:08 -04:00
val_fixtures.h Add Vulkan validation rules for BuiltIn variables 2018-03-23 14:02:42 -04:00
val_id_test.cpp [val] Output id names along with numbers in validate_id (#1601) 2018-06-06 22:08:27 -04:00
val_image_test.cpp Added Vulkan-specifc checks to image validation 2018-01-24 14:05:42 -08:00
val_interfaces_test.cpp Validate static uses of interfaces 2018-06-13 10:56:14 -04:00
val_layout_test.cpp [val] Add extra context to error messages. (#1600) 2018-06-19 16:02:44 -04:00
val_limits_test.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
val_literals_test.cpp validate & test of literal's upper bits 2017-12-19 13:19:56 -05:00
val_logicals_test.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
val_non_uniform_test.cpp Fixes #1480. Validate group non-uniform scopes. 2018-04-20 09:25:00 -04:00
val_primitives_test.cpp Make a string parameter const ref 2017-12-19 18:42:35 -05:00
val_ssa_test.cpp [val] Add extra context to error messages. (#1600) 2018-06-19 16:02:44 -04:00
val_state_test.cpp [val] Add extra context to error messages. (#1600) 2018-06-19 16:02:44 -04:00
val_storage_test.cpp Re-format source tree - NFC. 2017-11-27 14:31:49 -05:00
val_type_unique_test.cpp Allow duplicate pointer types 2018-05-31 09:14:38 -04:00
val_validation_state_test.cpp Add command line options struct for the validator 2017-02-28 12:00:06 -05:00
val_version_test.cpp Adding tests for OpenCL 1.2 and embedded profiles 2018-04-09 09:02:50 -04:00