Should be able to emit rust-gpu spec consts for named constants in the values parameter, thus offloading the permutation of functions to the driver and reducing total permutation count.
Note that this will not eliminate the need for permutation, on account of ex. variant rust types needing to be compiled in statically.