SPIRV-Tools/test/val
alan-baker 5a48c0da15 SPIRV-Tools support for SPIR-V 1.5 (#2865)
* Ensure same enum values have consistent extension lists

* val: fix checking of capabilities

The operand for an OpCapability should only be
checked for the extension or core version.
The InstructionPass registers a capability, and all its implied
sub-capabilities before actually checking the operand to an
OpCapability.

* Add basic support for SPIR-V 1.5

- Adds SPV_ENV_UNIVERSAL_1_5
- Command line tools default to spv1.5 environment
- SPIR-V 1.5 incorporates several extensions.  Now the disassembler
  prefers outputing the non-EXT or non-KHR names.  This requires
  updates to many tests, to make strings match again.
- Command line tests: Expect SPIR-V 1.5 by default

* Test validation of SPIR-V 1.5 incorporated extensions

Starting with 1.5, incorporated features no longer require
the associated OpExtension instruction.
2019-09-13 14:59:02 -04:00
..
CMakeLists.txt Extra small storage validation (#2732) 2019-07-11 13:05:14 -04:00
pch_test_val.cpp Enable precompiled headers for spirv-tools(-shared) and some unit tests (#2026) 2018-11-06 09:26:23 -05:00
pch_test_val.h Enable precompiled headers for spirv-tools(-shared) and some unit tests (#2026) 2018-11-06 09:26:23 -05:00
val_adjacency_test.cpp Assembler: Can't set an ID in instruction without result ID (#2852) 2019-09-11 13:15:25 -04:00
val_arithmetics_test.cpp Add validation for SPV_NV_cooperative_matrix (#2404) 2019-02-25 17:43:11 -05:00
val_atomics_test.cpp Assembler: Can't set an ID in instruction without result ID (#2852) 2019-09-11 13:15:25 -04:00
val_barriers_test.cpp Update OpMemoryBarriers rules for WebGPU (#2775) 2019-07-30 14:50:55 -04:00
val_bitwise_test.cpp Add validation for execution modes 2018-10-02 10:22:23 -04:00
val_builtins_test.cpp Add generic builtin validation of target (#2843) 2019-09-09 14:53:30 -04:00
val_capability_test.cpp SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
val_cfg_test.cpp Fix block depth rule priority (#2755) 2019-07-23 13:57:44 -04:00
val_code_generator.cpp Allow arrays of out per-primitive builtins for mesh shaders (#2617) 2019-05-23 15:08:59 -04:00
val_code_generator.h Move CodeGenerator to be accessible by other validation tests (#2343) 2019-01-29 10:27:11 -05:00
val_composites_test.cpp Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-08 14:10:13 -04:00
val_constants_test.cpp Fix validation of constant matrices (#2794) 2019-08-14 11:26:41 -04:00
val_conversion_test.cpp Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-08 14:10:13 -04:00
val_data_test.cpp Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-08 14:10:13 -04:00
val_decoration_test.cpp SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
val_derivatives_test.cpp Allow LOD ops in compute shaders with derivative group execution modes (#2752) 2019-07-22 08:37:44 -04:00
val_explicit_reserved_test.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
val_ext_inst_test.cpp Update remquo validation to match the OpenCL Extended Instruction Set Specification (#2791) 2019-08-15 09:38:37 -04:00
val_extensions_test.cpp Support SPIR-V 1.4 (#2550) 2019-05-07 12:27:18 -04:00
val_fixtures.h spvtest::Validate::CompileFailure: Don't leak the diagnostic (#2564) 2019-05-07 22:01:06 -04:00
val_function_test.cpp Make pointers to isomorphic type interchangeable with option. (#2570) 2019-05-13 13:48:17 -04:00
val_id_test.cpp Assembler: Can't set an ID in instruction without result ID (#2852) 2019-09-11 13:15:25 -04:00
val_image_test.cpp Assembler: Can't set an ID in instruction without result ID (#2852) 2019-09-11 13:15:25 -04:00
val_interfaces_test.cpp Update priv-to-local for SPIR-V 1.4 (#2567) 2019-05-08 12:38:49 -04:00
val_layout_test.cpp Remove use of deprecated googletest macro (#2286) 2019-01-29 18:56:52 -05:00
val_limits_test.cpp Assembler: Can't set an ID in instruction without result ID (#2852) 2019-09-11 13:15:25 -04:00
val_literals_test.cpp Validate sign of int types. (#2549) 2019-05-06 13:05:31 -04:00
val_logicals_test.cpp Support SPIR-V 1.4 (#2550) 2019-05-07 12:27:18 -04:00
val_memory_test.cpp SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
val_misc_test.cpp Extra small storage validation (#2732) 2019-07-11 13:05:14 -04:00
val_modes_test.cpp Add validation for SPV_EXT_demote_to_helper_invocation (#2707) 2019-07-11 10:33:22 -04:00
val_non_uniform_test.cpp Remove use of deprecated googletest macro (#2286) 2019-01-29 18:56:52 -05:00
val_opencl_test.cpp Validate OpenCL rules for ImageRead and OpImageSampleExplicitLod (#2643) 2019-05-31 10:05:34 -04:00
val_primitives_test.cpp Add validation for execution modes 2018-10-02 10:22:23 -04:00
val_small_type_uses_test.cpp Extra small storage validation (#2732) 2019-07-11 13:05:14 -04:00
val_ssa_test.cpp Remove use of deprecated googletest macro (#2286) 2019-01-29 18:56:52 -05:00
val_state_test.cpp Change handling of unknown extentions in validtor. (#1951) 2018-10-03 15:59:40 -04:00
val_storage_test.cpp Make pointers to isomorphic type interchangeable with option. (#2570) 2019-05-13 13:48:17 -04:00
val_type_unique_test.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
val_validation_state_test.cpp Validate that OpUnreacahble is not statically reachable (#2473) 2019-03-29 10:49:37 -04:00
val_version_test.cpp Validate OpenCL memory and addressing model environment rules (#2589) 2019-05-17 08:25:20 -04:00
val_webgpu_test.cpp SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00