Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 1 | ((function lessThanEqual |
| 2 | (signature bvec2 |
| 3 | (parameters |
| 4 | (declare (in) vec2 arg0) |
| 5 | (declare (in) vec2 arg1)) |
| 6 | ((declare () bvec2 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 7 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 8 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 9 | (return (var_ref temp)))) |
| 10 | |
| 11 | (signature bvec3 |
| 12 | (parameters |
| 13 | (declare (in) vec3 arg0) |
| 14 | (declare (in) vec3 arg1)) |
| 15 | ((declare () bvec3 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 16 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 17 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
| 18 | (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool <= (swiz z (var_ref arg0))(swiz z (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 19 | (return (var_ref temp)))) |
| 20 | |
| 21 | (signature bvec4 |
| 22 | (parameters |
| 23 | (declare (in) vec4 arg0) |
| 24 | (declare (in) vec4 arg1)) |
| 25 | ((declare () bvec4 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 26 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 27 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
| 28 | (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool <= (swiz z (var_ref arg0))(swiz z (var_ref arg1)))) |
| 29 | (assign (constant bool (1)) (swiz w (var_ref temp)) (expression bool <= (swiz w (var_ref arg0))(swiz w (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 30 | (return (var_ref temp)))) |
| 31 | |
| 32 | (signature bvec2 |
| 33 | (parameters |
| 34 | (declare (in) ivec2 arg0) |
| 35 | (declare (in) ivec2 arg1)) |
| 36 | ((declare () bvec2 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 37 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 38 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 39 | (return (var_ref temp)))) |
| 40 | |
| 41 | (signature bvec3 |
| 42 | (parameters |
| 43 | (declare (in) ivec3 arg0) |
| 44 | (declare (in) ivec3 arg1)) |
| 45 | ((declare () bvec3 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 46 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 47 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
| 48 | (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool <= (swiz z (var_ref arg0))(swiz z (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 49 | (return (var_ref temp)))) |
| 50 | |
| 51 | (signature bvec4 |
| 52 | (parameters |
| 53 | (declare (in) ivec4 arg0) |
| 54 | (declare (in) ivec4 arg1)) |
| 55 | ((declare () bvec4 temp) |
Kenneth Graunke | a40e68b | 2010-05-03 02:40:10 -0700 | [diff] [blame] | 56 | (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool <= (swiz x (var_ref arg0))(swiz x (var_ref arg1)))) |
| 57 | (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool <= (swiz y (var_ref arg0))(swiz y (var_ref arg1)))) |
| 58 | (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool <= (swiz z (var_ref arg0))(swiz z (var_ref arg1)))) |
| 59 | (assign (constant bool (1)) (swiz w (var_ref temp)) (expression bool <= (swiz w (var_ref arg0))(swiz w (var_ref arg1)))) |
Kenneth Graunke | e4afc64 | 2010-04-28 22:57:47 -0700 | [diff] [blame] | 60 | (return (var_ref temp)))) |
| 61 | )) |