sync with tizen_2.2
[sdk/emulator/qemu.git] / gl / mesa / src / glsl / tests / lower_jumps / lower_returns_2.opt_test
1 #!/bin/bash
2 #
3 # This file was generated by create_test_cases.py.
4 #
5 # Test that lowering is not performed on a non-void return at
6 # the end of subroutine.
7 ../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 1, 0, 0, 0)' <<EOF
8 ((declare (out) float a)
9  (function sub
10   (signature float (parameters)
11    ((assign (x) (var_ref a) (constant float (1.000000)))
12     (return (constant float (1.000000)))))))
13 EOF