mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-15 10:50:05 +00:00
001e823b65
Adds a new transformation that can replace a constant with a uniform known to have the same value, and adds a fuzzer pass that (a) replaces a boolean with a comparison of literals (e.g. replacing "true" with "42 > 24"), and then (b) obfuscates the literals appearing in this comparison by replacing them with identically-valued uniforms, if available. The fuzzer_replayer test file has also been updated to allow initial facts to be provided, and to do error checking of the status results returned by the fuzzer and replayer components. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
fact_manager_test.cpp | ||
fuzz_test_util.cpp | ||
fuzz_test_util.h | ||
fuzzer_pass_add_useful_constructs_test.cpp | ||
fuzzer_replayer_test.cpp | ||
transformation_add_constant_boolean_test.cpp | ||
transformation_add_constant_scalar_test.cpp | ||
transformation_add_dead_break_test.cpp | ||
transformation_add_type_boolean_test.cpp | ||
transformation_add_type_float_test.cpp | ||
transformation_add_type_int_test.cpp | ||
transformation_add_type_pointer_test.cpp | ||
transformation_move_block_down_test.cpp | ||
transformation_replace_boolean_constant_with_constant_binary_test.cpp | ||
transformation_replace_constant_with_uniform_test.cpp | ||
transformation_split_block_test.cpp |