summaryrefslogtreecommitdiff
path: root/src/glsl/tests/lower_jumps/lower_returns_sub_true.opt_test.expected
blob: 1a3eae5da7616fa8d36fceb81ec0df50e659faf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
((declare (in) float a) (declare (in) float b)
 (function sub
  (signature void (parameters)
   ((declare (temporary) bool execute_flag)
    (assign (x) (var_ref execute_flag) (constant bool (1)))
    (declare (temporary) bool return_flag)
    (assign (x) (var_ref return_flag) (constant bool (0)))
    (if (expression bool > (var_ref a) (constant float (0.0)))
     ((if (expression bool > (var_ref b) (constant float (0.0)))
       ((assign (x) (var_ref return_flag) (constant bool (1)))
        (assign (x) (var_ref execute_flag) (constant bool (0))))
       ()))
     ())))))