drstrip

cast INT to UINT in Brook+

Discussion created by drstrip on Nov 24, 2009
Latest reply on Nov 25, 2009 by gaurav.garg

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

Outcomes