1#!/bin/bash 2# 3# This file was generated by create_test_cases.py. 4# 5# Normally a conditional break at the end of a loop isn't 6# lowered, however if the conditional break gets placed inside 7# an if(execute_flag) because of earlier lowering of continues, 8# then the break needs to be lowered. 9../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 1, 1)' <<EOF 10((declare (in) float aa) (declare (in) float ab) (declare (in) float b) 11 (function main 12 (signature void (parameters) 13 ((loop () () () () 14 ((if (expression bool > (var_ref aa) (constant float (0.000000))) 15 ((if (expression bool > (var_ref ab) (constant float (0.000000))) 16 (continue) 17 ())) 18 ()) 19 (if (expression bool > (var_ref b) (constant float (0.000000))) (break) 20 ()))))))) 21EOF 22