nir: add some macros to deal with c++ implicit casting rules
With that it's easier now to just or nir_variable_mode
, but maybe there are other enums used like that in c++ code and we could make it work for those as well.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
With that it's easier now to just or nir_variable_mode
, but maybe there are other enums used like that in c++ code and we could make it work for those as well.