Adjacent to #605, I'm wondering whether it'd be acceptable to use adt_const_params for intrinsics like atomics.
Then this signature:
fnatomic_i_increment<I:Integer,constSCOPE:u32,constSEMANTICS:u32>(ptr:&mutI,) -> I
Will change to something like this:
fnatomic_i_increment<I:Integer,constSCOPE:Scope,constSEMANTICS:Semantics>(ptr:&mutI,) -> I
And usage will be something like this:
atomic_i_increment::<_,{Scope::QueueFamily},{Semantics::NONE}>(..)
Adjacent to #605, I'm wondering whether it'd be acceptable to use
adt_const_paramsfor intrinsics like atomics.Then this signature:
Will change to something like this:
And usage will be something like this: