Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

equal 1.6KB

12345678910111213141516171819202122232425262728293031
  1. ((function equal
  2. (signature bvec2
  3. (parameters
  4. (declare (in) uvec2 arg0)
  5. (declare (in) uvec2 arg1))
  6. ((declare () bvec2 temp)
  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))))
  9. (return (var_ref temp))))
  10. (signature bvec3
  11. (parameters
  12. (declare (in) uvec3 arg0)
  13. (declare (in) uvec3 arg1))
  14. ((declare () bvec3 temp)
  15. (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool == (swiz x (var_ref arg0))(swiz x (var_ref arg1))))
  16. (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool == (swiz y (var_ref arg0))(swiz y (var_ref arg1))))
  17. (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool == (swiz z (var_ref arg0))(swiz z (var_ref arg1))))
  18. (return (var_ref temp))))
  19. (signature bvec4
  20. (parameters
  21. (declare (in) uvec4 arg0)
  22. (declare (in) uvec4 arg1))
  23. ((declare () bvec4 temp)
  24. (assign (constant bool (1)) (swiz x (var_ref temp)) (expression bool == (swiz x (var_ref arg0))(swiz x (var_ref arg1))))
  25. (assign (constant bool (1)) (swiz y (var_ref temp)) (expression bool == (swiz y (var_ref arg0))(swiz y (var_ref arg1))))
  26. (assign (constant bool (1)) (swiz z (var_ref temp)) (expression bool == (swiz z (var_ref arg0))(swiz z (var_ref arg1))))
  27. (assign (constant bool (1)) (swiz w (var_ref temp)) (expression bool == (swiz w (var_ref arg0))(swiz w (var_ref arg1))))
  28. (return (var_ref temp))))
  29. ))