Advertisement
Guest User

Untitled

a guest
Jul 15th, 2015
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (declare (temporary ) vec4 conditional_tmp)
  2. (if (expression bool >= (var_ref index) (constant int (16)) ) (
  3. (declare (temporary ) vec4 dereference_array_value)
  4. (declare (temporary ) int dereference_array_index)
  5. (assign (x) (var_ref dereference_array_index) (expression int + (var_ref index) (constant int (-16)) ) )
  6. (if (expression bool < (var_ref dereference_array_index) (constant int (7)) ) (
  7. (if (expression bool < (var_ref dereference_array_index) (constant int (3)) ) (
  8. (assign (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (0)) ) )
  9. (declare (temporary ) bvec2 dereference_condition)
  10. (assign (xy) (var_ref dereference_condition) (expression bvec2 == (swiz xx (var_ref dereference_array_index) )(constant ivec2 (1 2)) ) )
  11. (assign (swiz x (var_ref dereference_condition) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (1)) ) )
  12. (assign (swiz y (var_ref dereference_condition) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (2)) ) )
  13. )
  14. (
  15. (assign (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (3)) ) )
  16. (declare (temporary ) bvec3 dereference_condition@2)
  17. (assign (xyz) (var_ref dereference_condition@2) (expression bvec3 == (swiz xxx (var_ref dereference_array_index) )(constant ivec3 (4 5 6)) ) )
  18. (assign (swiz x (var_ref dereference_condition@2) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (4)) ) )
  19. (assign (swiz y (var_ref dereference_condition@2) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (5)) ) )
  20. (assign (swiz z (var_ref dereference_condition@2) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (6)) ) )
  21. ))
  22.  
  23. )
  24. (
  25. (if (expression bool < (var_ref dereference_array_index) (constant int (11)) ) (
  26. (assign (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (7)) ) )
  27. (declare (temporary ) bvec3 dereference_condition@3)
  28. (assign (xyz) (var_ref dereference_condition@3) (expression bvec3 == (swiz xxx (var_ref dereference_array_index) )(constant ivec3 (8 9 10)) ) )
  29. (assign (swiz x (var_ref dereference_condition@3) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (8)) ) )
  30. (assign (swiz y (var_ref dereference_condition@3) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (9)) ) )
  31. (assign (swiz z (var_ref dereference_condition@3) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (10)) ) )
  32. )
  33. (
  34. (assign (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (11)) ) )
  35. (declare (temporary ) bvec3 dereference_condition@4)
  36. (assign (xyz) (var_ref dereference_condition@4) (expression bvec3 == (swiz xxx (var_ref dereference_array_index) )(constant ivec3 (12 13 14)) ) )
  37. (assign (swiz x (var_ref dereference_condition@4) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (12)) ) )
  38. (assign (swiz y (var_ref dereference_condition@4) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (13)) ) )
  39. (assign (swiz z (var_ref dereference_condition@4) ) (xyzw) (var_ref dereference_array_value) (array_ref (array_ref (var_ref m2) (constant int (0)) ) (constant uint (14)) ) )
  40. ))
  41.  
  42. ))
  43.  
  44. (assign (xyzw) (var_ref conditional_tmp) (var_ref dereference_array_value) )
  45. )
Advertisement
RAW Paste Data Copied
Advertisement