SPIRV-Tools/source/val
Steven Perron 66d88508dd
Build struct order only for the section needed when unrolling. (#4830)
We currently build the structured order for all nodes reachable from the
loop header when unrolling a loop.  However, unrolling only needs the
nodes in the loop and possibly the merge node.

To avoid needless computation, I have implemented a search that will
stop at the merge node.

Fixes #4827
2022-06-29 09:53:26 -04:00
..
basic_block.cpp Fix reachability in the validator (#3541) 2020-07-15 21:27:03 -04:00
basic_block.h Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
construct.cpp Fix infinite loop in validation (#4523) 2021-09-13 13:19:04 -04:00
construct.h Allows breaks selection breaks to switches (#2605) 2019-05-21 22:49:37 -07:00
decoration.h spirv-val: Optimize struct field decoration lookup (#4809) 2022-06-02 11:32:38 -04:00
function.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
function.h Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
instruction.cpp Fix endianness of string literals (#4622) 2021-12-08 12:01:26 -05:00
instruction.h Fix endianness of string literals (#4622) 2021-12-08 12:01:26 -05:00
validate_adjacency.cpp spirv-opt: Switch from Vulkan.DebugInfo to Shader.DebugInfo (#4493) 2021-09-15 14:38:53 -04:00
validate_annotation.cpp spirv-val: Optimize struct field decoration lookup (#4809) 2022-06-02 11:32:38 -04:00
validate_arithmetics.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
validate_atomics.cpp spirv-val: Label and add test for PSB Aligned (#4756) 2022-03-23 11:08:21 -04:00
validate_barriers.cpp spirv-val: Add Vulkan Invocation Sematics check (#4182) 2021-03-16 10:53:37 -04:00
validate_bitwise.cpp spirv-val: Add Vulkan 32-bit bit op Base (#4758) 2022-03-23 13:55:42 -04:00
validate_builtins.cpp Add SPV_KHR_fragment_shader_barycentric support (#4805) 2022-05-25 09:20:39 -04:00
validate_capability.cpp Remove WebGPU support (#4108) 2021-01-14 16:45:18 -05:00
validate_cfg.cpp Build struct order only for the section needed when unrolling. (#4830) 2022-06-29 09:53:26 -04:00
validate_composites.cpp Remove WebGPU support (#4108) 2021-01-14 16:45:18 -05:00
validate_constants.cpp Validate physical storage buffer restrictions (#2930) 2019-10-02 21:12:57 -04:00
validate_conversion.cpp spirv-val: Add Vulkan PSB64 convert VUID (#4122) 2021-02-01 10:39:44 -05:00
validate_debug.cpp Permit the debug instructions in WebGPU SPIR-V (#3063) 2019-11-26 14:04:57 -05:00
validate_decorations.cpp Fail validation when RelaxedPrecision is applied to a type. (#4823) 2022-06-21 19:59:01 +00:00
validate_derivatives.cpp Do not assume there are execution modes (#4555) 2021-09-30 19:20:28 -04:00
validate_execution_limitations.cpp Add validation for SPV_EXT_fragment_shader_interlock (#2650) 2019-06-03 10:55:07 -04:00
validate_extensions.cpp spirv-val: Validate DebugTypeMatrix (#4732) 2022-03-04 08:54:05 -05:00
validate_function.cpp spirv-val: Clean up VariablePointers logic (#4755) 2022-03-24 12:02:29 -04:00
validate_id.cpp Allow forward pointer to be used in types generally (#4044) 2020-12-08 08:46:47 -05:00
validate_image.cpp spirv-val: Add more Vulkan VUID labels (#4764) 2022-03-25 09:29:19 -04:00
validate_instruction.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
validate_interfaces.cpp spirv-val: Add PerVertexKHR (#4807) 2022-05-26 13:11:05 -04:00
validate_layout.cpp Handle NonSemantic.Shader Debug[No]Line (#4530) 2021-09-24 10:56:08 -04:00
validate_literals.cpp Update diag() calls in validate_literals. (#1771) 2018-08-01 12:41:46 -04:00
validate_logicals.cpp spirv-val: Clean up VariablePointers logic (#4755) 2022-03-24 12:02:29 -04:00
validate_memory_semantics.cpp spirv-val: Add Vulkan Invocation Sematics check (#4182) 2021-03-16 10:53:37 -04:00
validate_memory_semantics.h spirv-val: Add Vulkan Invocation Sematics check (#4182) 2021-03-16 10:53:37 -04:00
validate_memory.cpp spirv-val: Label 06807 and 06808 VUID (#4817) 2022-06-15 11:25:16 -04:00
validate_misc.cpp Support SPV_KHR_linkonce_odr, SPV_KHR_expect_assume (#4161) 2021-03-16 09:51:59 -04:00
validate_mode_setting.cpp spirv-val: Add support for SPV_AMD_shader_early_and_late_fragment_tests (#4812) 2022-06-08 08:36:32 -04:00
validate_non_uniform.cpp Add support for SPV_KHR_subgroup_rotate (#4786) 2022-05-05 08:58:05 -04:00
validate_primitives.cpp Refactor where opcodes are validated 2018-08-07 10:29:30 -04:00
validate_scopes.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
validate_scopes.h Re-enable OpReadClockKHR validation (#3013) 2019-11-07 09:51:38 -05:00
validate_small_type_uses.cpp Extra small storage validation (#2732) 2019-07-11 13:05:14 -04:00
validate_type.cpp spirv-val: Label Vulkan RuntimeArray VUID (#4749) 2022-03-10 13:05:26 -05:00
validate.cpp Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
validate.h Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
validation_state.cpp spirv-val: Label 06807 and 06808 VUID (#4817) 2022-06-15 11:25:16 -04:00
validation_state.h spirv-val: Optimize struct field decoration lookup (#4809) 2022-06-02 11:32:38 -04:00