1 #!/bin/bash 2 # 3 # This file was generated by create_test_cases.py. 4 # 5 # If a loop contains a conditional break at the bottom of it, 6 # it should not be lowered if it is in the then-clause. 7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 1)' <<EOF 8 ((declare (in) float b) (declare (out) float a) 9 (function main 10 (signature void (parameters) 11 ((loop () () () () 12 ((assign (x) (var_ref a) (constant float (1.000000))) 13 (if (expression bool > (var_ref b) (constant float (0.000000))) (break) 14 ()))))))) 15 EOF 16