spirv_opt (tests/spirv_opt.c), spirv_opt_values (tests/spirv_opt_values.c) and spirv_opt_fold
(tests/spirv_opt_fold.c): each rule above on a module written word by word. spirv_opt_fold also makes 4000
modules at random (a fixed sequence) of values with a few unknown bits, runs each before and after the pass on
every value of those bits, and checks they store the same. 2000 modules of differences of terms at random run the
same way on values of x and y that take in the module's constants, their complements and negations, and numbers
at random. So do 2000 modules of tests against zero. And 3000 of values of few possible values, GLSL.std.450's
integer instructions among them.vulkan_headless, check_translation_dead_code and check_translation_values: the runtime's module is the
translator's with the passes run, and the device takes it.Made from docs/layers/gpu/spirv-opt.md at 69237645142c. GPL-3.0-or-later.