SPIRV-Tools/test/val
alan-baker a832c13331
Fix switch case construct validation (#5852)
* Fix switch case construct validation

Fixes https://crbug.com/tint/372311599

* Stop using block depth in switch validation and instead use the more
  robust structured exit logic from the switch construct
  * This is valid because the function has already handled the
    additional valid cases for case constructs

* formatting
2024-10-16 11:09:21 -04:00
..
CMakeLists.txt Validator: Support SPV_NV_raw_access_chains (#5568) 2024-04-10 10:40:10 -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 spirv-val: Consistently quote ids in messages (#4950) 2022-09-29 10:03:49 +02:00
val_annotation_test.cpp Allow ArrayStride on untyped pointers (#5746) 2024-07-24 13:36:11 -04:00
val_arithmetics_test.cpp Update SPIRV-Headers; test some coop matrix enums (#5361) 2023-08-04 14:50:54 -04:00
val_atomics_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_barriers_test.cpp spirv-val: Re-enable OpControlBarrier VU (#5527) 2024-01-17 11:18:23 -05:00
val_bitwise_test.cpp Validate operand type before operating on it (#5092) 2023-01-31 15:40:22 -05:00
val_builtins_test.cpp spirv-val: Add Mesh Primitive Built-In validaiton (#5529) 2024-02-01 14:20:42 -05:00
val_capability_test.cpp spirv-val: Label and add test for PSB Aligned (#4756) 2022-03-23 11:08:21 -04:00
val_cfg_test.cpp Fix switch case construct validation (#5852) 2024-10-16 11:09:21 -04:00
val_code_generator.cpp Remove WebGPU support (#4108) 2021-01-14 16:45:18 -05:00
val_code_generator.h Remove WebGPU support (#4108) 2021-01-14 16:45:18 -05:00
val_composites_test.cpp SPV_KHR_cooperative_matrix (#5286) 2023-06-22 18:33:36 -04:00
val_constants_test.cpp Fix vector OpConstantComposite type validation (#5191) 2023-04-13 12:50:16 -04:00
val_conversion_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_data_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_decoration_test.cpp Allow more levels of arrays with component decoration (#5820) 2024-09-24 11:14:28 -04:00
val_derivatives_test.cpp Add support for SPV_KHR_compute_shader_derivative (#5817) 2024-09-25 09:59:33 -04:00
val_entry_point_test.cpp spirv-val: Test file suffix consistency (#4925) 2022-09-16 14:05:07 -04:00
val_explicit_reserved_test.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
val_ext_inst_debug_test.cpp spirv-val: Loosen restriction on base type of DebugTypePointer and DebugTypeQualifier (#5479) 2023-11-17 10:22:46 -05:00
val_ext_inst_test.cpp Allow fmt arg to printf to be an array of i8 in non-constant space (#5677) 2024-07-16 09:20:04 -04:00
val_extension_spv_khr_bit_instructions_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_extension_spv_khr_expect_assume_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_extension_spv_khr_integer_dot_product_test.cpp Fix vector OpConstantComposite type validation (#5191) 2023-04-13 12:50:16 -04:00
val_extension_spv_khr_linkonce_odr_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_extension_spv_khr_subgroup_rotate_test.cpp spirv-val: Test file suffix consistency (#4925) 2022-09-16 14:05:07 -04:00
val_extension_spv_khr_subgroup_uniform_control_flow_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_extension_spv_khr_subgroup_uniform_control_flow.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_extension_spv_khr_terminate_invocation_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_extension_spv_nv_raw_access_chains.cpp Validator: Support SPV_NV_raw_access_chains (#5568) 2024-04-10 10:40:10 -04:00
val_extensions_test.cpp Add KHR suffix to OpExtInstWithForwardRef opcode. (#5704) 2024-06-06 03:17:51 -07:00
val_fixtures.h Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_function_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_id_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_image_test.cpp Fix result type check in ValidateImageTexelPointer (#5848) 2024-10-10 14:10:07 -04:00
val_interfaces_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_layout_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_limits_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_literals_test.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
val_logicals_test.cpp Implement SPV_NV_bindless_texture related changes (#4847) 2022-07-19 14:41:19 -04:00
val_memory_test.cpp spirv-val: Disallow stores according to VUID 06924 (#5368) 2024-09-23 08:34:30 -04:00
val_mesh_shading_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_misc_test.cpp Fix SPRIV -> SPIRV typos (#5735) 2024-07-15 20:10:06 -04:00
val_modes_test.cpp Validate duplicate decorations and execution modes (#5641) 2024-04-12 08:51:41 -04:00
val_non_semantic_test.cpp spirv-val: Consistently quote ids in messages (#4950) 2022-09-29 10:03:49 +02:00
val_non_uniform_test.cpp SPV_KHR_quad_control (#5547) 2024-01-26 15:49:56 -05:00
val_opencl_test.cpp validation: validate return type of OpImageRead (#4072) 2020-12-15 12:00:59 -05:00
val_primitives_test.cpp Update some language usage. (#3611) 2020-07-29 13:50:58 -04:00
val_ray_query_test.cpp spirv-val: Consistently quote ids in messages (#4950) 2022-09-29 10:03:49 +02:00
val_ray_tracing_reorder_test.cpp Add validation support for SPV_NV_shader_invocation_reorder. (#4979) 2022-11-24 09:50:45 -05:00
val_ray_tracing_test.cpp spirv-val: Multiple interface var with same SC (#5528) 2024-02-13 15:55:43 -05:00
val_small_type_uses_test.cpp Extra small storage validation (#2732) 2019-07-11 13:05:14 -04:00
val_ssa_test.cpp spirv-val: Consistently quote ids in messages (#4950) 2022-09-29 10:03:49 +02:00
val_state_test.cpp spirv-val: Remove unused includes and code (#5176) 2023-03-28 14:18:19 -04:00
val_storage_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_type_unique_test.cpp Support SPV_KHR_untyped_pointers (#5736) 2024-07-17 14:51:37 -04:00
val_validation_state_test.cpp Switch SPIRV-Tools to use spirv.hpp11 internally (#4981) 2022-11-04 17:27:10 -04:00
val_version_test.cpp Vulkan 1.3 (#4686) 2022-01-25 10:36:08 -05:00