SPIRV-Tools/test/val
David Neto 305caff2eb
validation: tighter validation of multisampled images (#4059)
* validation: tighter validation of multisampled images

- if MS=1, then Sample image operand is required
- Sampling operations are not permitted when MS=1

Fixes #4057, #4058

* Fail early for multisampled image for sampling, dref, gather
2020-12-14 14:45:48 -05:00
..
CMakeLists.txt CMake: Add SPIRV_TOOLS_BUILD_STATIC flag (#3910) 2020-10-29 09:25:26 -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 Update some language usage. (#3611) 2020-07-29 13:50:58 -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 Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 10:31:05 -04:00
val_barriers_test.cpp Update MeshShadingNV dependencies (and land Ray tracing updates) (#4028) 2020-11-23 12:23:54 -05:00
val_bitwise_test.cpp Add validation for execution modes 2018-10-02 10:22:23 -04:00
val_builtins_test.cpp spirv-val: Add last TessLevelOuter and TessLevelInner VUID (#4055) 2020-12-08 14:38:55 -05:00
val_capability_test.cpp Update OpenCL capabilities validation (#3149) 2020-07-27 13:01:45 -04:00
val_cfg_test.cpp Reject SPIR-V that applies void to OpUndef, OpCopyObject, OpPhi (#4036) 2020-11-27 16:31:04 +00:00
val_code_generator.cpp Add validation support for the ray tracing built-in variables (#4041) 2020-12-01 11:42:37 -05: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 Reject SPIR-V that applies void to OpUndef, OpCopyObject, OpPhi (#4036) 2020-11-27 16:31:04 +00:00
val_constants_test.cpp Validate physical storage buffer restrictions (#2930) 2019-10-02 21:12:57 -04:00
val_conversion_test.cpp Relaxed bitcast with pointers (#2878) 2019-09-18 11:55:39 -04:00
val_data_test.cpp Allow forward pointer to be used in types generally (#4044) 2020-12-08 08:46:47 -05:00
val_decoration_test.cpp Validate location assignments (#3308) 2020-06-25 13:22:45 -04:00
val_derivatives_test.cpp Check that derivatives operate on 32-bit values (#2983) 2019-10-18 09:02:25 -04:00
val_entry_point.cpp Adding valilidation checks for OpEntryPoint duplicate names and execution mode (#2862) 2019-09-16 19:13:30 -04:00
val_explicit_reserved_test.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
val_ext_inst_test.cpp Allow DebugTypeTemplate for Type operand (#3702) 2020-08-16 23:42:59 -04:00
val_extension_spv_khr_terminate_invocation.cpp Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 11:45:02 -04:00
val_extensions_test.cpp Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 11:45:02 -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 Reject SPIR-V that applies void to OpUndef, OpCopyObject, OpPhi (#4036) 2020-11-27 16:31:04 +00:00
val_image_test.cpp validation: tighter validation of multisampled images (#4059) 2020-12-14 14:45:48 -05:00
val_interfaces_test.cpp Only validation locations for appropriate execution models (#3656) 2020-08-11 18:51:49 -04:00
val_layout_test.cpp Update val to handle reversed instruction sections. (#3887) 2020-10-08 13:10:12 -04: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 Update MeshShadingNV dependencies (and land Ray tracing updates) (#4028) 2020-11-23 12:23:54 -05:00
val_misc_test.cpp Reject SPIR-V that applies void to OpUndef, OpCopyObject, OpPhi (#4036) 2020-11-27 16:31:04 +00:00
val_modes_test.cpp Update access control lists. (#3433) 2020-06-15 13:20:40 -04:00
val_non_semantic_test.cpp Add support for SPV_KHR_non_semantic_info (#3110) 2019-12-18 18:10:29 -05: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 OpTypeImage Sampled values for environemnts (#4064) 2020-12-10 17:15:46 -05:00
val_primitives_test.cpp Update some language usage. (#3611) 2020-07-29 13:50:58 -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 validate_datarules.cpp (#2911) 2019-09-24 17:55:12 -04:00
val_state_test.cpp Update val to handle reversed instruction sections. (#3887) 2020-10-08 13:10:12 -04:00
val_storage_test.cpp Refactor the InstructionPass (#2924) 2019-09-27 00:06:36 -04:00
val_type_unique_test.cpp Remove validate_datarules.cpp (#2911) 2019-09-24 17:55:12 -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 Permit Simple and GLSL450 memory model in WEBGPU_0 (#3463) 2020-07-17 12:23:11 -04:00