1#!/bin/bash 2# 3# This file was generated by create_test_cases.py. 4# 5# Test that returns are properly lowered when they occur in 6# both branches of an if-statement. 7../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF 8((declare (in) float a) 9 (function sub 10 (signature float (parameters) 11 ((if (expression bool > (var_ref a) (constant float (0.000000))) 12 ((return (constant float (1.000000)))) 13 ((return (constant float (2.000000))))))))) 14EOF 15