3 Replies Latest reply on Nov 25, 2009 7:36 AM by gaurav.garg

    cast INT to UINT in Brook+


      Can I cast an int to a uint in Brook+?

      If not, how do I assign from an int to a uint? I want to do something like


      int4 indx = instance();

      uint y_indx = indx.y;

      uint x_indx = indx.x