blob: e2d4ed1f343411ed489117d3974331dc2bc1025d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
#
# This file was generated by create_test_cases.py.
#
# If a loop contains an unconditional break at the bottom of
# it, it should not be lowered.
../../glsl_test optpass --quiet --input-ir 'do_lower_jumps(0, 0, 0, 0, 1)' <<EOF
((declare (out) float a)
(function main
(signature void (parameters)
((loop ((assign (x) (var_ref a) (constant float (1.000000))) break))))))
EOF
|